summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 6178b364d..fc7affdf3 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -4,7 +4,9 @@
#ifndef _MAP_H_
#define _MAP_H_
-#include <stdarg.h>
+#ifndef _CBASETYPES_H_
+#include "../common/cbasetypes.h"
+#endif
#include "../common/mmo.h"
#include "../common/mapindex.h"
#include "../common/db.h"
@@ -12,6 +14,8 @@
#include "itemdb.h" // MAX_ITEMGROUP
#include "status.h" // SC_MAX
+#include <stdarg.h>
+
//Uncomment to enable the Cell Stack Limit mod.
//It's only config is the battle_config cell_stack_limit.
//Only chars affected are those defined in BL_CHAR (mobs and players currently)
@@ -387,8 +391,10 @@ struct status_change_entry {
struct status_change {
struct status_change_entry data[SC_MAX];
short count;
- unsigned short opt1,opt2;
- unsigned int opt3, option; //Note that older packet versions use short here.
+ unsigned short opt1;// body state
+ unsigned short opt2;// health state
+ unsigned int opt3;
+ unsigned int option;// effect state
};
struct vending {
@@ -1394,8 +1400,8 @@ extern char *map_server_dns;
#ifndef TXT_ONLY
-#ifdef _WIN32
-#include <windows.h> // SOCKET
+#ifdef WIN32
+#include <winsock2.h>
#endif
#include <mysql.h>