--- deliantra/server/include/sproto.h 2006/12/04 15:15:34 1.23 +++ deliantra/server/include/sproto.h 2006/12/15 04:21:28 1.27 @@ -226,7 +226,7 @@ int command_west(object *op, char *params); int command_stay(object *op, char *params); /* c_new.c */ -int execute_newserver_command(object *pl, char *command); +void execute_newserver_command(object *pl, char *command); int command_run(object *op, char *params); int command_run_stop(object *op, char *params); int command_fire(object *op, char *params); @@ -444,10 +444,7 @@ 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(maptile *map); -void process_players2(maptile *map); -void process_events(maptile *map); +void process_events(); void clean_tmp_files(void); void cleanup(void); void leave(player *pl,int draw_exit); @@ -527,7 +524,7 @@ void send_rules(const object *op); void send_news(const object *op); int playername_ok(const char *cp); -int add_player(NewSocket *ns); +int add_player(client_socket *ns); archetype *get_player_archetype(archetype *at); object *get_nearest_player(object *mon); int path_to_player(object *mon, object *pl, unsigned mindiff); @@ -586,7 +583,7 @@ crossfire_plugin *plugins_find_plugin(const char *id); void plugins_display_list(object *op); void *cfapi_system_find_animation(int *type, ...); -void *cfapi_system_strdup_local(int *type, ...); +void *cfapi_system_strdup(int *type, ...); void *cfapi_system_register_global_event(int *type, ...); void *cfapi_system_unregister_global_event(int *type, ...); void *cfapi_system_check_path(int *type, ...);