blob: 1b6627801cd4ee7a3caebb8af39b8db1315aad97 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/*
* File: man.h
* Author: dipesh
*
* Created on July 31, 2010, 6:04 PM
*/
#ifndef _MAIN_H
#define _MAIN_H
#include <iostream>
#include <string>
#include "serverinfo.h"
extern SERVER_INFO **server_info;
extern int charID[3];
enum {
EXIT_STATE,
LOGIN_STATE,
ACCOUNT_STATE,
CHAR_SERVER_STATE,
CHAR_SELECT_STATE,
GAME_STATE,
ERROR_STATE,
CONNECTING_STATE
};
extern char n_server, n_character;
extern unsigned char state;
extern std::string errorMessage;
extern std::string main_host;
extern std::string char_name;
extern int main_charno;
extern int world;
extern std::string mLocalDataDir;
#endif /* _MAIN_H */
|