ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/sproto.h
(Generate patch)

Comparing deliantra/server/include/sproto.h (file contents):
Revision 1.22 by root, Sun Oct 1 23:44:36 2006 UTC vs.
Revision 1.29 by elmex, Tue Dec 19 13:41:45 2006 UTC

25int check_improve_weapon(object *op, object *tmp); 25int check_improve_weapon(object *op, object *tmp);
26int improve_armour(object *op, object *improver, object *armour); 26int improve_armour(object *op, object *improver, object *armour);
27int convert_item(object *item, object *converter); 27int convert_item(object *item, object *converter);
28int apply_container(object *op, object *sack); 28int apply_container(object *op, object *sack);
29int esrv_apply_container(object *op, object *sack); 29int esrv_apply_container(object *op, object *sack);
30void move_apply(object *trap, object *victim, object *originator); 30void move_apply(object *trap, object *victim, object *originator, bool move_on = true);
31void do_learn_spell(object *op, object *spell, int special_prayer); 31void do_learn_spell(object *op, object *spell, int special_prayer);
32void do_forget_spell(object *op, const char *spell); 32void do_forget_spell(object *op, const char *spell);
33void apply_scroll(object *op, object *tmp, int dir); 33void apply_scroll(object *op, object *tmp, int dir);
34int dragon_eat_flesh(object *op, object *meal); 34int dragon_eat_flesh(object *op, object *meal);
35void apply_poison(object *op, object *tmp); 35void apply_poison(object *op, object *tmp);
79int find_unused_connected_value(struct mapdef *map); 79int find_unused_connected_value(struct mapdef *map);
80int find_or_create_connection_for_map(object *pl, short x, short y, object *rune); 80int find_or_create_connection_for_map(object *pl, short x, short y, object *rune);
81object *get_connection_rune(object *pl, short x, short y); 81object *get_connection_rune(object *pl, short x, short y);
82object *get_msg_book(object *pl, short x, short y); 82object *get_msg_book(object *pl, short x, short y);
83object *get_wall(struct mapdef *map, int x, int y); 83object *get_wall(struct mapdef *map, int x, int y);
84void fix_walls(struct mapdef *map, int x, int y); 84void fix_walls(maptile *map, int x, int y);
85void fix_walls_around(maptile *map, int x, int y);
85void apply_builder_floor(object *pl, object *material, short x, short y); 86void apply_builder_floor(object *pl, object *material, short x, short y);
86void apply_builder_wall(object *pl, object *material, short x, short y); 87void apply_builder_wall(object *pl, object *material, short x, short y);
87void apply_builder_item(object *pl, object *item, short x, short y); 88void apply_builder_item(object *pl, object *item, short x, short y);
88void apply_builder_remove(object *pl, int dir); 89void apply_builder_remove(object *pl, int dir);
89void apply_map_builder(object *pl, int dir); 90void apply_map_builder(object *pl, int dir);
223int command_southeast(object *op, char *params); 224int command_southeast(object *op, char *params);
224int command_southwest(object *op, char *params); 225int command_southwest(object *op, char *params);
225int command_west(object *op, char *params); 226int command_west(object *op, char *params);
226int command_stay(object *op, char *params); 227int command_stay(object *op, char *params);
227/* c_new.c */ 228/* c_new.c */
228int execute_newserver_command(object *pl, char *command); 229void execute_newserver_command(object *pl, char *command);
229int command_run(object *op, char *params); 230int command_run(object *op, char *params);
230int command_run_stop(object *op, char *params); 231int command_run_stop(object *op, char *params);
231int command_fire(object *op, char *params); 232int command_fire(object *op, char *params);
232int command_fire_stop(object *op, char *params); 233int command_fire_stop(object *op, char *params);
233int bad_command(object *op, char *params); 234int bad_command(object *op, char *params);
441void leave_map(object *op); 442void leave_map(object *op);
442void set_map_timeout(maptile *oldmap); 443void set_map_timeout(maptile *oldmap);
443char *clean_path(const char *file); 444char *clean_path(const char *file);
444char *unclean_path(const char *src); 445char *unclean_path(const char *src);
445void enter_exit(object *op, object *exit_ob); 446void enter_exit(object *op, object *exit_ob);
446void process_active_maps(void);
447void process_players1(maptile *map);
448void process_players2(maptile *map);
449void process_events(maptile *map); 447void process_events();
450void clean_tmp_files(void); 448void clean_tmp_files(void);
451void cleanup(void); 449void cleanup(void);
452void leave(player *pl,int draw_exit); 450void leave(player *pl,int draw_exit);
453int forbid_play(void); 451int forbid_play(void);
454void do_specials(void); 452void do_specials(void);
524player *find_player_partial_name(const char *plname); 522player *find_player_partial_name(const char *plname);
525void display_motd(const object *op); 523void display_motd(const object *op);
526void send_rules(const object *op); 524void send_rules(const object *op);
527void send_news(const object *op); 525void send_news(const object *op);
528int playername_ok(const char *cp); 526int playername_ok(const char *cp);
529int add_player(NewSocket *ns); 527int add_player(client *ns);
530archetype *get_player_archetype(archetype *at); 528archetype *get_player_archetype(archetype *at);
531object *get_nearest_player(object *mon); 529object *get_nearest_player(object *mon);
532int path_to_player(object *mon, object *pl, unsigned mindiff); 530int path_to_player(object *mon, object *pl, unsigned mindiff);
533void give_initial_items(object *pl, treasurelist *items); 531void give_initial_items(object *pl, treasurelist *items);
534void get_name(object *op); 532void get_name(object *op);
583void *cfapi_get_hooks(int *type, ...); 581void *cfapi_get_hooks(int *type, ...);
584int plugins_remove_plugin(const char *id); 582int plugins_remove_plugin(const char *id);
585crossfire_plugin *plugins_find_plugin(const char *id); 583crossfire_plugin *plugins_find_plugin(const char *id);
586void plugins_display_list(object *op); 584void plugins_display_list(object *op);
587void *cfapi_system_find_animation(int *type, ...); 585void *cfapi_system_find_animation(int *type, ...);
588void *cfapi_system_strdup_local(int *type, ...); 586void *cfapi_system_strdup(int *type, ...);
589void *cfapi_system_register_global_event(int *type, ...); 587void *cfapi_system_register_global_event(int *type, ...);
590void *cfapi_system_unregister_global_event(int *type, ...); 588void *cfapi_system_unregister_global_event(int *type, ...);
591void *cfapi_system_check_path(int *type, ...); 589void *cfapi_system_check_path(int *type, ...);
592void *cfapi_system_re_cmp(int *type, ...); 590void *cfapi_system_re_cmp(int *type, ...);
593void *cfapi_system_directory(int *type, ...); 591void *cfapi_system_directory(int *type, ...);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines