diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-11 20:02:42 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-11 20:02:42 +0000 |
commit | 8f8e2e42ba3ea1416b80190a3006c061ef4ed8b5 (patch) | |
tree | a612370540a4dc74521288209c018b722f4e63f6 /src/map/npc.h | |
parent | 983e4606a13576385556437b5b6b9fc1273f1417 (diff) | |
download | hercules-8f8e2e42ba3ea1416b80190a3006c061ef4ed8b5.tar.gz hercules-8f8e2e42ba3ea1416b80190a3006c061ef4ed8b5.tar.bz2 hercules-8f8e2e42ba3ea1416b80190a3006c061ef4ed8b5.tar.xz hercules-8f8e2e42ba3ea1416b80190a3006c061ef4ed8b5.zip |
- @storage/@gstorage will no longer work if you have a trade or a storage opened already.
- Cleaned up a bit @gstorage
- Added a bunch of npc functions required to properly handle moving the NPC cells when an npc is moved from it's previous location.
- Added npc_setcells to handle setting down the NPC cells of ontouch npcs.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9990 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.h')
-rw-r--r-- | src/map/npc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/npc.h b/src/map/npc.h index 0a1025040..93b9b21d1 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -54,6 +54,8 @@ int npc_parse_mob2 (struct spawn_data*, int index); // [Wizputer] int npc_parse_warp(char *w1,char *w2,char *w3,char *w4); int npc_globalmessage(const char *name,const char *mes); +void npc_setcells(struct npc_data *nd); +void npc_movenpc(struct npc_data *nd, int x, int y); int npc_enable(const char *name,int flag); int npc_changename(const char *name, const char *newname, short look); // [Lance] struct npc_data* npc_name2id(const char *name); |