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.33 by root, Wed Dec 27 18:09:49 2006 UTC vs.
Revision 1.53 by pippijn, Fri Mar 2 15:04:56 2007 UTC

88void apply_builder_wall(object *pl, object *material, short x, short y); 88void apply_builder_wall(object *pl, object *material, short x, short y);
89void apply_builder_item(object *pl, object *item, short x, short y); 89void apply_builder_item(object *pl, object *item, short x, short y);
90void apply_builder_remove(object *pl, int dir); 90void apply_builder_remove(object *pl, int dir);
91void apply_map_builder(object *pl, int dir); 91void apply_map_builder(object *pl, int dir);
92int adjust_sign_msg(object *pl, short x, short y, object *tmp); 92int adjust_sign_msg(object *pl, short x, short y, object *tmp);
93/* c_chat.c */
94int command_say(object *op, char *params);
95int command_me(object *op, char *params);
96int command_cointoss(object *op, char *params);
97int command_orcknuckle(object *op, char *params);
98int command_shout(object *op, char *params);
99int command_chat(object *op, char *params);
100int command_tell(object *op, char *params);
101int command_reply(object *op, char *params);
102int command_nod(object *op, char *params);
103int command_dance(object *op, char *params);
104int command_kiss(object *op, char *params);
105int command_bounce(object *op, char *params);
106int command_smile(object *op, char *params);
107int command_cackle(object *op, char *params);
108int command_laugh(object *op, char *params);
109int command_giggle(object *op, char *params);
110int command_shake(object *op, char *params);
111int command_puke(object *op, char *params);
112int command_growl(object *op, char *params);
113int command_scream(object *op, char *params);
114int command_sigh(object *op, char *params);
115int command_sulk(object *op, char *params);
116int command_hug(object *op, char *params);
117int command_cry(object *op, char *params);
118int command_poke(object *op, char *params);
119int command_accuse(object *op, char *params);
120int command_grin(object *op, char *params);
121int command_bow(object *op, char *params);
122int command_clap(object *op, char *params);
123int command_blush(object *op, char *params);
124int command_burp(object *op, char *params);
125int command_chuckle(object *op, char *params);
126int command_cough(object *op, char *params);
127int command_flip(object *op, char *params);
128int command_frown(object *op, char *params);
129int command_gasp(object *op, char *params);
130int command_glare(object *op, char *params);
131int command_groan(object *op, char *params);
132int command_hiccup(object *op, char *params);
133int command_lick(object *op, char *params);
134int command_pout(object *op, char *params);
135int command_shiver(object *op, char *params);
136int command_shrug(object *op, char *params);
137int command_slap(object *op, char *params);
138int command_smirk(object *op, char *params);
139int command_snap(object *op, char *params);
140int command_sneeze(object *op, char *params);
141int command_snicker(object *op, char *params);
142int command_sniff(object *op, char *params);
143int command_snore(object *op, char *params);
144int command_spit(object *op, char *params);
145int command_strut(object *op, char *params);
146int command_thank(object *op, char *params);
147int command_twiddle(object *op, char *params);
148int command_wave(object *op, char *params);
149int command_whistle(object *op, char *params);
150int command_wink(object *op, char *params);
151int command_yawn(object *op, char *params);
152int command_beg(object *op, char *params);
153int command_bleed(object *op, char *params);
154int command_cringe(object *op, char *params);
155int command_think(object *op, char *params);
156/* c_misc.c */ 93/* c_misc.c */
157void map_info(object *op, char *search);
158int command_body(object *op, char *params);
159int command_motd(object *op, char *params); 94int command_motd(object *op, char *params);
160int command_bug(object *op, char *params); 95int command_bug(object *op, char *params);
161void malloc_info(object *op); 96void malloc_info(object *op);
162void current_region_info(object *op);
163void current_map_info(object *op);
164int command_whereabouts(object *op, char *params); 97int command_whereabouts(object *op, char *params);
165int command_afk(object *op, char *params);
166int command_malloc(object *op, char *params); 98int command_malloc(object *op, char *params);
167int command_mapinfo(object *op, char *params);
168int command_whereami(object *op, char *params);
169int command_maps(object *op, char *params); 99int command_maps(object *op, char *params);
170int command_strings(object *op, char *params); 100int command_strings(object *op, char *params);
171int command_sstable(object *op, char *params); 101int command_sstable(object *op, char *params);
172int command_time(object *op, char *params); 102int command_time(object *op, char *params);
173int command_weather(object *op, char *params); 103int command_weather(object *op, char *params);
184int command_dumpmap(object *op, char *params); 114int command_dumpmap(object *op, char *params);
185int command_dumpallmaps(object *op, char *params); 115int command_dumpallmaps(object *op, char *params);
186int command_printlos(object *op, char *params); 116int command_printlos(object *op, char *params);
187int command_version(object *op, char *params); 117int command_version(object *op, char *params);
188void bug_report(const char *reportstring); 118void bug_report(const char *reportstring);
189int command_output_sync(object *op, char *params);
190int command_output_count(object *op, char *params);
191int command_listen(object *op, char *params);
192int command_statistics(object *pl, char *params); 119int command_statistics(object *pl, char *params);
193int command_fix_me(object *op, char *params); 120int command_fix_me(object *op, char *params);
194int command_players(object *op, char *paramss); 121int command_players(object *op, char *paramss);
195int command_logs(object *op, char *params); 122int command_logs(object *op, char *params);
196int command_applymode(object *op, char *params);
197int command_bowmode(object *op, char *params); 123int command_bowmode(object *op, char *params);
198int command_petmode(object *op, char *params);
199int command_showpets(object *op, char *params); 124int command_showpets(object *op, char *params);
200int command_usekeys(object *op, char *params);
201int command_resistances(object *op, char *params); 125int command_resistances(object *op, char *params);
202int command_help(object *op, char *params); 126int command_help(object *op, char *params);
203int onoff_value(const char *line); 127int onoff_value(const char *line);
204int command_quit(object *op, char *params); 128int command_quit(object *op, char *params);
205int command_real_quit(object *op, char *params); 129int command_real_quit(object *op, char *params);
206int command_explore(object *op, char *params);
207int command_sound(object *op, char *params);
208void receive_player_name(object *op, char k); 130void receive_player_name(object *op, char k);
209void receive_player_password(object *op, char k); 131void receive_player_password(object *op, char k);
210int explore_mode(void);
211int command_title(object *op, char *params); 132int command_title(object *op, char *params);
212int command_save(object *op, char *params);
213int command_peaceful(object *op, char *params);
214int command_wimpy(object *op, char *params);
215int command_brace(object *op, char *params);
216int command_style_map_info(object *op, char *params);
217int command_kill_pets(object *op, char *params); 133int command_kill_pets(object *op, char *params);
218int command_quests(object *pl, char *params); 134int command_quests(object *pl, char *params);
219/* c_move.c */ 135/* c_move.c */
220int command_east(object *op, char *params); 136int command_east(object *op, char *params);
221int command_north(object *op, char *params); 137int command_north(object *op, char *params);
226int command_southwest(object *op, char *params); 142int command_southwest(object *op, char *params);
227int command_west(object *op, char *params); 143int command_west(object *op, char *params);
228int command_stay(object *op, char *params); 144int command_stay(object *op, char *params);
229/* c_new.c */ 145/* c_new.c */
230void execute_newserver_command(object *pl, char *command); 146void execute_newserver_command(object *pl, char *command);
231int command_run(object *op, char *params);
232int command_run_stop(object *op, char *params);
233int command_fire(object *op, char *params);
234int command_fire_stop(object *op, char *params);
235int bad_command(object *op, char *params); 147int bad_command(object *op, char *params);
236/* c_object.c */ 148/* c_object.c */
237object *find_best_object_match(object *pl, const char *params); 149object *find_best_object_match(object *pl, const char *params);
238int command_build(object *pl, char *params); 150int command_build(object *pl, char *params);
239int command_uskill(object *pl, char *params); 151int command_uskill(object *pl, char *params);
250void drop(object *op, object *tmp); 162void drop(object *op, object *tmp);
251int command_dropall(object *op, char *params); 163int command_dropall(object *op, char *params);
252int command_drop(object *op, char *params); 164int command_drop(object *op, char *params);
253int command_examine(object *op, char *params); 165int command_examine(object *op, char *params);
254object *find_marked_object(object *op); 166object *find_marked_object(object *op);
255int command_mark(object *op, char *params);
256void examine_monster(object *op, object *tmp); 167void examine_monster(object *op, object *tmp);
257char *long_desc(object *tmp, object *pl); 168char *long_desc(object *tmp, object *pl);
258void examine(object *op, object *tmp); 169void examine(object *op, object *tmp);
259void inventory(object *op, object *inv); 170void inventory(object *op, object *inv);
260int command_pickup(object *op, char *params); 171int command_pickup(object *op, char *params);
284int command_loadtest(object *op, char *params); 195int command_loadtest(object *op, char *params);
285void do_wizard_hide(object *op, int silent_dm); 196void do_wizard_hide(object *op, int silent_dm);
286int command_hide(object *op, char *params); 197int command_hide(object *op, char *params);
287int command_setgod(object *op, char *params); 198int command_setgod(object *op, char *params);
288int command_banish(object *op, char *params); 199int command_banish(object *op, char *params);
289int command_kick(object *op, char *params);
290int command_save_overlay(object *op, char *params); 200int command_save_overlay(object *op, char *params);
291int command_toggle_shout(object *op, char *params); 201int command_toggle_shout(object *op, char *params);
292int command_shutdown(object *op, char *params);
293int command_freeze(object *op, char *params); 202int command_freeze(object *op, char *params);
294int command_arrest(object *op, char *params); 203int command_arrest(object *op, char *params);
295int command_summon(object *op, char *params); 204int command_summon(object *op, char *params);
296int command_teleport(object *op, char *params); 205int command_teleport(object *op, char *params);
297int command_create(object *op, char *params); 206int command_create(object *op, char *params);
298int command_inventory(object *op, char *params); 207int command_inventory(object *op, char *params);
299int command_skills(object *op, char *params); 208int command_skills(object *op, char *params);
300int command_dump(object *op, char *params); 209int command_dump(object *op, char *params);
301int command_mon_aggr(object *op, char *params);
302int command_possess(object *op, char *params);
303int command_patch(object *op, char *params); 210int command_patch(object *op, char *params);
304int command_remove(object *op, char *params); 211int command_remove(object *op, char *params);
305int command_free(object *op, char *params); 212int command_free(object *op, char *params);
306int command_addexp(object *op, char *params); 213int command_addexp(object *op, char *params);
307int command_speed(object *op, char *params); 214int command_speed(object *op, char *params);
413void rec_sighup(int i); 320void rec_sighup(int i);
414void rec_sigquit(int i); 321void rec_sigquit(int i);
415void rec_sigpipe(int i); 322void rec_sigpipe(int i);
416void rec_sigbus(int i); 323void rec_sigbus(int i);
417void rec_sigterm(int i); 324void rec_sigterm(int i);
418void fatal_signal(int make_core, int close_sockets);
419void init_signals(void); 325void init_signals(void);
420void init_races(void); 326void init_races(void);
421void dump_races(void); 327void dump_races(void);
422void add_to_racelist(const char *race_name, object *op); 328void add_to_racelist(const char *race_name, object *op);
423racelink *get_racelist(void); 329racelink *get_racelist(void);
424racelink *find_racelink(const char *name); 330racelink *find_racelink(const char *name);
425/* login.c */ 331/* login.c */
426void emergency_save(int flag);
427void delete_character(const char *name, int); 332void delete_character(const char *name);
428int verify_player(const char *name, char *password); 333int verify_player(const char *name, char *password);
429int check_name(player *me, const char *name); 334int check_name(player *me, const char *name);
430int create_savedir_if_needed(char *savedir); 335int create_savedir_if_needed(char *savedir);
431void destroy_object(object *op); 336void destroy_object(object *op);
432void copy_file(const char *filename, FILE *fpout); 337void copy_file(const char *filename, FILE *fpout);
442char *clean_path(const char *file); 347char *clean_path(const char *file);
443char *unclean_path(const char *src); 348char *unclean_path(const char *src);
444void enter_exit(object *op, object *exit_ob); 349void enter_exit(object *op, object *exit_ob);
445void process_events(); 350void process_events();
446void clean_tmp_files(void); 351void clean_tmp_files(void);
447void cleanup (bool make_core = false);
448void leave(player *pl,int draw_exit); 352void leave(player *pl,int draw_exit);
449int forbid_play(void); 353int forbid_play(void);
450void do_specials(void); 354void do_specials(void);
451int main(int argc, char **argv); 355int main(int argc, char **argv);
452/* monster.c */ 356/* monster.c */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines