--- deliantra/server/include/sproto.h 2010/04/04 02:51:56 1.120
+++ deliantra/server/include/sproto.h 2012/10/29 23:55:54 1.134
@@ -1,27 +1,26 @@
/*
* This file is part of Deliantra, the Roguelike Realtime MMORPG.
- *
- * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
- *
+ *
+ * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012 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 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 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
*/
/* alchemy.c */
-int need_identify (const object *obj);
int apply_shop_mat (object *shop_mat, object *op);
const char *cost_string_from_value (sint64 cost, int approx);
void pay_player (object *pl, sint64 amount);
@@ -39,10 +38,8 @@
void do_forget_spell (object *op, const char *spell);
void apply_scroll (object *op, object *tmp, int dir);
void apply_poison (object *op, object *tmp);
-bool player_apply (object *pl, object *op, int aflag);
void player_apply_below (object *pl);
int can_apply_object (object *who, object *op);
-int apply_special (object *who, object *op, int aflags);
int auto_apply (object *op);
void fix_auto_apply (maptile *m);
void eat_special_food (object *who, object *food);
@@ -115,6 +112,10 @@
int command_southwest (object *op, char *params);
int command_west (object *op, char *params);
int command_stay (object *op, char *params);
+int command_run (object *op, char *params);
+int command_run_stop (object *op, char *params);
+int command_fire (object *op, char *params);
+int command_fire_stop (object *op, char *params);
/* c_new.c */
void execute_newserver_command (object *pl, char *command);
@@ -138,7 +139,6 @@
int command_dropall (object *op, char *params);
int command_drop (object *op, char *params);
int command_examine (object *op, char *params);
-object *find_marked_object (object *op);
void examine_monster (object *op, object *tmp);
const char *long_desc (object *tmp, object *pl);
void examine (object *op, object *tmp);
@@ -148,6 +148,7 @@
int command_rename_item (object *op, char *params);
int command_unlock (object *op, char *params);
int command_lock (object *op, char *params);
+int command_mark (object *op, char *params);
/* c_party.c */
partylist *get_firstparty ();
@@ -201,11 +202,6 @@
int command_diff (object *op, char *params);
int command_insert_into (object *op, char *params);
-/* commands.c */
-void init_commands ();
-CommFunc find_oldsocket_command (char *cmd);
-CommFunc find_oldsocket_command2 (char *cmd);
-
/* daemon.c */
FILE *BecomeDaemon (const char *filename);
@@ -219,9 +215,6 @@
/* egoitem.c */
int apply_power_crystal (object *op, object *crystal);
-/* hiscore.c */
-void check_score (object *op);
-
/* gods.c */
object *find_god (shstr_cmp name);
shstr_tmp determine_god (object *op);
@@ -247,7 +240,7 @@
void copy_file (const char *filename, FILE *fpout);
/* main.c */
-void server_tick ();
+void one_tick ();
void version (object *op);
void info_keys (object *op);
char *crypt_string (char *str, char *salt);
@@ -285,7 +278,7 @@
/* pets.c */
object *get_pet_enemy (object *pet, rv_vector *rv);
void terminate_all_pets (object *owner);
-void remove_all_pets (maptile *map);
+void move_all_pets ();
int follow_owner (object *ob, object *owner);
void pet_move (object *ob);
void move_golem (object *op);
@@ -496,3 +489,4 @@
/* weather.c */
void adjust_daylight ();
+