diff options
author | Hello=) <hello@themanaworld.org> | 2024-03-29 04:23:18 +0300 |
---|---|---|
committer | Hello=) <hello@themanaworld.org> | 2024-03-29 04:23:18 +0300 |
commit | 08cd08587be5c8d2ce42ae417098c524f683c6ad (patch) | |
tree | 727aa239372a77e9ca3d72fe761940bb49e8d2d8 /main.h | |
parent | db0b1da0060f5eb4b2af040c22ea9373d36970af (diff) | |
download | guildbot-08cd08587be5c8d2ce42ae417098c524f683c6ad.tar.gz guildbot-08cd08587be5c8d2ce42ae417098c524f683c6ad.tar.bz2 guildbot-08cd08587be5c8d2ce42ae417098c524f683c6ad.tar.xz guildbot-08cd08587be5c8d2ce42ae417098c524f683c6ad.zip |
Move actual top level from src/ to top: just one single dir is pointless.
Reported-By: NetSysFire
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 40 |
1 files changed, 40 insertions, 0 deletions
@@ -0,0 +1,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 */ + |