--- deliantra/server/include/sproto.h 2007/05/17 14:14:55 1.63 +++ deliantra/server/include/sproto.h 2007/05/28 21:15:56 1.67 @@ -1,3 +1,25 @@ +/* + * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game. + * + * 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. + * + * 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 + * + * The authors can be reached via e-mail to + */ + /* alchemy.c */ int need_identify (const object *obj); int apply_shop_mat (object *shop_mat, object *op); @@ -460,11 +482,11 @@ int fire_bow (object *op, object *part, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy); int player_fire_bow (object *op, int dir); void fire_misc_object (object *op, int dir); -void fire (object *op, int dir); +bool fire (object *op, int dir); object *find_key (object *pl, object *container, object *door); -void move_player_attack (object *op, int dir); -int move_player (object *op, int dir); -int handle_newcs_player (object *op); +bool move_player_attack (object *op, int dir); +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); @@ -620,7 +642,6 @@ /* skill_util.c */ void init_skills (void); void link_player_skills (object *op); -void clear_skill (object *who); int do_skill (object *op, object *part, object *skill, int dir, const char *string); int calc_skill_exp (object *who, object *op, object *skill); int learn_skill (object *pl, object *scroll); @@ -764,7 +785,7 @@ void move_duplicator (object *op); void move_creator (object *creator); void move_marker (object *op); -int process_object (object *op); +void process_object (object *op); /* timers.c */ void cftimer_process_timers (void);