diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-06 21:36:50 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-11 13:43:00 +0200 |
commit | aa04597c5f8bb806996d604699fc8ebff6d53bdd (patch) | |
tree | 20e6a79a873605b62c80011fd5c80351f60df6fb /src/scripting/luautil.h | |
parent | d95fccfca8575d8fb06988e558a338e37776961a (diff) | |
download | manaserv-aa04597c5f8bb806996d604699fc8ebff6d53bdd.tar.gz manaserv-aa04597c5f8bb806996d604699fc8ebff6d53bdd.tar.bz2 manaserv-aa04597c5f8bb806996d604699fc8ebff6d53bdd.tar.xz manaserv-aa04597c5f8bb806996d604699fc8ebff6d53bdd.zip |
Converted the Character class into a component
A CharacterData was created as a proxy class in order to allow using the
old serialization method.
Diffstat (limited to 'src/scripting/luautil.h')
-rw-r--r-- | src/scripting/luautil.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scripting/luautil.h b/src/scripting/luautil.h index e76a15a1..bf335d20 100644 --- a/src/scripting/luautil.h +++ b/src/scripting/luautil.h @@ -38,7 +38,7 @@ extern "C" { #include "game-server/specialmanager.h" class Being; -class Character; +class CharacterComponent; class Entity; class ItemClass; class MapComposite; @@ -166,14 +166,14 @@ typedef LuaUserData<SpecialManager::SpecialInfo> LuaSpecialInfo; Script * getScript(lua_State *s); Being * getBeing(lua_State *s, int p); -Character * getCharacter(lua_State *s, int p); +Being * getCharacter(lua_State *s, int p); ItemClass * getItemClass(lua_State *s, int p); Being * getMonster(lua_State *s, int p); MonsterClass * getMonsterClass(lua_State *s, int p); Being * getNpc(lua_State *s, int p); Being * checkBeing(lua_State *s, int p); -Character * checkCharacter(lua_State *s, int p); +Being * checkCharacter(lua_State *s, int p); ItemClass * checkItemClass(lua_State *s, int p); Being * checkMonster(lua_State *s, int p); MonsterClass * checkMonsterClass(lua_State *s, int p); |