1 | /* alchemy.c */ |
1 | /* alchemy.c */ |
|
|
2 | int need_identify (const object *obj); |
|
|
3 | int apply_shop_mat (object *shop_mat, object *op); |
2 | const char *cost_string_from_value(uint64 cost, int approx); |
4 | const char *cost_string_from_value(uint64 cost, int approx); |
3 | void pay_player (object *pl, uint64 amount); |
5 | void pay_player (object *pl, uint64 amount); |
4 | uint64 pay_player_arch (object *pl, const char *arch, uint64 amount); |
6 | uint64 pay_player_arch (object *pl, const char *arch, uint64 amount); |
5 | void attempt_do_alchemy(object *caster, object *cauldron); |
7 | void attempt_do_alchemy(object *caster, object *cauldron); |
6 | int content_recipe_value(object *op); |
8 | int content_recipe_value(object *op); |
… | |
… | |
432 | void destroy_object(object *op); |
434 | void destroy_object(object *op); |
433 | int save_player(object *op, int flag); |
435 | int save_player(object *op, int flag); |
434 | void copy_file(const char *filename, FILE *fpout); |
436 | void copy_file(const char *filename, FILE *fpout); |
435 | void check_login(object *op); |
437 | void check_login(object *op); |
436 | /* main.c */ |
438 | /* main.c */ |
|
|
439 | void server_tick (); |
437 | void version(object *op); |
440 | void version(object *op); |
438 | void info_keys(object *op); |
441 | void info_keys(object *op); |
439 | void start_info(object *op); |
442 | void start_info(object *op); |
440 | char *crypt_string(char *str, char *salt); |
443 | char *crypt_string(char *str, char *salt); |
441 | int check_password(char *typed, char *crypted); |
444 | int check_password(char *typed, char *crypted); |
… | |
… | |
449 | void process_players1(mapstruct *map); |
452 | void process_players1(mapstruct *map); |
450 | void process_players2(mapstruct *map); |
453 | void process_players2(mapstruct *map); |
451 | void process_events(mapstruct *map); |
454 | void process_events(mapstruct *map); |
452 | void clean_tmp_files(void); |
455 | void clean_tmp_files(void); |
453 | void cleanup(void); |
456 | void cleanup(void); |
454 | void leave(player *pl, int draw_exit); |
457 | void leave(player *pl,int draw_exit); |
455 | int forbid_play(void); |
458 | int forbid_play(void); |
456 | void do_specials(void); |
459 | void do_specials(void); |
457 | int main(int argc, char **argv); |
460 | int main(int argc, char **argv); |
458 | /* monster.c */ |
461 | /* monster.c */ |
459 | object *check_enemy(object *npc, rv_vector *rv); |
462 | object *check_enemy(object *npc, rv_vector *rv); |
… | |
… | |
688 | int get_payment(object *pl, object *op); |
691 | int get_payment(object *pl, object *op); |
689 | void sell_item(object *op, object *pl); |
692 | void sell_item(object *op, object *pl); |
690 | double shopkeeper_approval(const mapstruct *map, const object *player); |
693 | double shopkeeper_approval(const mapstruct *map, const object *player); |
691 | int describe_shop(const object *op); |
694 | int describe_shop(const object *op); |
692 | void shop_listing(object *op); |
695 | void shop_listing(object *op); |
|
|
696 | bool is_in_shop (object *o); |
|
|
697 | bool is_in_shop (mapstruct *map, int x, int y); |
693 | /* skills.c */ |
698 | /* skills.c */ |
694 | int steal(object *op, int dir, object *skill); |
699 | int steal(object *op, int dir, object *skill); |
695 | int pick_lock(object *pl, int dir, object *skill); |
700 | int pick_lock(object *pl, int dir, object *skill); |
696 | int hide(object *op, object *skill); |
701 | int hide(object *op, object *skill); |
697 | int jump(object *pl, int dir, object *skill); |
702 | int jump(object *pl, int dir, object *skill); |