--- deliantra/server/include/sproto.h 2007/06/21 22:42:48 1.69 +++ deliantra/server/include/sproto.h 2007/09/08 09:15:48 1.76 @@ -1,21 +1,20 @@ /* - * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game. + * This file is part of Crossfire TRT, the Roguelike Realtime MORPG. * * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team * - * Crossfire TRT is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. + * Crossfire TRT is free software: you can redistribute it and/or modify + * it under the terms of the 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. + * 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 GNU General Public License along - * with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . * * The authors can be reached via e-mail to */ @@ -42,7 +41,6 @@ int apply_transport (object *pl, object *transport, int aflag); int should_director_abort (object *op, object *victim); int apply_potion (object *op, object *tmp); -int improve_weapon_stat (object *op, object *improver, object *weapon, signed char *stat, int sacrifice_count, const char *statname); int prepare_weapon (object *op, object *improver, object *weapon); int improve_weapon (object *op, object *improver, object *weapon); int check_improve_weapon (object *op, object *tmp); @@ -71,6 +69,7 @@ void scroll_failure (object *op, int failure, int power); void apply_changes_to_player (object *pl, object *change); void apply_item_transformer (object *pl, object *transformer); +extern void handle_apply_yield (object *op); /* attack.c */ void cancellation (object *op); @@ -277,7 +276,7 @@ int move_symptom (object *symptom); int check_physically_infect (object *victim, object *hitter); object *find_disease (object *victim); -int cure_disease (object *sufferer, object *caster); +int cure_disease (object *sufferer, object *caster, object *spell); int reduce_symptoms (object *sufferer, int reduction); /* egoitem.c */ @@ -341,8 +340,6 @@ void usage (void); void help (void); void init_beforeplay (void); -void init_startup (void); -void compile_info (void); void init_signals (void); void init_races (void); void dump_races (void); @@ -363,7 +360,6 @@ void version (object *op); void info_keys (object *op); char *crypt_string (char *str, char *salt); -int check_password (char *typed, char *crypted); void enter_player_savebed (object *op); void leave_map (object *op); void set_map_timeout (maptile *oldmap); @@ -373,7 +369,6 @@ void process_events (); void clean_tmp_files (void); void leave (player *pl,int draw_exit); -int forbid_play (void); void do_specials (void); int main (int argc, char **argv); @@ -482,7 +477,6 @@ bool move_player (object *op, int dir); bool handle_newcs_player (object *op); int save_life (object *op); -void remove_unpaid_objects (object *op, object *env); char *gravestone_text (object *op); void do_some_living (object *op); void kill_player (object *op); @@ -513,7 +507,6 @@ void *cfapi_system_strdup (int *type, ...); void *cfapi_system_register_global_event (int *type, ...); void *cfapi_system_unregister_global_event (int *type, ...); -void *cfapi_system_check_path (int *type, ...); void *cfapi_system_re_cmp (int *type, ...); void *cfapi_system_directory (int *type, ...); void *cfapi_map_get_map (int *type, ...);