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. |
… | |
… | |
54 | int convert_item (object *item, object *converter); |
54 | int convert_item (object *item, object *converter); |
55 | |
55 | |
56 | /* attack.c */ |
56 | /* attack.c */ |
57 | void cancellation (object *op); |
57 | void cancellation (object *op); |
58 | void save_throw_object (object *op, int type, object *originator); |
58 | void save_throw_object (object *op, int type, object *originator); |
59 | int hit_map (object *op, int dir, int type, int full_hit); |
59 | int hit_map (object *op, int dir, uint32_t type, int full_hit); |
60 | int attack_ob (object *op, object *hitter); |
60 | int attack_ob (object *op, object *hitter); |
61 | object *hit_with_arrow (object *op, object *victim); |
61 | object *hit_with_arrow (object *op, object *victim); |
62 | int hit_player_attacktype (object *op, object *hitter, int dam, uint32 attacknum, int magic); |
62 | int hit_player_attacktype (object *op, object *hitter, int dam, uint32_t attacknum, int magic); |
63 | int kill_object (object *op, int dam, object *hitter, int type); |
63 | int kill_object (object *op, int dam, object *hitter, int type); |
64 | int friendly_fire (object *op, object *hitter); |
64 | int friendly_fire (object *op, object *hitter); |
65 | int hit_player (object *op, int dam, object *hitter, int type, int full_hit); |
65 | int hit_player (object *op, int dam, object *hitter, uint32_t type, int full_hit); |
66 | void confuse_player (object *op, object *hitter, int dam); |
66 | void confuse_player (object *op, object *hitter, int dam); |
67 | void blind_player (object *op, object *hitter, int dam); |
67 | void blind_player (object *op, object *hitter, int dam); |
68 | void paralyze_player (object *op, object *hitter, int dam); |
68 | void paralyze_player (object *op, object *hitter, int dam); |
69 | |
69 | |
70 | /* build_map.c */ |
70 | /* build_map.c */ |
… | |
… | |
145 | void examine (object *op, object *tmp); |
145 | void examine (object *op, object *tmp); |
146 | int command_pickup (object *op, char *params); |
146 | int command_pickup (object *op, char *params); |
147 | void set_pickup_mode (object *op, int i); |
147 | void set_pickup_mode (object *op, int i); |
148 | int command_search_items (object *op, char *params); |
148 | int command_search_items (object *op, char *params); |
149 | int command_rename_item (object *op, char *params); |
149 | int command_rename_item (object *op, char *params); |
|
|
150 | int command_unlock (object *op, char *params); |
|
|
151 | int command_lock (object *op, char *params); |
150 | |
152 | |
151 | /* c_party.c */ |
153 | /* c_party.c */ |
152 | partylist *get_firstparty (); |
154 | partylist *get_firstparty (); |
153 | void obsolete_parties (); |
155 | void obsolete_parties (); |
154 | void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); |
156 | void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); |
… | |
… | |
274 | int can_detect_enemy (object *op, object *enemy, rv_vector *rv); |
276 | int can_detect_enemy (object *op, object *enemy, rv_vector *rv); |
275 | int stand_in_light (object *op); |
277 | int stand_in_light (object *op); |
276 | int can_see_enemy (object *op, object *enemy); |
278 | int can_see_enemy (object *op, object *enemy); |
277 | |
279 | |
278 | /* move.c */ |
280 | /* move.c */ |
279 | int move_object (object *op, int dir); |
|
|
280 | int move_ob (object *op, int dir, object *originator); |
|
|
281 | int transfer_ob (object *op, int x, int y, int randomly, object *originator); |
281 | int transfer_ob (object *op, int x, int y, int randomly, object *originator); |
282 | int teleport (object *teleporter, uint8 tele_type, object *user); |
282 | int teleport (object *teleporter, uint8 tele_type, object *user); |
283 | void recursive_roll (object *op, int dir, object *pusher); |
283 | void recursive_roll (object *op, int dir, object *pusher); |
284 | int push_ob (object *who, int dir, object *pusher); |
284 | int push_ob (object *who, int dir, object *pusher); |
285 | |
285 | |