diff options
author | epoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-09 22:56:59 +0000 |
---|---|---|
committer | epoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-09 22:56:59 +0000 |
commit | 059ae946435c89351b95d9a647e7cc37541ba5e2 (patch) | |
tree | e01aff2c310feccd086dc8c2c48e6bd42521cf41 /src/map/config/Data/Const.h | |
parent | 68c4c735455439e9c849b4c81d8a598e76d90c57 (diff) | |
download | hercules-059ae946435c89351b95d9a647e7cc37541ba5e2.tar.gz hercules-059ae946435c89351b95d9a647e7cc37541ba5e2.tar.bz2 hercules-059ae946435c89351b95d9a647e7cc37541ba5e2.tar.xz hercules-059ae946435c89351b95d9a647e7cc37541ba5e2.zip |
- Spring cleaning of various source files
- Removed unused src/map/config/Skills/Mage_Classes.h file
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15837 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/config/Data/Const.h')
-rw-r--r-- | src/map/config/Data/Const.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/map/config/Data/Const.h b/src/map/config/Data/Const.h index 2071a4a8c..8b9980252 100644 --- a/src/map/config/Data/Const.h +++ b/src/map/config/Data/Const.h @@ -1,5 +1,8 @@ +// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL +// For more information, see LICENCE in the main folder #ifndef _RRCONFIGS_CONST_ #define _RRCONFIGS_CONST_ + /** * rAthena configuration file (http://rathena.org) * For detailed guidance on these check http://rathena.org/wiki/SRC/map/config/ @@ -12,13 +15,13 @@ /** * "Constants" **/ -#if RECASTING +#ifdef RENEWAL_CAST - #if REMODE == 0 - #error RECASTING requires REMODE enabled + #ifndef RENEWAL + #error RENEWAL_CAST requires RENEWAL enabled #endif - #define CONST_CASTRATE_SCALE RECASTING_VMIN + #define CONST_CASTRATE_SCALE RENEWAL_CAST_VMIN /** * Cast Rate Formula: (DEX x 2)+INT **/ @@ -31,8 +34,6 @@ #define CONST_CASTRATE_CALC (status_get_dex(bl)) #endif -#define isOFF(def) (def == 0) - /** * "Sane Checks" to save you from compiling with cool bugs **/ @@ -46,7 +47,7 @@ /** * Path within the /db folder to (non-)renewal specific db files **/ -#if REMODE +#ifdef RENEWAL #define DBPATH "re/" #else #define DBPATH "pre-re/" @@ -55,7 +56,7 @@ /** * DefType **/ -#if REMODE +#ifdef RENEWAL typedef short defType; #define DEFTYPE_MIN SHRT_MIN #define DEFTYPE_MAX SHRT_MAX |