diff options
author | Haru <haru@dotalux.com> | 2014-01-23 18:40:29 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-06-01 10:11:39 +0200 |
commit | 42e1df9e61f8efb6340ed1c9238cd247d553d9b8 (patch) | |
tree | 2a465b7468b438b200f011fb7994023f4113c33b /src/map/map.h | |
parent | 0a54d25ccfd891814cbdada8589b48c6b9da23fd (diff) | |
download | hercules-42e1df9e61f8efb6340ed1c9238cd247d553d9b8.tar.gz hercules-42e1df9e61f8efb6340ed1c9238cd247d553d9b8.tar.bz2 hercules-42e1df9e61f8efb6340ed1c9238cd247d553d9b8.tar.xz hercules-42e1df9e61f8efb6340ed1c9238cd247d553d9b8.zip |
Replaced some of the hardcoded values with constants (char)
- Replaced several hardcoded values with the appropriate enums.
- Added documentation for some hardcoded values that haven't been
replaced by enums (yet)
- Minor code legibility improvements.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/map/map.h b/src/map/map.h index 02e93b7bb..28ad6bf6f 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -65,16 +65,6 @@ enum MOBID { MOBID_MAGICDECOY_WIND = 2046, }; -// The following system marks a different job ID system used by the map server, -// which makes a lot more sense than the normal one. [Skotlex] -// These marks the "level" of the job. -#define JOBL_2_1 0x100 //256 -#define JOBL_2_2 0x200 //512 -#define JOBL_2 0x300 -#define JOBL_UPPER 0x1000 //4096 -#define JOBL_BABY 0x2000 //8192 -#define JOBL_THIRD 0x4000 //16384 - // For filtering and quick checking. #define MAPID_BASEMASK 0x00ff #define MAPID_UPPERMASK 0x0fff |