--- deliantra/server/include/sproto.h 2007/09/30 16:24:30 1.78
+++ deliantra/server/include/sproto.h 2008/05/06 16:55:26 1.89
@@ -1,9 +1,9 @@
/*
- * This file is part of Crossfire TRT, the Roguelike Realtime MORPG.
+ * This file is part of Deliantra, the Roguelike Realtime MMORPG.
*
- * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team
+ * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
*
- * Crossfire TRT is free software: you can redistribute it and/or modify
+ * 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.
@@ -16,7 +16,7 @@
* 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
+ * The authors can be reached via e-mail to
*/
/* alchemy.c */
@@ -45,7 +45,6 @@
int improve_weapon (object *op, object *improver, object *weapon);
int check_improve_weapon (object *op, object *tmp);
int improve_armour (object *op, object *improver, object *armour);
-int convert_item (object *item, object *converter);
int apply_container (object *op, object *sack);
int esrv_apply_container (object *op, object *sack);
void move_apply (object *trap, object *victim, object *originator);
@@ -186,7 +185,6 @@
void examine_monster (object *op, object *tmp);
const char *long_desc (object *tmp, object *pl);
void examine (object *op, object *tmp);
-void inventory (object *op, object *inv);
int command_pickup (object *op, char *params);
void set_pickup_mode (object *op, int i);
int command_search_items (object *op, char *params);
@@ -199,7 +197,7 @@
void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp);
int confirm_party_password (object *op);
void receive_party_password (object *op, char k);
-void send_party_message (object *op, char *msg);
+void send_party_message (object *op, const char *msg);
int command_gsay (object *op, char *params);
int command_party (object *op, char *params);
@@ -349,7 +347,6 @@
int verify_player (const char *name, char *password);
int check_name (player *me, const char *name);
int create_savedir_if_needed (char *savedir);
-void destroy_object (object *op);
void copy_file (const char *filename, FILE *fpout);
/* main.c */
@@ -474,7 +471,7 @@
bool move_player (object *op, int dir);
bool handle_newcs_player (object *op);
int save_life (object *op);
-char *gravestone_text (object *op);
+const char *gravestone_text (object *op);
void do_some_living (object *op);
void kill_player (object *op);
void loot_object (object *op);
@@ -518,7 +515,7 @@
int pay_for_amount (sint64 to_pay, object *pl);
int pay_for_item (object *op, object *pl);
int can_pay (object *pl);
-void sell_item (object *op, object *pl);
+bool sell_item (object *op, object *pl);
double shopkeeper_approval (const maptile *map, const object *player);
int describe_shop (const object *op);
void shop_listing (object *sign, object *op);
@@ -619,8 +616,6 @@
/* spell_util.c */
object *find_random_spell_in_ob (object *ob, const char *skill);
void set_spell_skill (object *op, object *caster, object *spob, object *dest);
-void init_spells (void);
-void dump_spells (void);
void spell_effect (object *spob, int x, int y, maptile *map, object *originator);
int min_casting_level (object *caster, object *spell);
int caster_level (object *caster, object *spell);