projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added pre-processor directive to set if platform has touch device
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index 6dcf54967fb329fe977934382ff90a55ed10c140..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()
{
+#if defined(HAS_TOUCH_DEVICE)
+ runtime.uses_touch_device = TRUE;
+#else
runtime.uses_touch_device = FALSE;
+#endif
}
void InitScoresInfo(void)