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.67 by root, Mon May 28 21:15:56 2007 UTC vs.
Revision 1.73 by root, Thu Jul 26 00:27:08 2007 UTC

1/* 1/*
2 * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game. 2 * This file is part of Crossfire TRT, the Roguelike Realtime MORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team 4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team
5 * 5 *
6 * Crossfire TRT is free software; you can redistribute it and/or modify it 6 * Crossfire TRT is free software: you can redistribute it and/or modify
7 * under the terms of the GNU General Public License as published by the Free 7 * it under the terms of the GNU General Public License as published by
8 * Software Foundation; either version 2 of the License, or (at your option) 8 * the Free Software Foundation, either version 3 of the License, or
9 * any later version. 9 * (at your option) any later version.
10 * 10 *
11 * This program is distributed in the hope that it will be useful, but 11 * This program is distributed in the hope that it will be useful,
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * for more details. 14 * GNU General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU General Public License along 16 * You should have received a copy of the GNU General Public License
17 * with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51 17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 * 18 *
20 * The authors can be reached via e-mail to <crossfire@schmorp.de> 19 * The authors can be reached via e-mail to <crossfire@schmorp.de>
21 */ 20 */
22 21
23/* alchemy.c */ 22/* alchemy.c */
69void eat_special_food (object *who, object *food); 68void eat_special_food (object *who, object *food);
70void apply_lighter (object *who, object *lighter); 69void apply_lighter (object *who, object *lighter);
71void scroll_failure (object *op, int failure, int power); 70void scroll_failure (object *op, int failure, int power);
72void apply_changes_to_player (object *pl, object *change); 71void apply_changes_to_player (object *pl, object *change);
73void apply_item_transformer (object *pl, object *transformer); 72void apply_item_transformer (object *pl, object *transformer);
73extern void handle_apply_yield (object *op);
74 74
75/* attack.c */ 75/* attack.c */
76void cancellation (object *op); 76void cancellation (object *op);
77int did_make_save_item (object *op, int type, object *originator); 77int did_make_save_item (object *op, int type, object *originator);
78void save_throw_object (object *op, int type, object *originator); 78void save_throw_object (object *op, int type, object *originator);
125int command_weather (object *op, char *params); 125int command_weather (object *op, char *params);
126int command_archs (object *op, char *params); 126int command_archs (object *op, char *params);
127int command_hiscore (object *op, char *params); 127int command_hiscore (object *op, char *params);
128int command_debug (object *op, char *params); 128int command_debug (object *op, char *params);
129int command_dumpbelow (object *op, char *params); 129int command_dumpbelow (object *op, char *params);
130int command_dumpfriendlyobjects (object *op, char *params);
130int command_wizpass (object *op, char *params); 131int command_wizpass (object *op, char *params);
131int command_wizcast (object *op, char *params); 132int command_wizcast (object *op, char *params);
132int command_dumpallobjects (object *op, char *params);
133int command_dumpfriendlyobjects (object *op, char *params);
134int command_dumpallarchetypes (object *op, char *params);
135int command_ssdumptable (object *op, char *params);
136int command_dumpmap (object *op, char *params);
137int command_dumpallmaps (object *op, char *params);
138int command_printlos (object *op, char *params); 133int command_printlos (object *op, char *params);
139int command_version (object *op, char *params); 134int command_version (object *op, char *params);
140void bug_report (const char *reportstring); 135void bug_report (const char *reportstring);
141int command_statistics (object *pl, char *params); 136int command_statistics (object *pl, char *params);
142int command_fix_me (object *op, char *params); 137int command_fix_me (object *op, char *params);
223void do_wizard_hide (object *op, int silent_dm); 218void do_wizard_hide (object *op, int silent_dm);
224int command_hide (object *op, char *params); 219int command_hide (object *op, char *params);
225int command_setgod (object *op, char *params); 220int command_setgod (object *op, char *params);
226int command_banish (object *op, char *params); 221int command_banish (object *op, char *params);
227int command_save_overlay (object *op, char *params); 222int command_save_overlay (object *op, char *params);
228int command_toggle_shout (object *op, char *params);
229int command_freeze (object *op, char *params); 223int command_freeze (object *op, char *params);
230int command_arrest (object *op, char *params); 224int command_arrest (object *op, char *params);
231int command_summon (object *op, char *params); 225int command_summon (object *op, char *params);
232int command_teleport (object *op, char *params); 226int command_teleport (object *op, char *params);
233int command_create (object *op, char *params); 227int command_create (object *op, char *params);
367/* main.c */ 361/* main.c */
368void server_tick (); 362void server_tick ();
369void version (object *op); 363void version (object *op);
370void info_keys (object *op); 364void info_keys (object *op);
371char *crypt_string (char *str, char *salt); 365char *crypt_string (char *str, char *salt);
372int check_password (char *typed, char *crypted);
373void enter_player_savebed (object *op); 366void enter_player_savebed (object *op);
374void leave_map (object *op); 367void leave_map (object *op);
375void set_map_timeout (maptile *oldmap); 368void set_map_timeout (maptile *oldmap);
376char *clean_path (const char *file); 369char *clean_path (const char *file);
377char *unclean_path (const char *src); 370char *unclean_path (const char *src);
486object *find_key (object *pl, object *container, object *door); 479object *find_key (object *pl, object *container, object *door);
487bool move_player_attack (object *op, int dir); 480bool move_player_attack (object *op, int dir);
488bool move_player (object *op, int dir); 481bool move_player (object *op, int dir);
489bool handle_newcs_player (object *op); 482bool handle_newcs_player (object *op);
490int save_life (object *op); 483int save_life (object *op);
491void remove_unpaid_objects (object *op, object *env);
492char *gravestone_text (object *op); 484char *gravestone_text (object *op);
493void do_some_living (object *op); 485void do_some_living (object *op);
494void kill_player (object *op); 486void kill_player (object *op);
495void loot_object (object *op); 487void loot_object (object *op);
496void fix_weight (void); 488void fix_weight (void);
517void plugins_display_list (object *op); 509void plugins_display_list (object *op);
518void *cfapi_system_find_animation (int *type, ...); 510void *cfapi_system_find_animation (int *type, ...);
519void *cfapi_system_strdup (int *type, ...); 511void *cfapi_system_strdup (int *type, ...);
520void *cfapi_system_register_global_event (int *type, ...); 512void *cfapi_system_register_global_event (int *type, ...);
521void *cfapi_system_unregister_global_event (int *type, ...); 513void *cfapi_system_unregister_global_event (int *type, ...);
522void *cfapi_system_check_path (int *type, ...);
523void *cfapi_system_re_cmp (int *type, ...); 514void *cfapi_system_re_cmp (int *type, ...);
524void *cfapi_system_directory (int *type, ...); 515void *cfapi_system_directory (int *type, ...);
525void *cfapi_map_get_map (int *type, ...); 516void *cfapi_map_get_map (int *type, ...);
526void *cfapi_map_has_been_loaded (int *type, ...); 517void *cfapi_map_has_been_loaded (int *type, ...);
527void *cfapi_map_create_path (int *type, ...); 518void *cfapi_map_create_path (int *type, ...);
693int cast_earth_to_dust (object *op, object *caster, object *spell_ob); 684int cast_earth_to_dust (object *op, object *caster, object *spell_ob);
694void execute_word_of_recall (object *op); 685void execute_word_of_recall (object *op);
695int cast_word_of_recall (object *op, object *caster, object *spell_ob); 686int cast_word_of_recall (object *op, object *caster, object *spell_ob);
696int cast_wonder (object *op, object *caster, int dir, object *spell_ob); 687int cast_wonder (object *op, object *caster, int dir, object *spell_ob);
697int perceive_self (object *op); 688int perceive_self (object *op);
698int cast_create_town_portal (object *op, object *caster, object *spell, int dir);
699int magic_wall (object *op, object *caster, int dir, object *spell_ob); 689int magic_wall (object *op, object *caster, int dir, object *spell_ob);
700int dimension_door (object *op, object *caster, object *spob, int dir); 690int dimension_door (object *op, object *caster, object *spob, int dir);
701int cast_heal (object *op, object *caster, object *spell, int dir); 691int cast_heal (object *op, object *caster, object *spell, int dir);
702int cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent); 692int cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent);
703int cast_bless (object *op, object *caster, object *spell_ob, int dir); 693int cast_bless (object *op, object *caster, object *spell_ob, int dir);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines