summaryrefslogtreecommitdiff
path: root/src/map/mercenary.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-14 23:59:48 +0100
committerHaru <haru@dotalux.com>2015-12-28 18:36:00 +0100
commit5db7c13c4a37bc688a464d369beab0bc31984bd5 (patch)
tree837d872b0d0caa0960dc4335f2946cf08a055a89 /src/map/mercenary.h
parentb519d163bb4d0fef7deb821ee72ae67519d84d54 (diff)
downloadhercules-5db7c13c4a37bc688a464d369beab0bc31984bd5.tar.gz
hercules-5db7c13c4a37bc688a464d369beab0bc31984bd5.tar.bz2
hercules-5db7c13c4a37bc688a464d369beab0bc31984bd5.tar.xz
hercules-5db7c13c4a37bc688a464d369beab0bc31984bd5.zip
Added merc_id, replaced numeric mercenary IDs with enum members
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/mercenary.h')
-rw-r--r--src/map/mercenary.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/map/mercenary.h b/src/map/mercenary.h
index 05adc1fce..1b3453a84 100644
--- a/src/map/mercenary.h
+++ b/src/map/mercenary.h
@@ -27,6 +27,7 @@
struct map_session_data;
+#define MAX_MERCENARY_CLASS 61
// number of cells that a mercenary can walk to from it's master before being warped
#define MAX_MER_DISTANCE 15
@@ -36,6 +37,40 @@ enum {
SWORD_MERC_GUILD,
};
+/// Mercenary IDs
+enum merc_id {
+ MERID_MER_ARCHER01 = 6017, ///< MER_ARCHER01 / Mina
+ MERID_MER_ARCHER02 = 6018, ///< MER_ARCHER02 / Dororu
+ MERID_MER_ARCHER03 = 6019, ///< MER_ARCHER03 / Nami
+ MERID_MER_ARCHER04 = 6020, ///< MER_ARCHER04 / Elfin
+ MERID_MER_ARCHER05 = 6021, ///< MER_ARCHER05 / Clara
+ MERID_MER_ARCHER06 = 6022, ///< MER_ARCHER06 / Dali
+ MERID_MER_ARCHER07 = 6023, ///< MER_ARCHER07 / Karaya
+ MERID_MER_ARCHER08 = 6024, ///< MER_ARCHER08 / Hiyori
+ MERID_MER_ARCHER09 = 6025, ///< MER_ARCHER09 / Kero
+ MERID_MER_ARCHER10 = 6026, ///< MER_ARCHER10 / Sukye
+ MERID_MER_LANCER01 = 6027, ///< MER_LANCER01 / Rodin
+ MERID_MER_LANCER02 = 6028, ///< MER_LANCER02 / Lancer
+ MERID_MER_LANCER03 = 6029, ///< MER_LANCER03 / Nathan
+ MERID_MER_LANCER04 = 6030, ///< MER_LANCER04 / Roan
+ MERID_MER_LANCER05 = 6031, ///< MER_LANCER05 / Orizaro
+ MERID_MER_LANCER06 = 6032, ///< MER_LANCER06 / Thyla
+ MERID_MER_LANCER07 = 6033, ///< MER_LANCER07 / Ben
+ MERID_MER_LANCER08 = 6034, ///< MER_LANCER08 / Pinaka
+ MERID_MER_LANCER09 = 6035, ///< MER_LANCER09 / Kuhlmann
+ MERID_MER_LANCER10 = 6036, ///< MER_LANCER10 / Roux
+ MERID_MER_SWORDMAN01 = 6037, ///< MER_SWORDMAN01 / David
+ MERID_MER_SWORDMAN02 = 6038, ///< MER_SWORDMAN02 / Ellen
+ MERID_MER_SWORDMAN03 = 6039, ///< MER_SWORDMAN03 / Luise
+ MERID_MER_SWORDMAN04 = 6040, ///< MER_SWORDMAN04 / Frank
+ MERID_MER_SWORDMAN05 = 6041, ///< MER_SWORDMAN05 / Ryan
+ MERID_MER_SWORDMAN06 = 6042, ///< MER_SWORDMAN06 / Paolo
+ MERID_MER_SWORDMAN07 = 6043, ///< MER_SWORDMAN07 / Jens
+ MERID_MER_SWORDMAN08 = 6044, ///< MER_SWORDMAN08 / Thierry
+ MERID_MER_SWORDMAN09 = 6045, ///< MER_SWORDMAN09 / Steven
+ MERID_MER_SWORDMAN10 = 6046, ///< MER_SWORDMAN10 / Wayne
+};
+
struct s_mercenary_db {
int class_;
char sprite[NAME_LENGTH], name[NAME_LENGTH];