summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2006-08-30 21:20:52 +0000
committerYohann Ferreira <bertram@cegetel.net>2006-08-30 21:20:52 +0000
commit299f22cf915c421194309afb1156ab9559aefc97 (patch)
tree6112314cf6606acc002d486c661ca3791b461d51 /src/main.h
parent47320d3507aac21c8568cd244308e39a8869976a (diff)
downloadmana-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.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index fbd7f4a4..2973f1ad 100644
--- a/src/main.h
+++ b/src/main.h
@@ -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;