diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-30 18:13:16 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-30 18:13:16 +0000 |
commit | 08d47edb4cd49b4c4fa77085257127c8e2cee74a (patch) | |
tree | 9275f509d1dca8459ecaf7b6035130f67df74276 /src/map/clif.h | |
parent | a871325dd0d55160996124d4a67c7ba23d748be0 (diff) | |
download | hercules-08d47edb4cd49b4c4fa77085257127c8e2cee74a.tar.gz hercules-08d47edb4cd49b4c4fa77085257127c8e2cee74a.tar.bz2 hercules-08d47edb4cd49b4c4fa77085257127c8e2cee74a.tar.xz hercules-08d47edb4cd49b4c4fa77085257127c8e2cee74a.zip |
[Optimized]:
- clif_specialeffect to use the enums.
[Improved]:
- buildin_specialeffect and buildin_specialeffect2 to accept effect area definition.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6855 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index 5f1412569..da64c733a 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -28,6 +28,33 @@ struct packet_db { short pos[20];
};
+// local define
+enum {
+ ALL_CLIENT,
+ ALL_SAMEMAP,
+ AREA,
+ AREA_WOS,
+ AREA_WOC,
+ AREA_WOSC,
+ AREA_CHAT_WOC,
+ CHAT,
+ CHAT_WOS,
+ CHAT_MAINCHAT,
+ PARTY,
+ PARTY_WOS,
+ PARTY_SAMEMAP,
+ PARTY_SAMEMAP_WOS,
+ PARTY_AREA,
+ PARTY_AREA_WOS,
+ GUILD,
+ GUILD_WOS,
+ GUILD_SAMEMAP, // [Valaris]
+ GUILD_SAMEMAP_WOS,
+ GUILD_AREA,
+ GUILD_AREA_WOS, // end additions [Valaris]
+ SELF
+};
+
extern struct packet_db packet_db[MAX_PACKET_VER + 1][MAX_PACKET_DB];
void clif_setip(char*);
|