Last change
on this file since 1687 was
1513,
checked in by sam, 9 years ago
|
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
|
-
Property svn:keywords set to
Id
|
File size:
664 bytes
|
Line | |
---|
1 | // |
---|
2 | // Lol Engine |
---|
3 | // |
---|
4 | // Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net> |
---|
5 | // This program is free software; you can redistribute it and/or |
---|
6 | // modify it under the terms of the Do What The Fuck You Want To |
---|
7 | // Public License, Version 2, as published by Sam Hocevar. See |
---|
8 | // http://sam.zoy.org/projects/COPYING.WTFPL for more details. |
---|
9 | // |
---|
10 | |
---|
11 | #if defined HAVE_CONFIG_H |
---|
12 | # include "config.h" |
---|
13 | #endif |
---|
14 | |
---|
15 | #include "core.h" |
---|
16 | |
---|
17 | namespace lol |
---|
18 | { |
---|
19 | |
---|
20 | /* |
---|
21 | * Public Platform class |
---|
22 | */ |
---|
23 | |
---|
24 | int Platform::GetMouseCount() |
---|
25 | { |
---|
26 | #if defined __ANDROID__ |
---|
27 | /* Assume Android devices are touch devices that don't have a mouse */ |
---|
28 | return 0; |
---|
29 | #endif |
---|
30 | return 1; |
---|
31 | } |
---|
32 | |
---|
33 | } /* namespace lol */ |
---|
34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.