diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2006-08-30 21:20:52 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2006-08-30 21:20:52 +0000 |
commit | 299f22cf915c421194309afb1156ab9559aefc97 (patch) | |
tree | 6112314cf6606acc002d486c661ca3791b461d51 /src/main.h | |
parent | 47320d3507aac21c8568cd244308e39a8869976a (diff) | |
download | mana-299f22cf915c421194309afb1156ab9559aefc97.tar.gz mana-299f22cf915c421194309afb1156ab9559aefc97.tar.bz2 mana-299f22cf915c421194309afb1156ab9559aefc97.tar.xz mana-299f22cf915c421194309afb1156ab9559aefc97.zip |
Added a first version of the server dialog with an unskinned dropdown. Upgraded also the connection window a bit to handle Cancelling more gracefully.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -37,7 +37,9 @@ #define TMW_DATADIR "" #endif - +/* + * Client different States + */ enum { STATE_CHOOSE_SERVER, STATE_CONNECT_ACCOUNT, @@ -64,6 +66,18 @@ enum { LEN_MIN_PASSWORD = 4 }; +// Default game values +// ------------------- +// Screen +const short defaultScreenWidth = 800; +const short defaultScreenHeight = 600; +// Sound +const short defaultSfxVolume = 100; +const short defaultMusicVolume = 60; +// Account Server Name and port +const std::string defaultAccountServerName = "animesites.de"; +const short defaultAccountServerPort = 9601; + extern char n_character; extern std::string token; extern unsigned char state; |