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 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * |
5 | * |
6 | * Deliantra is free software: you can redistribute it and/or modify |
6 | * Deliantra is free software: you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by |
7 | * it under the terms of the GNU General Public License as published by |
8 | * the Free Software Foundation, either version 3 of the License, or |
8 | * the Free Software Foundation, either version 3 of the License, or |
9 | * (at your option) any later version. |
9 | * (at your option) any later version. |
… | |
… | |
132 | int command_version (object *op, char *params); |
132 | int command_version (object *op, char *params); |
133 | void bug_report (const char *reportstring); |
133 | void bug_report (const char *reportstring); |
134 | int command_statistics (object *pl, char *params); |
134 | int command_statistics (object *pl, char *params); |
135 | int command_fix_me (object *op, char *params); |
135 | int command_fix_me (object *op, char *params); |
136 | int command_players (object *op, char *paramss); |
136 | int command_players (object *op, char *paramss); |
137 | int command_logs (object *op, char *params); |
|
|
138 | int command_bowmode (object *op, char *params); |
137 | int command_bowmode (object *op, char *params); |
139 | int command_showpets (object *op, char *params); |
138 | int command_showpets (object *op, char *params); |
140 | int command_resistances (object *op, char *params); |
139 | int command_resistances (object *op, char *params); |
141 | int command_help (object *op, char *params); |
140 | int command_help (object *op, char *params); |
142 | int onoff_value (const char *line); |
141 | int onoff_value (const char *line); |
… | |
… | |
195 | void remove_party (partylist *target_party); |
194 | void remove_party (partylist *target_party); |
196 | void obsolete_parties (void); |
195 | void obsolete_parties (void); |
197 | void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); |
196 | void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); |
198 | int confirm_party_password (object *op); |
197 | int confirm_party_password (object *op); |
199 | void receive_party_password (object *op, char k); |
198 | void receive_party_password (object *op, char k); |
200 | void send_party_message (object *op, char *msg); |
199 | void send_party_message (object *op, const char *msg); |
201 | int command_gsay (object *op, char *params); |
200 | int command_gsay (object *op, char *params); |
202 | int command_party (object *op, char *params); |
201 | int command_party (object *op, char *params); |
203 | |
202 | |
204 | /* c_range.c */ |
203 | /* c_range.c */ |
205 | int command_invoke (object *op, char *params); |
204 | int command_invoke (object *op, char *params); |
… | |
… | |
469 | object *find_key (object *pl, object *container, object *door); |
468 | object *find_key (object *pl, object *container, object *door); |
470 | bool move_player_attack (object *op, int dir); |
469 | bool move_player_attack (object *op, int dir); |
471 | bool move_player (object *op, int dir); |
470 | bool move_player (object *op, int dir); |
472 | bool handle_newcs_player (object *op); |
471 | bool handle_newcs_player (object *op); |
473 | int save_life (object *op); |
472 | int save_life (object *op); |
474 | char *gravestone_text (object *op); |
473 | const char *gravestone_text (object *op); |
475 | void do_some_living (object *op); |
474 | void do_some_living (object *op); |
476 | void kill_player (object *op); |
475 | void kill_player (object *op); |
477 | void loot_object (object *op); |
476 | void loot_object (object *op); |
478 | void fix_weight (void); |
477 | void fix_weight (void); |
479 | void fix_luck (void); |
478 | void fix_luck (void); |
… | |
… | |
513 | const char *query_cost_string (const object *tmp, object *who, int flag); |
512 | const char *query_cost_string (const object *tmp, object *who, int flag); |
514 | sint64 query_money (const object *op); |
513 | sint64 query_money (const object *op); |
515 | int pay_for_amount (sint64 to_pay, object *pl); |
514 | int pay_for_amount (sint64 to_pay, object *pl); |
516 | int pay_for_item (object *op, object *pl); |
515 | int pay_for_item (object *op, object *pl); |
517 | int can_pay (object *pl); |
516 | int can_pay (object *pl); |
518 | void sell_item (object *op, object *pl); |
517 | bool sell_item (object *op, object *pl); |
519 | double shopkeeper_approval (const maptile *map, const object *player); |
518 | double shopkeeper_approval (const maptile *map, const object *player); |
520 | int describe_shop (const object *op); |
519 | int describe_shop (const object *op); |
521 | void shop_listing (object *sign, object *op); |
520 | void shop_listing (object *sign, object *op); |
522 | bool is_in_shop (object *o); |
521 | bool is_in_shop (object *o); |
523 | bool is_in_shop (maptile *map, int x, int y); |
522 | bool is_in_shop (maptile *map, int x, int y); |