mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 09:35:23 -04:00
Release 1.1.2 I guess
This commit is contained in:
parent
19f286c96a
commit
d669a104da
@ -5,18 +5,18 @@
|
||||
*/
|
||||
|
||||
#define GAME_MAX_CMDARGS 5
|
||||
#define GAME_APP_VER "1.1.1"
|
||||
#define GAME_APP_VER "1.1.2"
|
||||
#define GAME_API_VER 1
|
||||
|
||||
#if defined CC_BUILD_WEB
|
||||
#define GAME_APP_NAME "ClassiCube web client"
|
||||
#define GAME_APP_TITLE "ClassiCube"
|
||||
#elif defined CC_BUILD_COCOA
|
||||
#define GAME_APP_NAME "ClassiCube 1.1.1 alpha"
|
||||
#define GAME_APP_TITLE "ClassiCube 1.1.1 alpha"
|
||||
#define GAME_APP_NAME "ClassiCube 1.1.2 alpha"
|
||||
#define GAME_APP_TITLE "ClassiCube 1.1.2 alpha"
|
||||
#else
|
||||
#define GAME_APP_NAME "ClassiCube 1.1.1"
|
||||
#define GAME_APP_TITLE "ClassiCube 1.1.1"
|
||||
#define GAME_APP_NAME "ClassiCube 1.1.2"
|
||||
#define GAME_APP_TITLE "ClassiCube 1.1.2"
|
||||
#endif
|
||||
|
||||
/* Max number of characters strings can have. */
|
||||
|
@ -2511,8 +2511,8 @@ static const char* Window_BeforeUnload(int type, const void* ev, void *data) {
|
||||
static int Window_MapKey(int k) {
|
||||
if (k >= '0' && k <= '9') return k;
|
||||
if (k >= 'A' && k <= 'Z') return k;
|
||||
if (k >= DOM_VK_F1 && k <= DOM_VK_F24) { return KEY_F1 + (k - DOM_VK_F1); }
|
||||
if (k >= DOM_VK_NUMPAD0 && k <= DOM_VK_NUMPAD9) { return KEY_KP0 + (k - DOM_VK_NUMPAD0); }
|
||||
if (k >= DOM_VK_F1 && k <= DOM_VK_F24) { return KEY_F1 + (k - DOM_VK_F1); }
|
||||
if (k >= DOM_VK_NUMPAD0 && k <= DOM_VK_NUMPAD9) { return KEY_KP0 + (k - DOM_VK_NUMPAD0); }
|
||||
|
||||
switch (k) {
|
||||
case DOM_VK_BACK_SPACE: return KEY_BACKSPACE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user