--- deliantra/server/include/libproto.h 2010/04/29 15:59:09 1.96
+++ deliantra/server/include/libproto.h 2016/11/16 23:42:00 1.106
@@ -1,24 +1,24 @@
/*
* 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,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
* Copyright (©) 2002 Mark Wedel & Crossfire Development Team
* Copyright (©) 1992 Frank Tore Johansen
- *
+ *
* 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
*/
@@ -28,7 +28,6 @@
/* anim.c */
void free_all_anim ();
void init_anim ();
-int find_animation (const char *name);
void animate_object (object *op, int dir);
/* arch.c */
archetype *find_archetype_by_object_name (const char *name);
@@ -45,7 +44,6 @@
void free_all_archs ();
void check_generators ();
bool load_archetype_file (const char *filename);
-object *get_archetype (const char *name);
unsigned long hasharch (const char *str, int tablesize);
object *clone_arch (int type);
object *object_create_arch (archetype *at);
@@ -66,7 +64,7 @@
int exp_to_level (sint64 exp);
sint64 level_to_min_exp (int level);
int new_exp (const object *ob);
-void init_experience ();
+void _reload_exp_table ();
/* friend.c */
void add_friendly_object (object *op);
void remove_friendly_object (object *op);
@@ -116,14 +114,13 @@
void change_attr_value (living *stats, int attr, sint8 value);
void check_stat_bounds (living *stats);
int change_abil (object *op, object *tmp);
-int allowed_class (const object *op);
void set_dragon_name (object *pl, const object *abil, const object *skin);
object *give_skill_by_name (object *op, const char *skill_name);
void player_lvl_adj (object *who, object *op);
sint64 level_exp (int level, double expmul);
void calc_perm_exp (object *op);
sint64 check_exp_adjust (const object *op, sint64 exp);
-void change_exp (object *op, sint64 exp, const char *skill_name, int flag);
+void change_exp (object *op, sint64 exp, shstr_tmp skill_name, int flag);
void apply_death_exp_penalty (object *op);
int did_make_save (const object *op, int level, int bonus);
/* los.c */