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.62 by root, Mon May 14 21:32:27 2007 UTC vs.
Revision 1.69 by root, Thu Jun 21 22:42:48 2007 UTC

1// server/c_party.C 1/*
2int same_party (partylist *a, partylist *b); 2 * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game.
3 *
4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team
5 *
6 * Crossfire TRT is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)
9 * any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51
18 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 * The authors can be reached via e-mail to <crossfire@schmorp.de>
21 */
3 22
4/* alchemy.c */ 23/* alchemy.c */
5int need_identify (const object *obj); 24int need_identify (const object *obj);
6int apply_shop_mat (object *shop_mat, object *op); 25int apply_shop_mat (object *shop_mat, object *op);
7const char *cost_string_from_value (sint64 cost, int approx); 26const char *cost_string_from_value (sint64 cost, int approx);
106int command_weather (object *op, char *params); 125int command_weather (object *op, char *params);
107int command_archs (object *op, char *params); 126int command_archs (object *op, char *params);
108int command_hiscore (object *op, char *params); 127int command_hiscore (object *op, char *params);
109int command_debug (object *op, char *params); 128int command_debug (object *op, char *params);
110int command_dumpbelow (object *op, char *params); 129int command_dumpbelow (object *op, char *params);
130int command_dumpfriendlyobjects (object *op, char *params);
111int command_wizpass (object *op, char *params); 131int command_wizpass (object *op, char *params);
112int command_wizcast (object *op, char *params); 132int command_wizcast (object *op, char *params);
113int command_dumpallobjects (object *op, char *params);
114int command_dumpfriendlyobjects (object *op, char *params);
115int command_dumpallarchetypes (object *op, char *params);
116int command_ssdumptable (object *op, char *params);
117int command_dumpmap (object *op, char *params);
118int command_dumpallmaps (object *op, char *params);
119int command_printlos (object *op, char *params); 133int command_printlos (object *op, char *params);
120int command_version (object *op, char *params); 134int command_version (object *op, char *params);
121void bug_report (const char *reportstring); 135void bug_report (const char *reportstring);
122int command_statistics (object *pl, char *params); 136int command_statistics (object *pl, char *params);
123int command_fix_me (object *op, char *params); 137int command_fix_me (object *op, char *params);
178void set_pickup_mode (object *op, int i); 192void set_pickup_mode (object *op, int i);
179int command_search_items (object *op, char *params); 193int command_search_items (object *op, char *params);
180int command_rename_item (object *op, char *params); 194int command_rename_item (object *op, char *params);
181 195
182/* c_party.c */ 196/* c_party.c */
183int same_party (partylist *a, partylist *b);
184partylist *get_firstparty (void); 197partylist *get_firstparty (void);
185void remove_party (partylist *target_party); 198void remove_party (partylist *target_party);
186void obsolete_parties (void); 199void obsolete_parties (void);
187void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); 200void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp);
188int confirm_party_password (object *op); 201int confirm_party_password (object *op);
205void do_wizard_hide (object *op, int silent_dm); 218void do_wizard_hide (object *op, int silent_dm);
206int command_hide (object *op, char *params); 219int command_hide (object *op, char *params);
207int command_setgod (object *op, char *params); 220int command_setgod (object *op, char *params);
208int command_banish (object *op, char *params); 221int command_banish (object *op, char *params);
209int command_save_overlay (object *op, char *params); 222int command_save_overlay (object *op, char *params);
210int command_toggle_shout (object *op, char *params);
211int command_freeze (object *op, char *params); 223int command_freeze (object *op, char *params);
212int command_arrest (object *op, char *params); 224int command_arrest (object *op, char *params);
213int command_summon (object *op, char *params); 225int command_summon (object *op, char *params);
214int command_teleport (object *op, char *params); 226int command_teleport (object *op, char *params);
215int command_create (object *op, char *params); 227int command_create (object *op, char *params);
462object *find_better_arrow (object *op, object *target, const char *type, int *better); 474object *find_better_arrow (object *op, object *target, const char *type, int *better);
463object *pick_arrow_target (object *op, const char *type, int dir); 475object *pick_arrow_target (object *op, const char *type, int dir);
464int fire_bow (object *op, object *part, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy); 476int fire_bow (object *op, object *part, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy);
465int player_fire_bow (object *op, int dir); 477int player_fire_bow (object *op, int dir);
466void fire_misc_object (object *op, int dir); 478void fire_misc_object (object *op, int dir);
467void fire (object *op, int dir); 479bool fire (object *op, int dir);
468object *find_key (object *pl, object *container, object *door); 480object *find_key (object *pl, object *container, object *door);
469void move_player_attack (object *op, int dir); 481bool move_player_attack (object *op, int dir);
470int move_player (object *op, int dir); 482bool move_player (object *op, int dir);
471int handle_newcs_player (object *op); 483bool handle_newcs_player (object *op);
472int save_life (object *op); 484int save_life (object *op);
473void remove_unpaid_objects (object *op, object *env); 485void remove_unpaid_objects (object *op, object *env);
474char *gravestone_text (object *op); 486char *gravestone_text (object *op);
475void do_some_living (object *op); 487void do_some_living (object *op);
476void kill_player (object *op); 488void kill_player (object *op);
622int skill_throw (object *op, object *part, int dir, const char *params, object *skill); 634int skill_throw (object *op, object *part, int dir, const char *params, object *skill);
623 635
624/* skill_util.c */ 636/* skill_util.c */
625void init_skills (void); 637void init_skills (void);
626void link_player_skills (object *op); 638void link_player_skills (object *op);
627void clear_skill (object *who);
628int do_skill (object *op, object *part, object *skill, int dir, const char *string); 639int do_skill (object *op, object *part, object *skill, int dir, const char *string);
629int calc_skill_exp (object *who, object *op, object *skill); 640int calc_skill_exp (object *who, object *op, object *skill);
630int learn_skill (object *pl, object *scroll); 641int learn_skill (object *pl, object *scroll);
631void show_skills (object *op, const char *search); 642void show_skills (object *op, const char *search);
632int use_skill (object *op, const char *string); 643int use_skill (object *op, const char *string);
676int cast_earth_to_dust (object *op, object *caster, object *spell_ob); 687int cast_earth_to_dust (object *op, object *caster, object *spell_ob);
677void execute_word_of_recall (object *op); 688void execute_word_of_recall (object *op);
678int cast_word_of_recall (object *op, object *caster, object *spell_ob); 689int cast_word_of_recall (object *op, object *caster, object *spell_ob);
679int cast_wonder (object *op, object *caster, int dir, object *spell_ob); 690int cast_wonder (object *op, object *caster, int dir, object *spell_ob);
680int perceive_self (object *op); 691int perceive_self (object *op);
681int cast_create_town_portal (object *op, object *caster, object *spell, int dir);
682int magic_wall (object *op, object *caster, int dir, object *spell_ob); 692int magic_wall (object *op, object *caster, int dir, object *spell_ob);
683int dimension_door (object *op, object *caster, object *spob, int dir); 693int dimension_door (object *op, object *caster, object *spob, int dir);
684int cast_heal (object *op, object *caster, object *spell, int dir); 694int cast_heal (object *op, object *caster, object *spell, int dir);
685int cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent); 695int cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent);
686int cast_bless (object *op, object *caster, object *spell_ob, int dir); 696int cast_bless (object *op, object *caster, object *spell_ob, int dir);
766void move_firewall (object *op); 776void move_firewall (object *op);
767void move_player_mover (object *op); 777void move_player_mover (object *op);
768void move_duplicator (object *op); 778void move_duplicator (object *op);
769void move_creator (object *creator); 779void move_creator (object *creator);
770void move_marker (object *op); 780void move_marker (object *op);
771int process_object (object *op); 781void process_object (object *op);
772 782
773/* timers.c */ 783/* timers.c */
774void cftimer_process_timers (void); 784void cftimer_process_timers (void);
775void cftimer_process_event (object *ob); 785void cftimer_process_event (object *ob);
776int cftimer_create (int id, long delay, object *ob, int mode); 786int cftimer_create (int id, long delay, object *ob, int mode);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines