From 059ae946435c89351b95d9a647e7cc37541ba5e2 Mon Sep 17 00:00:00 2001 From: epoque11 Date: Mon, 9 Apr 2012 22:56:59 +0000 Subject: - 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 --- src/map/config/Data/Const.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/map/config/Data/Const.h') 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 -- cgit v1.2.3-60-g2f50