--- deliantra/server/include/sproto.h 2006/09/29 19:28:43 1.21 +++ deliantra/server/include/sproto.h 2006/12/19 15:30:01 1.30 @@ -81,7 +81,8 @@ object *get_connection_rune(object *pl, short x, short y); object *get_msg_book(object *pl, short x, short y); object *get_wall(struct mapdef *map, int x, int y); -void fix_walls(struct mapdef *map, int x, int y); +void fix_walls(maptile *map, int x, int y); +void fix_walls_around(maptile *map, int x, int y); void apply_builder_floor(object *pl, object *material, short x, short y); void apply_builder_wall(object *pl, object *material, short x, short y); void apply_builder_item(object *pl, object *item, short x, short y); @@ -225,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); @@ -288,8 +289,6 @@ int command_save_overlay(object *op, char *params); int command_toggle_shout(object *op, char *params); int command_shutdown(object *op, char *params); -int command_goto(object *op, char *params); -int command_generate(object *op, char *params); int command_freeze(object *op, char *params); int command_arrest(object *op, char *params); int command_summon(object *op, char *params); @@ -445,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); @@ -528,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 *ns); archetype *get_player_archetype(archetype *at); object *get_nearest_player(object *mon); int path_to_player(object *mon, object *pl, unsigned mindiff); @@ -587,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, ...);