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.24 by root, Mon Dec 11 22:56:57 2006 UTC vs.
Revision 1.41 by pippijn, Thu Mar 1 13:14:11 2007 UTC

1int same_party (partylist *a, partylist *b);
1/* alchemy.c */ 2/* alchemy.c */
2int need_identify (const object *obj); 3int need_identify (const object *obj);
3int apply_shop_mat (object *shop_mat, object *op); 4int apply_shop_mat (object *shop_mat, object *op);
4const char *cost_string_from_value(sint64 cost, int approx); 5const char *cost_string_from_value(sint64 cost, int approx);
5void pay_player (object *pl, sint64 amount); 6void pay_player (object *pl, sint64 amount);
87void apply_builder_wall(object *pl, object *material, short x, short y); 88void apply_builder_wall(object *pl, object *material, short x, short y);
88void apply_builder_item(object *pl, object *item, short x, short y); 89void apply_builder_item(object *pl, object *item, short x, short y);
89void apply_builder_remove(object *pl, int dir); 90void apply_builder_remove(object *pl, int dir);
90void apply_map_builder(object *pl, int dir); 91void apply_map_builder(object *pl, int dir);
91int adjust_sign_msg(object *pl, short x, short y, object *tmp); 92int adjust_sign_msg(object *pl, short x, short y, object *tmp);
92/* c_chat.c */
93int command_say(object *op, char *params);
94int command_me(object *op, char *params);
95int command_cointoss(object *op, char *params);
96int command_orcknuckle(object *op, char *params);
97int command_shout(object *op, char *params);
98int command_chat(object *op, char *params);
99int command_tell(object *op, char *params);
100int command_reply(object *op, char *params);
101int command_nod(object *op, char *params);
102int command_dance(object *op, char *params);
103int command_kiss(object *op, char *params);
104int command_bounce(object *op, char *params);
105int command_smile(object *op, char *params);
106int command_cackle(object *op, char *params);
107int command_laugh(object *op, char *params);
108int command_giggle(object *op, char *params);
109int command_shake(object *op, char *params);
110int command_puke(object *op, char *params);
111int command_growl(object *op, char *params);
112int command_scream(object *op, char *params);
113int command_sigh(object *op, char *params);
114int command_sulk(object *op, char *params);
115int command_hug(object *op, char *params);
116int command_cry(object *op, char *params);
117int command_poke(object *op, char *params);
118int command_accuse(object *op, char *params);
119int command_grin(object *op, char *params);
120int command_bow(object *op, char *params);
121int command_clap(object *op, char *params);
122int command_blush(object *op, char *params);
123int command_burp(object *op, char *params);
124int command_chuckle(object *op, char *params);
125int command_cough(object *op, char *params);
126int command_flip(object *op, char *params);
127int command_frown(object *op, char *params);
128int command_gasp(object *op, char *params);
129int command_glare(object *op, char *params);
130int command_groan(object *op, char *params);
131int command_hiccup(object *op, char *params);
132int command_lick(object *op, char *params);
133int command_pout(object *op, char *params);
134int command_shiver(object *op, char *params);
135int command_shrug(object *op, char *params);
136int command_slap(object *op, char *params);
137int command_smirk(object *op, char *params);
138int command_snap(object *op, char *params);
139int command_sneeze(object *op, char *params);
140int command_snicker(object *op, char *params);
141int command_sniff(object *op, char *params);
142int command_snore(object *op, char *params);
143int command_spit(object *op, char *params);
144int command_strut(object *op, char *params);
145int command_thank(object *op, char *params);
146int command_twiddle(object *op, char *params);
147int command_wave(object *op, char *params);
148int command_whistle(object *op, char *params);
149int command_wink(object *op, char *params);
150int command_yawn(object *op, char *params);
151int command_beg(object *op, char *params);
152int command_bleed(object *op, char *params);
153int command_cringe(object *op, char *params);
154int command_think(object *op, char *params);
155/* c_misc.c */ 93/* c_misc.c */
156void map_info(object *op, char *search); 94void map_info(object *op, char *search);
157int command_body(object *op, char *params); 95int command_body(object *op, char *params);
158int command_motd(object *op, char *params); 96int command_motd(object *op, char *params);
159int command_bug(object *op, char *params); 97int command_bug(object *op, char *params);
200int command_resistances(object *op, char *params); 138int command_resistances(object *op, char *params);
201int command_help(object *op, char *params); 139int command_help(object *op, char *params);
202int onoff_value(const char *line); 140int onoff_value(const char *line);
203int command_quit(object *op, char *params); 141int command_quit(object *op, char *params);
204int command_real_quit(object *op, char *params); 142int command_real_quit(object *op, char *params);
205int command_explore(object *op, char *params);
206int command_sound(object *op, char *params); 143int command_sound(object *op, char *params);
207void receive_player_name(object *op, char k); 144void receive_player_name(object *op, char k);
208void receive_player_password(object *op, char k); 145void receive_player_password(object *op, char k);
209int explore_mode(void);
210int command_title(object *op, char *params); 146int command_title(object *op, char *params);
211int command_save(object *op, char *params); 147int command_save(object *op, char *params);
212int command_peaceful(object *op, char *params); 148int command_peaceful(object *op, char *params);
213int command_wimpy(object *op, char *params); 149int command_wimpy(object *op, char *params);
214int command_brace(object *op, char *params); 150int command_brace(object *op, char *params);
412void rec_sighup(int i); 348void rec_sighup(int i);
413void rec_sigquit(int i); 349void rec_sigquit(int i);
414void rec_sigpipe(int i); 350void rec_sigpipe(int i);
415void rec_sigbus(int i); 351void rec_sigbus(int i);
416void rec_sigterm(int i); 352void rec_sigterm(int i);
417void fatal_signal(int make_core, int close_sockets);
418void init_signals(void); 353void init_signals(void);
419void init_races(void); 354void init_races(void);
420void dump_races(void); 355void dump_races(void);
421void add_to_racelist(const char *race_name, object *op); 356void add_to_racelist(const char *race_name, object *op);
422racelink *get_racelist(void); 357racelink *get_racelist(void);
423racelink *find_racelink(const char *name); 358racelink *find_racelink(const char *name);
424/* login.c */ 359/* login.c */
425void emergency_save(int flag);
426void delete_character(const char *name, int); 360void delete_character(const char *name);
427int verify_player(const char *name, char *password); 361int verify_player(const char *name, char *password);
428int check_name(player *me, const char *name); 362int check_name(player *me, const char *name);
429int create_savedir_if_needed(char *savedir); 363int create_savedir_if_needed(char *savedir);
430void destroy_object(object *op); 364void destroy_object(object *op);
431int save_player(object *op, int flag);
432void copy_file(const char *filename, FILE *fpout); 365void copy_file(const char *filename, FILE *fpout);
433void check_login(object *op);
434/* main.c */ 366/* main.c */
435void server_tick (); 367void server_tick ();
436void version(object *op); 368void version(object *op);
437void info_keys(object *op); 369void info_keys(object *op);
438void start_info(object *op);
439char *crypt_string(char *str, char *salt); 370char *crypt_string(char *str, char *salt);
440int check_password(char *typed, char *crypted); 371int check_password(char *typed, char *crypted);
441void enter_player_savebed(object *op); 372void enter_player_savebed(object *op);
442void leave_map(object *op); 373void leave_map(object *op);
443void set_map_timeout(maptile *oldmap); 374void set_map_timeout(maptile *oldmap);
444char *clean_path(const char *file); 375char *clean_path(const char *file);
445char *unclean_path(const char *src); 376char *unclean_path(const char *src);
446void enter_exit(object *op, object *exit_ob); 377void enter_exit(object *op, object *exit_ob);
447void process_active_maps(void);
448void process_players1(maptile *map);
449void process_players2(maptile *map);
450void process_events(maptile *map); 378void process_events();
451void clean_tmp_files(void); 379void clean_tmp_files(void);
452void cleanup(void);
453void leave(player *pl,int draw_exit); 380void leave(player *pl,int draw_exit);
454int forbid_play(void); 381int forbid_play(void);
455void do_specials(void); 382void do_specials(void);
456int main(int argc, char **argv); 383int main(int argc, char **argv);
457/* monster.c */ 384/* monster.c */
525player *find_player_partial_name(const char *plname); 452player *find_player_partial_name(const char *plname);
526void display_motd(const object *op); 453void display_motd(const object *op);
527void send_rules(const object *op); 454void send_rules(const object *op);
528void send_news(const object *op); 455void send_news(const object *op);
529int playername_ok(const char *cp); 456int playername_ok(const char *cp);
530int add_player(NewSocket *ns);
531archetype *get_player_archetype(archetype *at); 457archetype *get_player_archetype(archetype *at);
532object *get_nearest_player(object *mon); 458object *get_nearest_player(object *mon);
533int path_to_player(object *mon, object *pl, unsigned mindiff); 459int path_to_player(object *mon, object *pl, unsigned mindiff);
534void give_initial_items(object *pl, treasurelist *items); 460void give_initial_items(object *pl, treasurelist *items);
535void get_name(object *op); 461void get_name(object *op);
536void get_password(object *op); 462void get_password(object *op);
537void play_again(object *op); 463void play_again(object *op);
538int receive_play_again(object *op, char key); 464int receive_play_again(object *op, char key);
539void confirm_password(object *op); 465void confirm_password(object *op);
540void get_party_password(object *op, partylist *party); 466void get_party_password(object *op, partylist *party);
541int roll_stat(void);
542void roll_stats(object *op);
543void Roll_Again(object *op); 467void Roll_Again(object *op);
544void Swap_Stat(object *op, int Swap_Second); 468void Swap_Stat(object *op, int Swap_Second);
545int key_roll_stat(object *op, char key); 469int key_roll_stat(object *op, char key);
546int key_change_class(object *op, char key); 470int key_change_class(object *op, char key);
547int key_confirm_quit(object *op, char key); 471int key_confirm_quit(object *op, char key);
584void *cfapi_get_hooks(int *type, ...); 508void *cfapi_get_hooks(int *type, ...);
585int plugins_remove_plugin(const char *id); 509int plugins_remove_plugin(const char *id);
586crossfire_plugin *plugins_find_plugin(const char *id); 510crossfire_plugin *plugins_find_plugin(const char *id);
587void plugins_display_list(object *op); 511void plugins_display_list(object *op);
588void *cfapi_system_find_animation(int *type, ...); 512void *cfapi_system_find_animation(int *type, ...);
589void *cfapi_system_strdup_local(int *type, ...); 513void *cfapi_system_strdup(int *type, ...);
590void *cfapi_system_register_global_event(int *type, ...); 514void *cfapi_system_register_global_event(int *type, ...);
591void *cfapi_system_unregister_global_event(int *type, ...); 515void *cfapi_system_unregister_global_event(int *type, ...);
592void *cfapi_system_check_path(int *type, ...); 516void *cfapi_system_check_path(int *type, ...);
593void *cfapi_system_re_cmp(int *type, ...); 517void *cfapi_system_re_cmp(int *type, ...);
594void *cfapi_system_directory(int *type, ...); 518void *cfapi_system_directory(int *type, ...);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines