Added code to let user specify the server address.

Updated SimplePad to include dot and fixed problem with digits.
This commit is contained in:
Xawotihs@gmail.com
2013-02-03 19:21:43 +00:00
parent 452ae08593
commit 5c25189aef
6 changed files with 53 additions and 14 deletions

View File

@@ -51,6 +51,7 @@ public:
Rules * rules;
CardEffect *effect;
#ifdef NETWORK_SUPPORT
string mServerAddress;
JNetwork* mpNetwork;
#endif //NETWORK_SUPPORT

View File

@@ -13,7 +13,7 @@ enum SIMPLE_KEYS{
KPD_S, KPD_T, KPD_U, KPD_V, KPD_W, KPD_X,
KPD_Y, KPD_Z, KPD_SPACE, KPD_OK, KPD_CANCEL,
KPD_DEL, KPD_CAPS, KPD_0, KPD_1, KPD_2, KPD_3,
KPD_4, KPD_5, KPD_6, KPD_7, KPD_8, KPD_9,
KPD_4, KPD_5, KPD_6, KPD_7, KPD_8, KPD_9, KPD_DOT,
KPD_MAX,
KPD_NOWHERE = 254,
KPD_INPUT = 255,