… | |
… | |
175 | int sack_can_hold (object *pl, object *sack, object *op, uint32 nrof); |
175 | int sack_can_hold (object *pl, object *sack, object *op, uint32 nrof); |
176 | void pick_up (object *op, object *alt); |
176 | void pick_up (object *op, object *alt); |
177 | int command_take (object *op, char *params); |
177 | int command_take (object *op, char *params); |
178 | void put_object_in_sack (object *op, object *sack, object *tmp, uint32 nrof); |
178 | void put_object_in_sack (object *op, object *sack, object *tmp, uint32 nrof); |
179 | void drop_object (object *op, object *tmp, uint32 nrof); |
179 | void drop_object (object *op, object *tmp, uint32 nrof); |
180 | void update_after_inventory_change (object *op); |
|
|
181 | void drop (object *op, object *tmp); |
180 | void drop (object *op, object *tmp); |
182 | int command_dropall (object *op, char *params); |
181 | int command_dropall (object *op, char *params); |
183 | int command_drop (object *op, char *params); |
182 | int command_drop (object *op, char *params); |
184 | int command_examine (object *op, char *params); |
183 | int command_examine (object *op, char *params); |
185 | object *find_marked_object (object *op); |
184 | object *find_marked_object (object *op); |
… | |
… | |
196 | void remove_party (partylist *target_party); |
195 | void remove_party (partylist *target_party); |
197 | void obsolete_parties (void); |
196 | void obsolete_parties (void); |
198 | void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); |
197 | void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); |
199 | int confirm_party_password (object *op); |
198 | int confirm_party_password (object *op); |
200 | void receive_party_password (object *op, char k); |
199 | void receive_party_password (object *op, char k); |
201 | void send_party_message (object *op, char *msg); |
200 | void send_party_message (object *op, const char *msg); |
202 | int command_gsay (object *op, char *params); |
201 | int command_gsay (object *op, char *params); |
203 | int command_party (object *op, char *params); |
202 | int command_party (object *op, char *params); |
204 | |
203 | |
205 | /* c_range.c */ |
204 | /* c_range.c */ |
206 | int command_invoke (object *op, char *params); |
205 | int command_invoke (object *op, char *params); |
… | |
… | |
346 | /* login.c */ |
345 | /* login.c */ |
347 | void delete_character (const char *name); |
346 | void delete_character (const char *name); |
348 | int verify_player (const char *name, char *password); |
347 | int verify_player (const char *name, char *password); |
349 | int check_name (player *me, const char *name); |
348 | int check_name (player *me, const char *name); |
350 | int create_savedir_if_needed (char *savedir); |
349 | int create_savedir_if_needed (char *savedir); |
351 | void destroy_object (object *op); |
|
|
352 | void copy_file (const char *filename, FILE *fpout); |
350 | void copy_file (const char *filename, FILE *fpout); |
353 | |
351 | |
354 | /* main.c */ |
352 | /* main.c */ |
355 | void server_tick (); |
353 | void server_tick (); |
356 | void version (object *op); |
354 | void version (object *op); |
… | |
… | |
471 | object *find_key (object *pl, object *container, object *door); |
469 | object *find_key (object *pl, object *container, object *door); |
472 | bool move_player_attack (object *op, int dir); |
470 | bool move_player_attack (object *op, int dir); |
473 | bool move_player (object *op, int dir); |
471 | bool move_player (object *op, int dir); |
474 | bool handle_newcs_player (object *op); |
472 | bool handle_newcs_player (object *op); |
475 | int save_life (object *op); |
473 | int save_life (object *op); |
476 | char *gravestone_text (object *op); |
474 | const char *gravestone_text (object *op); |
477 | void do_some_living (object *op); |
475 | void do_some_living (object *op); |
478 | void kill_player (object *op); |
476 | void kill_player (object *op); |
479 | void loot_object (object *op); |
477 | void loot_object (object *op); |
480 | void fix_weight (void); |
478 | void fix_weight (void); |
481 | void fix_luck (void); |
479 | void fix_luck (void); |
… | |
… | |
515 | const char *query_cost_string (const object *tmp, object *who, int flag); |
513 | const char *query_cost_string (const object *tmp, object *who, int flag); |
516 | sint64 query_money (const object *op); |
514 | sint64 query_money (const object *op); |
517 | int pay_for_amount (sint64 to_pay, object *pl); |
515 | int pay_for_amount (sint64 to_pay, object *pl); |
518 | int pay_for_item (object *op, object *pl); |
516 | int pay_for_item (object *op, object *pl); |
519 | int can_pay (object *pl); |
517 | int can_pay (object *pl); |
520 | void sell_item (object *op, object *pl); |
518 | bool sell_item (object *op, object *pl); |
521 | double shopkeeper_approval (const maptile *map, const object *player); |
519 | double shopkeeper_approval (const maptile *map, const object *player); |
522 | int describe_shop (const object *op); |
520 | int describe_shop (const object *op); |
523 | void shop_listing (object *sign, object *op); |
521 | void shop_listing (object *sign, object *op); |
524 | bool is_in_shop (object *o); |
522 | bool is_in_shop (object *o); |
525 | bool is_in_shop (maptile *map, int x, int y); |
523 | bool is_in_shop (maptile *map, int x, int y); |
… | |
… | |
616 | int write_mark (object *op, object *spell, const char *msg); |
614 | int write_mark (object *op, object *spell, const char *msg); |
617 | |
615 | |
618 | /* spell_util.c */ |
616 | /* spell_util.c */ |
619 | object *find_random_spell_in_ob (object *ob, const char *skill); |
617 | object *find_random_spell_in_ob (object *ob, const char *skill); |
620 | void set_spell_skill (object *op, object *caster, object *spob, object *dest); |
618 | void set_spell_skill (object *op, object *caster, object *spob, object *dest); |
621 | void init_spells (void); |
|
|
622 | void dump_spells (void); |
|
|
623 | void spell_effect (object *spob, int x, int y, maptile *map, object *originator); |
619 | void spell_effect (object *spob, int x, int y, maptile *map, object *originator); |
624 | int min_casting_level (object *caster, object *spell); |
620 | int min_casting_level (object *caster, object *spell); |
625 | int caster_level (object *caster, object *spell); |
621 | int caster_level (object *caster, object *spell); |
626 | sint16 SP_level_spellpoint_cost (object *caster, object *spell, int flags); |
622 | sint16 SP_level_spellpoint_cost (object *caster, object *spell, int flags); |
627 | int SP_level_dam_adjust (object *caster, object *spob); |
623 | int SP_level_dam_adjust (object *caster, object *spob); |