Sacha
483e42f64e
Atomics: These do not need platform-specific ifdef's as the gcc inbuilts should work fine.
2013-11-13 00:25:58 +10:00
Sacha
21b63f56ff
Fix overflow on nanoseconds which was causing issues on some platforms.
2013-11-11 04:51:40 +10:00
xsacha
d323d59744
Merge pull request #165 from Bigpet/QtWindowsBuild
...
disable non-menu Main Window under Windows
2013-11-05 04:19:19 -08:00
Peter Tissen
f0e47c2ced
disable non-menu Main Window for all non ARM Qt platforms including Linux, Windows and OSX.
2013-11-05 13:13:31 +01:00
Sacha
c2b558e881
SDL: Hide cursor when fullscreen during game without touch controls. Also remove redundant headers.
2013-11-05 12:58:47 +10:00
Sacha
c00a47c892
Code cleanup. Rearrange code in logical order. Increase Symbian vibration.
...
Pandora runfast was redundant (exists in math_util). Also it is VFPv3 not VFPv2.
2013-11-04 23:49:48 +10:00
Sacha
a02668cf8a
Check for Blackberry invocation in native instead of in NativeApp. Much cleaner.
2013-11-03 13:16:30 +10:00
Henrik Rydgård
045c24d064
SDL: Add support for hat motion events. Y axis may be inverted, not sure.
2013-11-01 22:15:08 +01:00
Sacha
f5121df3be
Rearrange when NativeInit starts so that BPS events are available for it.
2013-11-02 04:28:34 +10:00
Thiago Kenji Okada
64e9c2088f
Change string manipulation to C++ string class
...
std::string seems to be the preferred method since you don't need to alloc
more memory then you need (the Class automagically allocates the necessary
RAM) and there is no chance of buffer overflow. But since I don't have Mac
OSX, I didn't test it (it should work, since this is standard C++).
Add Mac OSX support to Launcher{Market,Email} too and changed Linux to use
"xdg-email " instead "xdg-open mailto:" since this seems the preferred method.
2013-11-01 15:09:36 -02:00
Henrik Rydgård
4c8922d9e7
Add support for launching URLs on MacOSX
2013-10-31 17:46:59 +01:00
Henrik Rydgård
55b8a95a29
Add F1-F12 SDL key codes
2013-10-31 15:58:41 +01:00
Henrik Rydgård
0fbcdfaeee
Try to fix keyboard numpad mappings in SDL
2013-10-31 15:46:07 +01:00
Thiago Kenji Okada
a8fbcb6165
Add Launch{Browser,Market,Email} support on Linux
...
Modern Linux desktop should implement a xdg-open program, that should open an
URL on the default desktop program.
The documentation of xdg-open says that we should supply xdg-open script on
our installation script for fallback purposes, but I don't think this is
really necessary: anyone using a reasonable recently DE on Linux should have
xdg-utils installed.
2013-10-30 19:48:12 -02:00
Henrik Rydgård
398137422c
SDL: Choose a reasonable default window size for windowed mode (2x PSP)
2013-10-30 12:22:22 +01:00
Sacha
6640b7b7ad
SDL: Detect resolution automatically. Use --fullscreen switch to enable fullscreen.
2013-10-30 13:05:17 +10:00
Henrik Rydgård
68bb097c2f
Android quick buildfix
2013-10-29 12:43:03 +01:00
Sacha
bc39c0a8e2
Buildfix for Android.
2013-10-29 20:21:14 +10:00
Sacha
c485d9b25a
Increase vibration on Symbian.
2013-10-29 20:18:38 +10:00
Sacha
60f1d1e3cb
Clean up of unused or redundant code and comments.
2013-10-29 11:24:10 +10:00
Sacha
3ddda26eef
Increase audio buffer size by a factor of 5. Helps with audio in some games.
2013-10-28 15:33:02 +10:00
Sacha
11e62f7f3a
Add option to display Blackberry debug statistics. Even if you are not running a debug firmware.
2013-10-28 14:17:53 +10:00
Sacha
f0819f14a4
Blackberry: Instead of polling controller on event, use the event duh. Don't check controller string id -- this is expensive. Use locale function because it's what we want.
2013-10-28 12:26:00 +10:00
Sacha
63d427ff9b
Endian Swap: Fall back to ARM implementation for Symbian.
2013-10-28 03:54:35 +10:00
Sacha
3285f6f41e
Improve swap code to include more platforms.
2013-10-28 03:07:01 +10:00
Sacha
55810809b0
Support left analog stick for game controllers on Blackberry.
2013-10-27 11:00:36 +10:00
Sacha
7d8beb9449
Use a Qt vibrator instead of a Symbian C++ one. Potentially cross-platform? Also, this should select a better default vibrator (eg. touch instead of phone call) which should allow vibration to work during charging.
2013-10-27 05:32:31 +10:00
Summeli
0feb3b05e6
Fix indents and use native keys.
2013-10-26 20:34:46 +03:00
Summeli
74e40608b3
fixed tabs, and using NativeKeys instead of forwarding keyevent though qapplication
2013-10-26 18:46:38 +03:00
Summeli
a1622cd5c8
using native keycodes instead of my own as symbian mediakeys
2013-10-26 18:14:52 +03:00
Summeli
90bc1a8218
Added support for Symbian Mediakeys
...
support for Symbian Mediakeys. Usually volume up/down, but it also
support play/stop etc. if user has "remotecontrol" provided with nokia
headset.
2013-10-26 17:20:08 +03:00
Sacha
37cd71b2a4
Enable threaded audio on Symbian.
2013-10-26 19:51:29 +10:00
Sacha
421261de82
Fix atomics on Blackberry. Was not clearing.
2013-10-25 19:05:27 +10:00
Sacha
b9ba2f27ac
Use clock_gettime instead of gettimeofday as recommended by QNX.
2013-10-25 14:14:23 +10:00
Sacha
46dfa25ca4
Blackberry has FZ enabled by default. No need to add it manually. See: https://bugs.webkit.org/show_bug.cgi?id=97008
2013-10-25 14:14:23 +10:00
Sacha
83b65e7de1
Remove DisableFZ. Use a working armv7 define. Add EnableFZ to Blackberry thread.
2013-10-24 03:07:26 +10:00
Sacha
b9c5c5fc3d
Crash fix for Symbian. Will have to put up with crummy music a little bit longer.
2013-10-23 04:10:32 +10:00
Sacha
30edf6b894
Simply stick the Qt audio in a thread. It will now run flawlessly at low frame rates or frameskipping as well.
2013-10-22 14:52:14 +10:00
Sacha
6986edb978
Audio: Best settings on all platforms.
...
After numerous tests, I have found the perfect audio settings. It seems samples now needs to be 2048 for everyone. Buffer needs to be 8192. Anything else gets a patchy noise. None of these platforms were using the right audio settings. Qt and SDL now sound perfect but Blackberry still doesn't (OpenAL thing?).
2013-10-22 13:29:34 +10:00
Sacha
dbef0b21a9
Fix #2 for Qt Audio. Increase samples as it seems to sound much better.
2013-10-22 03:58:56 +10:00
Sacha
edab3dc0fb
Fix Qt Audio.
2013-10-22 01:35:03 +10:00
Sacha
887d140d55
Qt:Use ARM to define mobile platform. Don't show fullscreen on Windows.
2013-10-21 22:44:46 +10:00
Unknown W. Brackets
40e820b905
Dumb typo.
2013-10-19 22:36:04 -07:00
Unknown W. Brackets
5406579d6d
Fix some const usage warnings.
2013-10-19 14:56:06 -07:00
Unknown W. Brackets
29e6114fe1
Qt: Don't crash if audio feed is null.
2013-10-19 12:37:54 -07:00
Sacha
70af7173e0
Linux Qt5 fix.
2013-10-20 05:04:02 +10:00
Sacha
644b781687
Make build work for Qt5 as well.
2013-10-19 05:21:44 +10:00
Sacha
3b8f098e7a
Use a better method for getting locale with Qt. Now works with Qt 4.7.
2013-10-17 18:41:00 +10:00
Sacha
f08d4ccad5
Correctly identify language and region on all Qt platforms.
2013-10-17 15:43:49 +10:00
Sacha
d65859d16d
Support system language and region in Blackberry.
2013-10-17 15:22:05 +10:00