version 1.166 | | version 1.167 |
---|
| | |
int save_player(object *op, int flag); | | int save_player(object *op, int flag); |
void copy_file(const char *filename, FILE *fpout); | | void copy_file(const char *filename, FILE *fpout); |
void check_login(object *op); | | void check_login(object *op); |
/* main.c */ | | |
void version(object *op); | | |
void info_keys(object *op); | | |
void start_info(object *op); | | |
char *crypt_string(char *str, char *salt); | | |
int check_password(char *typed, char *crypted); | | |
void enter_player_savebed(object *op); | | |
void leave_map(object *op); | | |
void set_map_timeout(mapstruct *oldmap); | | |
char *clean_path(const char *file); | | |
char *unclean_path(const char *src); | | |
void enter_exit(object *op, object *exit_ob); | | |
void process_active_maps(void); | | |
void process_players1(mapstruct *map); | | |
void process_players2(mapstruct *map); | | |
void process_events(mapstruct *map); | | |
void clean_tmp_files(void); | | |
void cleanup(void); | | |
void leave(player *pl, int draw_exit); | | |
int forbid_play(void); | | |
void do_specials(void); | | |
int main(int argc, char **argv); | | |
/* monster.c */ | | /* monster.c */ |
object *check_enemy(object *npc, rv_vector *rv); | | object *check_enemy(object *npc, rv_vector *rv); |
object *find_nearest_living_creature(object *npc); | | object *find_nearest_living_creature(object *npc); |
| | |
int trap_disarm(object *disarmer, object *trap, int risk, object *skill); | | int trap_disarm(object *disarmer, object *trap, int risk, object *skill); |
void trap_adjust(object *trap, int difficulty); | | void trap_adjust(object *trap, int difficulty); |
/* shop.c */ | | /* shop.c */ |
double shopkeeper_approval(const mapstruct *map, const object *player); | | |
uint64 query_cost(const object *tmp, object *who, int flag); | | uint64 query_cost(const object *tmp, object *who, int flag); |
const char *query_cost_string(const object *tmp, object *who, int flag); | | const char *query_cost_string(const object *tmp, object *who, int flag); |
uint64 query_money(const object *op); | | uint64 query_money(const object *op); |
| | |
int can_pay(object *pl); | | int can_pay(object *pl); |
int get_payment(object *pl, object *op); | | int get_payment(object *pl, object *op); |
void sell_item(object *op, object *pl); | | void sell_item(object *op, object *pl); |
| | double shopkeeper_approval(const mapstruct *map, const object *player); |
int describe_shop(const object *op); | | int describe_shop(const object *op); |
void shop_listing(object *op); | | void shop_listing(object *op); |
/* skills.c */ | | /* skills.c */ |
| | |
int worldmap_to_weathermap(int x, int y, int *wx, int *wy, mapstruct *m); | | int worldmap_to_weathermap(int x, int y, int *wx, int *wy, mapstruct *m); |
int real_world_temperature(int x, int y, mapstruct *m); | | int real_world_temperature(int x, int y, mapstruct *m); |
int similar_direction(int a, int b); | | int similar_direction(int a, int b); |
| | /* main.c */ |
| | void version(object *op); |
| | void info_keys(object *op); |
| | void start_info(object *op); |
| | char *crypt_string(char *str, char *salt); |
| | int check_password(char *typed, char *crypted); |
| | void enter_player_savebed(object *op); |
| | void leave_map(object *op); |
| | void set_map_timeout(mapstruct *oldmap); |
| | char *clean_path(const char *file); |
| | char *unclean_path(const char *src); |
| | void enter_exit(object *op, object *exit_ob); |
| | void process_active_maps(void); |
| | void process_players1(mapstruct *map); |
| | void process_players2(mapstruct *map); |
| | void process_events(mapstruct *map); |
| | void clean_tmp_files(void); |
| | void cleanup(void); |
| | void leave(player *pl, int draw_exit); |
| | int forbid_play(void); |
| | void do_specials(void); |
| | int main(int argc, char **argv); |