projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added CPU architecture (32/64 bit) to version info screen
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index 337c18dff69c877a714e96f0e00f07e6de3736f3..af3e053607781e7e1b83ed5dfb911396584f6441 100644
(file)
--- a/
src/libgame/system.c
+++ b/
src/libgame/system.c
@@
-117,7
+117,11
@@
void InitNetworkInfo(boolean enabled, boolean connected, boolean serveronly,
void InitRuntimeInfo()
{
void InitRuntimeInfo()
{
+#if defined(HAS_TOUCH_DEVICE)
+ runtime.uses_touch_device = TRUE;
+#else
runtime.uses_touch_device = FALSE;
runtime.uses_touch_device = FALSE;
+#endif
}
void InitScoresInfo(void)
}
void InitScoresInfo(void)
@@
-1692,7
+1696,7
@@
KeyMod HandleKeyModState(Key key, int key_status)
{
KeyMod new_modifier = KMOD_None;
{
KeyMod new_modifier = KMOD_None;
- switch(key)
+ switch
(key)
{
case KSYM_Shift_L:
new_modifier = KMOD_Shift_L;
{
case KSYM_Shift_L:
new_modifier = KMOD_Shift_L;