ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/sproto.h
(Generate patch)

Comparing deliantra/server/include/sproto.h (file contents):
Revision 1.111 by root, Tue Nov 10 01:20:41 2009 UTC vs.
Revision 1.115 by root, Fri Mar 26 01:04:44 2010 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * 5 *
6 * Deliantra is free software: you can redistribute it and/or modify it under 6 * Deliantra is free software: you can redistribute it and/or modify it under
7 * the terms of the Affero GNU General Public License as published by the 7 * the terms of the Affero GNU General Public License as published by the
8 * Free Software Foundation, either version 3 of the License, or (at your 8 * Free Software Foundation, either version 3 of the License, or (at your
9 * option) any later version. 9 * option) any later version.
54int convert_item (object *item, object *converter); 54int convert_item (object *item, object *converter);
55 55
56/* attack.c */ 56/* attack.c */
57void cancellation (object *op); 57void cancellation (object *op);
58void save_throw_object (object *op, int type, object *originator); 58void save_throw_object (object *op, int type, object *originator);
59int hit_map (object *op, int dir, int type, int full_hit); 59int hit_map (object *op, int dir, uint32_t type, int full_hit);
60int attack_ob (object *op, object *hitter); 60int attack_ob (object *op, object *hitter);
61object *hit_with_arrow (object *op, object *victim); 61object *hit_with_arrow (object *op, object *victim);
62int hit_player_attacktype (object *op, object *hitter, int dam, uint32 attacknum, int magic); 62int hit_player_attacktype (object *op, object *hitter, int dam, uint32_t attacknum, int magic);
63int kill_object (object *op, int dam, object *hitter, int type); 63int kill_object (object *op, int dam, object *hitter, int type);
64int friendly_fire (object *op, object *hitter); 64int friendly_fire (object *op, object *hitter);
65int hit_player (object *op, int dam, object *hitter, int type, int full_hit); 65int hit_player (object *op, int dam, object *hitter, uint32_t type, int full_hit);
66void confuse_player (object *op, object *hitter, int dam); 66void confuse_player (object *op, object *hitter, int dam);
67void blind_player (object *op, object *hitter, int dam); 67void blind_player (object *op, object *hitter, int dam);
68void paralyze_player (object *op, object *hitter, int dam); 68void paralyze_player (object *op, object *hitter, int dam);
69 69
70/* build_map.c */ 70/* build_map.c */
145void examine (object *op, object *tmp); 145void examine (object *op, object *tmp);
146int command_pickup (object *op, char *params); 146int command_pickup (object *op, char *params);
147void set_pickup_mode (object *op, int i); 147void set_pickup_mode (object *op, int i);
148int command_search_items (object *op, char *params); 148int command_search_items (object *op, char *params);
149int command_rename_item (object *op, char *params); 149int command_rename_item (object *op, char *params);
150int command_unlock (object *op, char *params);
151int command_lock (object *op, char *params);
150 152
151/* c_party.c */ 153/* c_party.c */
152partylist *get_firstparty (); 154partylist *get_firstparty ();
153void obsolete_parties (); 155void obsolete_parties ();
154void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); 156void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp);
274int can_detect_enemy (object *op, object *enemy, rv_vector *rv); 276int can_detect_enemy (object *op, object *enemy, rv_vector *rv);
275int stand_in_light (object *op); 277int stand_in_light (object *op);
276int can_see_enemy (object *op, object *enemy); 278int can_see_enemy (object *op, object *enemy);
277 279
278/* move.c */ 280/* move.c */
279int move_object (object *op, int dir);
280int move_ob (object *op, int dir, object *originator);
281int transfer_ob (object *op, int x, int y, int randomly, object *originator); 281int transfer_ob (object *op, int x, int y, int randomly, object *originator);
282int teleport (object *teleporter, uint8 tele_type, object *user); 282int teleport (object *teleporter, uint8 tele_type, object *user);
283void recursive_roll (object *op, int dir, object *pusher); 283void recursive_roll (object *op, int dir, object *pusher);
284int push_ob (object *who, int dir, object *pusher); 284int push_ob (object *who, int dir, object *pusher);
285 285

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines