--- deliantra/server/include/sproto.h 2011/05/02 16:55:37 1.131 +++ deliantra/server/include/sproto.h 2012/11/26 15:12:16 1.137 @@ -1,22 +1,22 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. - * - * Copyright (©) 2005,2006,2007,2008,2009,2010,2011 Marc Alexander Lehmann / Robin Redeker / the Deliantra team - * + * + * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * * Deliantra is free software: you can redistribute it and/or modify it under * the terms of the Affero GNU General Public License as published by the * Free Software Foundation, either version 3 of the License, or (at your * option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the Affero GNU General Public License * and the GNU General Public License along with this program. If not, see * . - * + * * The authors can be reached via e-mail to */ @@ -167,7 +167,6 @@ /* c_wiz.c */ int command_loadtest (object *op, char *params); -int command_hide (object *op, char *params); int command_setgod (object *op, char *params); int command_banish (object *op, char *params); int command_save_overlay (object *op, char *params); @@ -186,14 +185,10 @@ int command_speed (object *op, char *params); int command_stats (object *op, char *params); int command_abil (object *op, char *params); -int command_reset (object *op, char *params); -int command_nowiz (object *op, char *params); -int command_dm (object *op, char *params); int command_invisible (object *op, char *params); int command_learn_spell (object *op, char *params); int command_learn_special_prayer (object *op, char *params); int command_forget_spell (object *op, char *params); -int command_dmhide (object *op, char *params); void dm_stack_push (player *pl, tag_t item); int command_stack_pop (object *op, char *params); int command_stack_push (object *op, char *params); @@ -240,7 +235,7 @@ void copy_file (const char *filename, FILE *fpout); /* main.c */ -void server_tick (); +void one_tick (); void version (object *op); void info_keys (object *op); char *crypt_string (char *str, char *salt); @@ -442,9 +437,8 @@ void set_spell_skill (object *op, object *caster, object *spob, object *dest); void spell_effect (object *spob, int x, int y, maptile *map, object *originator); object *check_spell_known (object *op, shstr_cmp name); -object *lookup_spell_by_name (object *op, const char *spname); int reflwall (maptile *m, int x, int y, object *sp_op); -int cast_create_obj (object *op, object *caster, object *new_op, int dir); +bool cast_create_obj (object *op, object *caster, object *new_op, int dir); int ok_to_put_more (maptile *m, sint16 x, sint16 y, object *op, int immune_stop); int fire_arch_from_position (object *op, object *caster, sint16 x, sint16 y, int dir, object *spell); void regenerate_rod (object *rod);