--- deliantra/server/include/sproto.h 2009/01/08 03:03:24 1.99
+++ deliantra/server/include/sproto.h 2009/10/15 21:40:42 1.107
@@ -3,18 +3,19 @@
*
* Copyright (©) 2005,2006,2007,2008 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 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
*/
@@ -69,6 +70,9 @@
void apply_changes_to_player (object *pl, object *change);
void apply_item_transformer (object *pl, object *transformer);
extern void handle_apply_yield (object *op);
+void apply_lamp (object *op, bool switch_on);
+void get_animation_from_arch (object *op, arch_ptr a);
+extern int convert_item (object *item, object *converter);
/* attack.c */
void cancellation (object *op);
@@ -393,15 +397,12 @@
void control_golem (object *op, int dir);
int summon_golem (object *op, object *caster, int dir, object *spob);
object *choose_cult_monster (object *pl, object *god, int summon_level);
-int summon_object (object *op, object *caster, object *spell_ob, int dir, const char *stringarg);
+int summon_object (object *op, object *caster, object *spell_ob, int dir, const char *spellparam);
int should_arena_attack (object *pet, object *owner, object *target);
/* player.c */
player *find_player (const char *plname);
player *find_player_partial_name (const char *plname);
-void display_motd (const object *op);
-void send_rules (const object *op);
-void send_news (const object *op);
int playername_ok (const char *cp);
archetype *get_player_archetype (archetype *at);
object *get_nearest_player (object *mon);
@@ -545,8 +546,8 @@
void polymorph_item (object *who, object *op);
void polymorph (object *op, object *who);
int cast_polymorph (object *op, object *caster, object *spell_ob, int dir);
-int cast_create_missile (object *op, object *caster, object *spell, int dir, const char *stringarg);
-int cast_create_food (object *op, object *caster, object *spell_ob, int dir, const char *stringarg);
+int cast_create_missile (object *op, object *caster, object *spell, int dir, const char *spellparam);
+int cast_create_food (object *op, object *caster, object *spell_ob, int dir, const char *spellparam);
int probe (object *op, object *caster, object *spell_ob, int dir);
int makes_invisible_to (object *pl, object *mon);
int cast_invisible (object *op, object *caster, object *spell_ob);
@@ -556,8 +557,9 @@
int cast_wonder (object *op, object *caster, int dir, object *spell_ob);
int perceive_self (object *op);
int magic_wall (object *op, object *caster, int dir, object *spell_ob);
-int dimension_door (object *op, object *caster, object *spob, int dir);
+int dimension_door (object *op, object *caster, object *spob, int dir, const char *spellparam);
int cast_heal (object *op, object *caster, object *spell, int dir);
+int change_ability_duration (object *spell, object *caster);
int cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent);
int cast_bless (object *op, object *caster, object *spell_ob, int dir);
int alchemy (object *op, object *caster, object *spell_ob);
@@ -599,11 +601,12 @@
void shuffle_attack (object *op, int change_face);
void prayer_failure (object *op, int failure, int power);
void spell_failure (object *op, int failure, int power, object *skill);
-int cast_party_spell (object *op, object *caster, int dir, object *spell_ob, char *stringarg);
-int cast_spell (object *op, object *caster, int dir, object *spell_ob, char *stringarg);
+int cast_party_spell (object *op, object *caster, int dir, object *spell_ob, char *spellparam);
+int cast_spell (object *op, object *caster, int dir, object *spell_ob, char *spellparam);
void move_spell_effect (object *op);
void check_spell_effect (object *op);
void apply_spell_effect (object *spell, object *victim);
+void create_exploding_ball_at (object *victim, int level);
/* swamp.c */
void walk_on_deep_swamp (object *op, object *victim);