|
|
1 | /* arch.c */ |
|
|
2 | archetype *find_archetype (const char *name); |
1 | /* alchemy.c */ |
3 | /* alchemy.c */ |
|
|
4 | int need_identify (const object *obj); |
|
|
5 | int apply_shop_mat (object *shop_mat, object *op); |
|
|
6 | const char *cost_string_from_value(sint64 cost, int approx); |
2 | void pay_player (object *pl, uint64 amount); |
7 | void pay_player (object *pl, sint64 amount); |
3 | uint64 pay_player_arch (object *pl, const char *arch, uint64 amount); |
8 | sint64 pay_player_arch (object *pl, const char *arch, sint64 amount); |
4 | void attempt_do_alchemy(object *caster, object *cauldron); |
9 | void attempt_do_alchemy(object *caster, object *cauldron); |
5 | int content_recipe_value(object *op); |
10 | int content_recipe_value(object *op); |
6 | int numb_ob_inside(object *op); |
11 | int numb_ob_inside(object *op); |
7 | object *attempt_recipe(object *caster, object *cauldron, int ability, recipe *rp, int nbatches); |
12 | object *attempt_recipe(object *caster, object *cauldron, int ability, recipe *rp, int nbatches); |
8 | void adjust_product(object *item, int lvl, int yield); |
13 | void adjust_product(object *item, int lvl, int yield); |
… | |
… | |
431 | void destroy_object(object *op); |
436 | void destroy_object(object *op); |
432 | int save_player(object *op, int flag); |
437 | int save_player(object *op, int flag); |
433 | void copy_file(const char *filename, FILE *fpout); |
438 | void copy_file(const char *filename, FILE *fpout); |
434 | void check_login(object *op); |
439 | void check_login(object *op); |
435 | /* main.c */ |
440 | /* main.c */ |
|
|
441 | void server_tick (); |
436 | void version(object *op); |
442 | void version(object *op); |
437 | void info_keys(object *op); |
443 | void info_keys(object *op); |
438 | void start_info(object *op); |
444 | void start_info(object *op); |
439 | char *crypt_string(char *str, char *salt); |
445 | char *crypt_string(char *str, char *salt); |
440 | int check_password(char *typed, char *crypted); |
446 | int check_password(char *typed, char *crypted); |
… | |
… | |
448 | void process_players1(mapstruct *map); |
454 | void process_players1(mapstruct *map); |
449 | void process_players2(mapstruct *map); |
455 | void process_players2(mapstruct *map); |
450 | void process_events(mapstruct *map); |
456 | void process_events(mapstruct *map); |
451 | void clean_tmp_files(void); |
457 | void clean_tmp_files(void); |
452 | void cleanup(void); |
458 | void cleanup(void); |
453 | void leave(player *pl, int draw_exit); |
459 | void leave(player *pl,int draw_exit); |
454 | int forbid_play(void); |
460 | int forbid_play(void); |
455 | void do_specials(void); |
461 | void do_specials(void); |
456 | int main(int argc, char **argv); |
462 | int main(int argc, char **argv); |
457 | /* monster.c */ |
463 | /* monster.c */ |
458 | object *check_enemy(object *npc, rv_vector *rv); |
464 | object *check_enemy(object *npc, rv_vector *rv); |
… | |
… | |
587 | void plugins_display_list(object *op); |
593 | void plugins_display_list(object *op); |
588 | void *cfapi_system_find_animation(int *type, ...); |
594 | void *cfapi_system_find_animation(int *type, ...); |
589 | void *cfapi_system_strdup_local(int *type, ...); |
595 | void *cfapi_system_strdup_local(int *type, ...); |
590 | void *cfapi_system_register_global_event(int *type, ...); |
596 | void *cfapi_system_register_global_event(int *type, ...); |
591 | void *cfapi_system_unregister_global_event(int *type, ...); |
597 | void *cfapi_system_unregister_global_event(int *type, ...); |
592 | void *cfapi_system_add_string(int *type, ...); |
|
|
593 | void *cfapi_system_remove_string(int *type, ...); |
|
|
594 | void *cfapi_system_check_path(int *type, ...); |
598 | void *cfapi_system_check_path(int *type, ...); |
595 | void *cfapi_system_re_cmp(int *type, ...); |
599 | void *cfapi_system_re_cmp(int *type, ...); |
596 | void *cfapi_system_directory(int *type, ...); |
600 | void *cfapi_system_directory(int *type, ...); |
597 | void *cfapi_map_get_map(int *type, ...); |
601 | void *cfapi_map_get_map(int *type, ...); |
598 | void *cfapi_map_has_been_loaded(int *type, ...); |
602 | void *cfapi_map_has_been_loaded(int *type, ...); |
… | |
… | |
676 | int trap_see(object *op, object *trap); |
680 | int trap_see(object *op, object *trap); |
677 | int trap_show(object *trap, object *where); |
681 | int trap_show(object *trap, object *where); |
678 | int trap_disarm(object *disarmer, object *trap, int risk, object *skill); |
682 | int trap_disarm(object *disarmer, object *trap, int risk, object *skill); |
679 | void trap_adjust(object *trap, int difficulty); |
683 | void trap_adjust(object *trap, int difficulty); |
680 | /* shop.c */ |
684 | /* shop.c */ |
|
|
685 | int get_payment(object *pl); |
681 | uint64 query_cost(const object *tmp, object *who, int flag); |
686 | sint64 query_cost(const object *tmp, object *who, int flag); |
682 | const char *query_cost_string(const object *tmp, object *who, int flag); |
687 | const char *query_cost_string(const object *tmp, object *who, int flag); |
683 | uint64 query_money(const object *op); |
688 | sint64 query_money(const object *op); |
684 | int pay_for_amount(uint64 to_pay, object *pl); |
689 | int pay_for_amount(sint64 to_pay, object *pl); |
685 | int pay_for_item(object *op, object *pl); |
690 | int pay_for_item(object *op, object *pl); |
686 | int can_pay(object *pl); |
691 | int can_pay(object *pl); |
687 | int get_payment(object *pl, object *op); |
|
|
688 | void sell_item(object *op, object *pl); |
692 | void sell_item(object *op, object *pl); |
689 | double shopkeeper_approval(const mapstruct *map, const object *player); |
693 | double shopkeeper_approval(const mapstruct *map, const object *player); |
690 | int describe_shop(const object *op); |
694 | int describe_shop(const object *op); |
691 | 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); |
692 | /* skills.c */ |
698 | /* skills.c */ |
693 | int steal(object *op, int dir, object *skill); |
699 | int steal(object *op, int dir, object *skill); |
694 | int pick_lock(object *pl, int dir, object *skill); |
700 | int pick_lock(object *pl, int dir, object *skill); |
695 | int hide(object *op, object *skill); |
701 | int hide(object *op, object *skill); |
696 | int jump(object *pl, int dir, object *skill); |
702 | int jump(object *pl, int dir, object *skill); |