diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-09 03:53:41 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-09 03:53:41 +0000 |
commit | bf7d71465ddd0cdf88c94fb4ff71dde33474b5a7 (patch) | |
tree | 460a445a059af68633160c2de23f8a21eb7c94e1 /src/map/RRConfig/Data/Const.h | |
parent | 9b18469c6c904003bc2c31dff333538ba59577cc (diff) | |
download | hercules-bf7d71465ddd0cdf88c94fb4ff71dde33474b5a7.tar.gz hercules-bf7d71465ddd0cdf88c94fb4ff71dde33474b5a7.tar.bz2 hercules-bf7d71465ddd0cdf88c94fb4ff71dde33474b5a7.tar.xz hercules-bf7d71465ddd0cdf88c94fb4ff71dde33474b5a7.zip |
- Set svn:eol-style=native for some recently added text files (follow up to r15009).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15044 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/RRConfig/Data/Const.h')
-rw-r--r-- | src/map/RRConfig/Data/Const.h | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/src/map/RRConfig/Data/Const.h b/src/map/RRConfig/Data/Const.h index d52c69034..31f68fdbc 100644 --- a/src/map/RRConfig/Data/Const.h +++ b/src/map/RRConfig/Data/Const.h @@ -1,33 +1,33 @@ -#ifndef _RRCONFIGS_CONST_
-#define _RRCONFIGS_CONST_
-/**
- * Ragnarok Resources Configuration File (http://ro-resources.net)
- * The following settings are applied upon compiling the program,
- * therefore any settings you disable will not even be added to the program
- * making these settings the most performance-effiecient possible
- **/
-
-/**
- * @INFO: This file holds constants that aims at making code smoother and more efficient
- */
-
-/**
- * "Constants"
- **/
-#define CONST_CASTRATE_SCALE ( RECASTING ? RECASTING_VMIN : battle_config.castrate_dex_scale )
-#define CONST_CASTRATE_CALC ( RECASTING ? ((status_get_dex(bl)*2)+status_get_int(bl)) : status_get_dex(bl) )
-
-/**
- * "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
-
-/**
- * End of File
- **/
-#endif
+#ifndef _RRCONFIGS_CONST_ +#define _RRCONFIGS_CONST_ +/** + * Ragnarok Resources Configuration File (http://ro-resources.net) + * The following settings are applied upon compiling the program, + * therefore any settings you disable will not even be added to the program + * making these settings the most performance-effiecient possible + **/ + +/** + * @INFO: This file holds constants that aims at making code smoother and more efficient + */ + +/** + * "Constants" + **/ +#define CONST_CASTRATE_SCALE ( RECASTING ? RECASTING_VMIN : battle_config.castrate_dex_scale ) +#define CONST_CASTRATE_CALC ( RECASTING ? ((status_get_dex(bl)*2)+status_get_int(bl)) : status_get_dex(bl) ) + +/** + * "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 + +/** + * End of File + **/ +#endif |