diff options
author | epoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-09 23:21:18 +0000 |
---|---|---|
committer | epoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-09 23:21:18 +0000 |
commit | 7d50f79a9c5c5de524b4e532d3ce1b2fd0745857 (patch) | |
tree | b7eb5c8d352702638cd7820cde8ee5d508bc4096 /src/map/config | |
parent | 059ae946435c89351b95d9a647e7cc37541ba5e2 (diff) | |
download | hercules-7d50f79a9c5c5de524b4e532d3ce1b2fd0745857.tar.gz hercules-7d50f79a9c5c5de524b4e532d3ce1b2fd0745857.tar.bz2 hercules-7d50f79a9c5c5de524b4e532d3ce1b2fd0745857.tar.xz hercules-7d50f79a9c5c5de524b4e532d3ce1b2fd0745857.zip |
- Follow-up to r15837, fixed compiler error due to missing header file
- Cleaned upper-case file naming which goes against coding standards
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15838 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/config')
-rw-r--r-- | src/map/config/classes/general.h (renamed from src/map/config/Skills/General.h) | 49 | ||||
-rw-r--r-- | src/map/config/classes/swordsman.h (renamed from src/map/config/Skills/Swordsman_Classes.h) | 32 | ||||
-rw-r--r-- | src/map/config/const.h (renamed from src/map/config/Data/Const.h) | 144 | ||||
-rw-r--r-- | src/map/config/core.h (renamed from src/map/config/Core.h) | 9 | ||||
-rw-r--r-- | src/map/config/renewal.h (renamed from src/map/config/Renewal.h) | 0 | ||||
-rw-r--r-- | src/map/config/secure.h (renamed from src/map/config/Secure.h) | 0 |
6 files changed, 117 insertions, 117 deletions
diff --git a/src/map/config/Skills/General.h b/src/map/config/classes/general.h index 746630845..279bb033e 100644 --- a/src/map/config/Skills/General.h +++ b/src/map/config/classes/general.h @@ -1,25 +1,24 @@ -// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL -// For more information, see LICENCE in the main folder -#ifndef _CONFIG_GENERAL_H_ -#define _CONFIG_GENERAL_H_ - -/** - * rAthena configuration file (http://rathena.org) - * For detailed guidance on these check http://rathena.org/wiki/SRC/map/config/ - **/ - -/** - * Default Magical Reflection Behavior - * - When reflecting, reflected damage depends on gears caster is wearing, not target - * - When disabled damage depends on gears target is wearing, not caster. - * @values 1 (enabled) or 0 (disabled) - **/ -#define MAGIC_REFLECTION_TYPE 1 - -/** - * No settings past this point - **/ -#include "Mage_Classes.h" -#include "Swordsman_Classes.h" - -#endif // _CONFIG_GENERAL_H_ +// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
+// For more information, see LICENCE in the main folder
+#ifndef _CONFIG_GENERAL_H_
+#define _CONFIG_GENERAL_H_
+
+/**
+ * rAthena configuration file (http://rathena.org)
+ * For detailed guidance on these check http://rathena.org/wiki/SRC/map/config/
+ **/
+
+/**
+ * Default Magical Reflection Behavior
+ * - When reflecting, reflected damage depends on gears caster is wearing, not target
+ * - When disabled damage depends on gears target is wearing, not caster.
+ * @values 1 (enabled) or 0 (disabled)
+ **/
+#define MAGIC_REFLECTION_TYPE 1
+
+/**
+ * No settings past this point
+ **/
+#include "swordsman.h"
+
+#endif // _CONFIG_GENERAL_H_
diff --git a/src/map/config/Skills/Swordsman_Classes.h b/src/map/config/classes/swordsman.h index 44ae922d5..3c8f69043 100644 --- a/src/map/config/Skills/Swordsman_Classes.h +++ b/src/map/config/classes/swordsman.h @@ -1,16 +1,16 @@ -// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL -// For more information, see LICENCE in the main folder -#ifndef _CONFIG_SKILLS_SWORDS_H_ -#define _CONFIG_SKILLS_SWORDS_H_ -/** - * rAthena configuration file (http://rathena.org) - * For detailed guidance on these check http://rathena.org/wiki/SRC/map/config/ - **/ - -/// rune knight -/// -/// maximum number of runes that a rune knight character can carry at any given time -/// default: 20 -#define MAX_RUNE 20 - -#endif // _CONFIG_SKILLS_SWORDS_H_ +// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
+// For more information, see LICENCE in the main folder
+#ifndef _CONFIG_SKILLS_SWORDS_H_
+#define _CONFIG_SKILLS_SWORDS_H_
+/**
+ * rAthena configuration file (http://rathena.org)
+ * For detailed guidance on these check http://rathena.org/wiki/SRC/map/config/
+ **/
+
+/// rune knight
+///
+/// maximum number of runes that a rune knight character can carry at any given time
+/// default: 20
+#define MAX_RUNE 20
+
+#endif // _CONFIG_SKILLS_SWORDS_H_
diff --git a/src/map/config/Data/Const.h b/src/map/config/const.h index 8b9980252..dc85bda82 100644 --- a/src/map/config/Data/Const.h +++ b/src/map/config/const.h @@ -1,72 +1,72 @@ -// 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/ - **/ - -/** - * @INFO: This file holds constants that aims at making code smoother and more efficient - */ - -/** - * "Constants" - **/ -#ifdef RENEWAL_CAST - - #ifndef RENEWAL - #error RENEWAL_CAST requires RENEWAL enabled - #endif - - #define CONST_CASTRATE_SCALE RENEWAL_CAST_VMIN - /** - * Cast Rate Formula: (DEX x 2)+INT - **/ - #define CONST_CASTRATE_CALC ((status_get_dex(bl)*2)+status_get_int(bl)) -#else - #define CONST_CASTRATE_SCALE battle_config.castrate_dex_scale - /** - * Cast Rate Formula: (DEX) - **/ - #define CONST_CASTRATE_CALC (status_get_dex(bl)) -#endif - -/** - * "Sane Checks" to save you from compiling with cool bugs - **/ -#if SECURE_NPCTIMEOUT_INTERVAL <= 0 - #error SECURE_NPCTIMEOUT_INTERVAL should be at least 1 (1s) -#endif -#if SECURE_NPCTIMEOUT < 0 - #error SECURE_NPCTIMEOUT cannot be lower than 0 -#endif - -/** - * Path within the /db folder to (non-)renewal specific db files - **/ -#ifdef RENEWAL - #define DBPATH "re/" -#else - #define DBPATH "pre-re/" -#endif - -/** - * DefType - **/ -#ifdef RENEWAL - typedef short defType; - #define DEFTYPE_MIN SHRT_MIN - #define DEFTYPE_MAX SHRT_MAX -#else - typedef signed char defType; - #define DEFTYPE_MIN CHAR_MIN - #define DEFTYPE_MAX CHAR_MAX -#endif - -/** - * End of File - **/ -#endif +// 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/
+ **/
+
+/**
+ * @INFO: This file holds constants that aims at making code smoother and more efficient
+ */
+
+/**
+ * "Constants"
+ **/
+#ifdef RENEWAL_CAST
+
+ #ifndef RENEWAL
+ #error RENEWAL_CAST requires RENEWAL enabled
+ #endif
+
+ #define CONST_CASTRATE_SCALE RENEWAL_CAST_VMIN
+ /**
+ * Cast Rate Formula: (DEX x 2)+INT
+ **/
+ #define CONST_CASTRATE_CALC ((status_get_dex(bl)*2)+status_get_int(bl))
+#else
+ #define CONST_CASTRATE_SCALE battle_config.castrate_dex_scale
+ /**
+ * Cast Rate Formula: (DEX)
+ **/
+ #define CONST_CASTRATE_CALC (status_get_dex(bl))
+#endif
+
+/**
+ * "Sane Checks" to save you from compiling with cool bugs
+ **/
+#if SECURE_NPCTIMEOUT_INTERVAL <= 0
+ #error SECURE_NPCTIMEOUT_INTERVAL should be at least 1 (1s)
+#endif
+#if SECURE_NPCTIMEOUT < 0
+ #error SECURE_NPCTIMEOUT cannot be lower than 0
+#endif
+
+/**
+ * Path within the /db folder to (non-)renewal specific db files
+ **/
+#ifdef RENEWAL
+ #define DBPATH "re/"
+#else
+ #define DBPATH "pre-re/"
+#endif
+
+/**
+ * DefType
+ **/
+#ifdef RENEWAL
+ typedef short defType;
+ #define DEFTYPE_MIN SHRT_MIN
+ #define DEFTYPE_MAX SHRT_MAX
+#else
+ typedef signed char defType;
+ #define DEFTYPE_MIN CHAR_MIN
+ #define DEFTYPE_MAX CHAR_MAX
+#endif
+
+/**
+ * End of File
+ **/
+#endif
diff --git a/src/map/config/Core.h b/src/map/config/core.h index 95c3ee8ed..4d8e38f95 100644 --- a/src/map/config/Core.h +++ b/src/map/config/core.h @@ -28,12 +28,13 @@ /** * No settings past this point **/ -#include "./Renewal.h" -#include "./Secure.h" -#include "./Skills/General.h" +#include "./renewal.h" +#include "./secure.h" +#include "./classes/general.h" + /** * Constants come last; so they process anything that could've been modified in early includes **/ -#include "./Data/Const.h" +#include "./const.h" #endif // _CONFIG_CORE_H_ diff --git a/src/map/config/Renewal.h b/src/map/config/renewal.h index 938c8b29a..938c8b29a 100644 --- a/src/map/config/Renewal.h +++ b/src/map/config/renewal.h diff --git a/src/map/config/Secure.h b/src/map/config/secure.h index e2b000440..e2b000440 100644 --- a/src/map/config/Secure.h +++ b/src/map/config/secure.h |