--- deliantra/server/include/libproto.h 2009/01/08 19:23:44 1.71 +++ deliantra/server/include/libproto.h 2009/10/12 14:00:58 1.74 @@ -5,18 +5,19 @@ * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team * Copyright (©) 1992,2007 Frank Tore Johansen * - * Deliantra 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. + * 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 GNU General Public License - * along with this program. If not, see . + * 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 */ @@ -55,10 +56,10 @@ extern void update_button (object *op, object *originator); extern void use_trigger (object *op, object *originator); extern void animate_turning (object *op); -extern int check_altar_sacrifice (const object *altar, const object *sacrifice); -extern int operate_altar (object *altar, object **sacrifice); +extern int check_altar_sacrifice (object *altar, object *sacrifice, object *originator = 0); +extern int operate_altar (object *altar, object **sacrifice, object *originator = 0); extern void trigger_move (object *op, int state, object *originator); -extern int check_trigger (object *op, object *cause); +extern int check_trigger (object *op, object *cause, object *originator = 0); extern int get_button_value (const object *button); extern void do_mood_floor (object *op, object *source = 0); extern object *check_inv_recursive (object *op, const object *trig); @@ -110,13 +111,9 @@ extern const typedata *get_typedata (int itemtype); extern const typedata *get_typedata_by_name (const char *name); extern const char *describe_resistance (const object *op, int newline); -extern const char *query_weight (const object *op); extern const char *get_levelnumber (int i); extern const char *get_number (int i); extern const char *ring_desc (const object *op); -extern const char *query_short_name (const object *op); -extern const char *query_name (const object *op); -extern const char *query_base_name (const object *op, int plural); extern const char *describe_item (const object *op, object *owner); extern int is_magical (const object *op); extern int need_identify (const object *op);