version 1.28 | | version 1.29 |
---|
| | |
* This file was automatically generated by version 1.7 of cextract. | | * This file was automatically generated by version 1.7 of cextract. |
* Manual editing not recommended. | | * Manual editing not recommended. |
* | | * |
* Created: Thu Feb 8 23:43:38 2001 | | * Created: Sat Feb 24 11:41:13 2001 |
*/ | | */ |
#ifndef __CEXTRACT__ | | #ifndef __CEXTRACT__ |
#ifdef __STDC__ | | #ifdef __STDC__ |
| | |
extern int command_motd ( object *op, char *params ); | | extern int command_motd ( object *op, char *params ); |
extern int command_bug ( object *op, char *params ); | | extern int command_bug ( object *op, char *params ); |
extern void malloc_info ( object *op ); | | extern void malloc_info ( object *op ); |
extern int count_pending ( mapstruct *map ); | | |
extern void current_map_info ( object *op ); | | extern void current_map_info ( object *op ); |
extern int command_who ( object *op, char *params ); | | extern int command_who ( object *op, char *params ); |
extern int command_malloc ( object *op, char *params ); | | extern int command_malloc ( object *op, char *params ); |
| | |
extern void start_info ( object *op ); | | extern void start_info ( object *op ); |
extern char *crypt_string ( char *str, char *salt ); | | extern char *crypt_string ( char *str, char *salt ); |
extern int check_password ( char *typed, char *crypted ); | | extern int check_password ( char *typed, char *crypted ); |
| | extern void leave_map ( object *op ); |
extern void set_map_timeout ( mapstruct *oldmap ); | | extern void set_map_timeout ( mapstruct *oldmap ); |
extern char *clean_path ( char *file ); | | extern char *clean_path ( char *file ); |
extern char *unclean_path ( char *src ); | | extern char *unclean_path ( char *src ); |
| | |
extern int try_fit ( object *op, int x, int y ); | | extern int try_fit ( object *op, int x, int y ); |
extern int roll_ob ( object *op, int dir, object *pusher ); | | extern int roll_ob ( object *op, int dir, object *pusher ); |
extern int push_ob ( object *who, int dir, object *pusher ); | | extern int push_ob ( object *who, int dir, object *pusher ); |
extern void add_pending_object ( object *ob, mapstruct *map ); | | |
extern void enter_pending_objects ( mapstruct *map ); | | |
extern object *get_pet_enemy ( object * pet ); | | extern object *get_pet_enemy ( object * pet ); |
extern void terminate_all_pets ( object *owner ); | | extern void terminate_all_pets ( object *owner ); |
extern void remove_all_pets ( mapstruct *map ); | | extern void remove_all_pets ( mapstruct *map ); |
| | |
extern int playername_ok ( char *cp ); | | extern int playername_ok ( char *cp ); |
extern int add_player ( NewSocket *ns ); | | extern int add_player ( NewSocket *ns ); |
extern archetype *get_player_archetype ( archetype* at ); | | extern archetype *get_player_archetype ( archetype* at ); |
extern object *get_player ( player *p, mapstruct *m ); | | |
extern object *get_nearest_player ( object *mon ); | | extern object *get_nearest_player ( object *mon ); |
extern int path_to_player ( object *mon, object *pl, int mindiff ); | | extern int path_to_player ( object *mon, object *pl, int mindiff ); |
extern void give_initial_items ( object *pl, treasurelist *items ); | | extern void give_initial_items ( object *pl, treasurelist *items ); |