summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-21 17:08:08 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-21 17:08:08 +0000
commitbe72ecd0560eb5dcdcc15805491e48e2d63f4e0e (patch)
treef92f63c46e001c557993e1d6b605163c561bfddc /src/common
parent2f3160392cbb364d08ae40d61d2e11f587a6dc8a (diff)
downloadhercules-be72ecd0560eb5dcdcc15805491e48e2d63f4e0e.tar.gz
hercules-be72ecd0560eb5dcdcc15805491e48e2d63f4e0e.tar.bz2
hercules-be72ecd0560eb5dcdcc15805491e48e2d63f4e0e.tar.xz
hercules-be72ecd0560eb5dcdcc15805491e48e2d63f4e0e.zip
- Removed the +25% mdef, -50% def effect from Freeze status
- Changed autocast skills, they now only work with normal attacks - Fixed a few spots where the attack_type flag was getting truncated - Hopefully fixed the cygwin + size_t problem (using stddef.h as source) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10298 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cbasetypes.h4
-rw-r--r--src/common/strlib.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h
index ae6430a62..00296588e 100644
--- a/src/common/cbasetypes.h
+++ b/src/common/cbasetypes.h
@@ -136,9 +136,8 @@ typedef unsigned long int ppuint32;
//////////////////////////////////////////////////////////////////////////
// integer with exact processor width (and best speed)
-// size_t already defined in stdio.h
//////////////////////////////
-#include <string.h>// size_t
+#include <stddef.h> // size_t
#if defined(WIN32) && !defined(MINGW) // does not have a signed size_t
//////////////////////////////
@@ -308,5 +307,4 @@ typedef char bool;
#define TOLOWER(c) (tolower((unsigned char)(c)))
#define TOUPPER(c) (toupper((unsigned char)(c)))
-
#endif /* _CBASETYPES_H_ */
diff --git a/src/common/strlib.h b/src/common/strlib.h
index 5abd07e90..a3753b918 100644
--- a/src/common/strlib.h
+++ b/src/common/strlib.h
@@ -4,6 +4,8 @@
#ifndef _STRLIB_H_
#define _STRLIB_H_
+#include <stddef.h> // size_t
+
char* jstrescape (char* pt);
char* jstrescapecpy (char* pt, const char* spt);
int jmemescapecpy (char* pt, const char* spt, int size);
@@ -26,5 +28,4 @@ size_t strnlen (const char* string, size_t maxlen);
int e_mail_check(char* email);
int config_switch(const char* str);
-
#endif /* _STRLIB_H_ */