diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-03-21 19:44:11 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-03-25 20:32:37 +0100 |
commit | 4e9e0ac87b4dc16f19ac4f930d52c4cc0a2c6f64 (patch) | |
tree | 1b77436b4623c8c1fc4419758e623753899fd818 /src/scripting/luautil.h | |
parent | 7aeb3b4a6c34a8f679719c207e51394d7e48828b (diff) | |
download | manaserv-4e9e0ac87b4dc16f19ac4f930d52c4cc0a2c6f64.tar.gz manaserv-4e9e0ac87b4dc16f19ac4f930d52c4cc0a2c6f64.tar.bz2 manaserv-4e9e0ac87b4dc16f19ac4f930d52c4cc0a2c6f64.tar.xz manaserv-4e9e0ac87b4dc16f19ac4f930d52c4cc0a2c6f64.zip |
Changed NPC to an NpcComponent added to a Being
Diffstat (limited to 'src/scripting/luautil.h')
-rw-r--r-- | src/scripting/luautil.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/scripting/luautil.h b/src/scripting/luautil.h index 8e380d4e..dd63c0f7 100644 --- a/src/scripting/luautil.h +++ b/src/scripting/luautil.h @@ -45,7 +45,6 @@ class MapComposite; class MapObject; class Monster; class MonsterClass; -class NPC; class StatusEffect; void raiseWarning(lua_State *s, const char *format, ...); @@ -172,14 +171,14 @@ Character * getCharacter(lua_State *s, int p); ItemClass * getItemClass(lua_State *s, int p); Monster * getMonster(lua_State *s, int p); MonsterClass * getMonsterClass(lua_State *s, int p); -NPC * getNPC(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); ItemClass * checkItemClass(lua_State *s, int p); Monster * checkMonster(lua_State *s, int p); MonsterClass * checkMonsterClass(lua_State *s, int p); -NPC * checkNPC(lua_State *s, int p); +Being * checkNpc(lua_State *s, int p); int checkSkill(lua_State *s, int p); int checkSpecial(lua_State *s, int p); |