diff options
Diffstat (limited to 'src/txt-converter/char/char.h')
-rw-r--r-- | src/txt-converter/char/char.h | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/src/txt-converter/char/char.h b/src/txt-converter/char/char.h index bfbe6d75c..b5864b31c 100644 --- a/src/txt-converter/char/char.h +++ b/src/txt-converter/char/char.h @@ -1,39 +1,39 @@ -#include "../../common/core.h"
-#include "../../common/socket.h"
-#include "../../common/timer.h"
-#include "../common/mmo.h"
-#include "../common/inter.h"
-#include "../../common/version.h"
-#include "../../common/db.h"
-
-#ifndef _CHAR_H_
-#define _CHAR_H_
-
-#define MAX_MAP_SERVERS 30
-
-//#define CHAR_CONF_NAME "conf/char_athena.conf"
-
-#define UNKNOWN_CHAR_NAME "Unknown"
-
-#define DEFAULT_AUTOSAVE_INTERVAL 300*1000
-
-struct mmo_map_server{
- long ip;
- short port;
- int users;
- char map[MAX_MAP_PER_SERVER][16];
-};
-
-int mapif_sendall(unsigned char *buf,unsigned int len);
-int mapif_sendallwos(int fd,unsigned char *buf,unsigned int len);
-int mapif_send(int fd,unsigned char *buf,unsigned int len);
-
-extern int autosave_interval;
-
-#endif
-
-//#include "inter.h"
-#include "int_pet.h"
-#include "int_guild.h"
-#include "int_party.h"
-#include "int_storage.h"
+#include "../../common/core.h" +#include "../../common/socket.h" +#include "../../common/timer.h" +#include "../common/mmo.h" +#include "../common/inter.h" +#include "../../common/version.h" +#include "../../common/db.h" + +#ifndef _CHAR_H_ +#define _CHAR_H_ + +#define MAX_MAP_SERVERS 30 + +//#define CHAR_CONF_NAME "conf/char_athena.conf" + +#define UNKNOWN_CHAR_NAME "Unknown" + +#define DEFAULT_AUTOSAVE_INTERVAL 300*1000 + +struct mmo_map_server{ + long ip; + short port; + int users; + char map[MAX_MAP_PER_SERVER][16]; +}; + +int mapif_sendall(unsigned char *buf,unsigned int len); +int mapif_sendallwos(int fd,unsigned char *buf,unsigned int len); +int mapif_send(int fd,unsigned char *buf,unsigned int len); + +extern int autosave_interval; + +#endif + +//#include "inter.h" +#include "int_pet.h" +#include "int_guild.h" +#include "int_party.h" +#include "int_storage.h" |