Commit Graph

1299 Commits

Author SHA1 Message Date
Unknown W. Brackets
f39b1625af Add a safety check. 2014-06-22 10:05:27 -07:00
Unknown W. Brackets
fa4a50de23 Clear dataLoaded flags after clearing data.
Seems to fix some race for me with background icons showing up black.
Maybe a double load?
2014-06-22 09:56:05 -07:00
Unknown W. Brackets
47ad97617e Play AT3 files in background audio too.
Fixes 3rd Birthday and PQ2, at least.
2014-06-22 09:55:14 -07:00
Henrik Rydgard
29e9d0caa3 More focus handling issue fixing 2014-06-22 18:32:57 +02:00
Henrik Rydgard
fa3cdb0e3d Fix issue where the "background audio game" could get cleared by mistake.
Takes care of the case of going to the game menu through Triangle.
2014-06-22 18:16:36 +02:00
Henrik Rydgard
3b55d1190d BG music: Zero the sample buffer on decode fail 2014-06-22 17:57:12 +02:00
Henrik Rydgard
3b4e30d50f bg audio: Sprinkle on some thread safety 2014-06-22 17:26:15 +02:00
Henrik Rydgard
f8e32f4a71 Just zero the buffer if we failed to open the file 2014-06-22 17:18:40 +02:00
Henrik Rydgard
cefc0bc96f Play the game's SND0.AT3 when a game is selected in the menu and on the "game screen". 2014-06-22 17:02:04 +02:00
Henrik Rydgard
12cef8fa80 Oops, buildfixes 2014-06-22 14:23:06 +02:00
Henrik Rydgard
dc3806b700 Win32: Keep DSound running even when in the menu.
This will make it possible to play the game-selection audio later.
2014-06-22 14:17:57 +02:00
Henrik Rydgard
b1ae00c56f GameInfoCache: Clear snd together with bg 2014-06-22 09:57:02 +02:00
Henrik Rydgard
6ec74ef99e Be consistent about how we read and update the UI state variable 2014-06-22 09:57:01 +02:00
Unknown W. Brackets
d5ddf4c438 Make it easy to get the SND0.AT3 data. 2014-06-21 18:38:26 -07:00
Unknown W. Brackets
a6436d04f5 Support PIC0 in PBP files. 2014-06-21 18:29:54 -07:00
Unknown W. Brackets
a0340debd6 Use flags to specify wanted data in gamecache. 2014-06-21 18:24:21 -07:00
Unknown W. Brackets
0416f0d918 On main screen, show game bgs using controller.
This won't affect touch UIs but it's a nice touch for controller based
animation imho.
2014-06-21 18:04:27 -07:00
Unknown W. Brackets
f4f3d280f7 Avoid locking up the UI for gamecache loads.
If the icon/bg is not loaded yet, we'd lock and block for it to load
anyway.  This uses a separate (or possibly atomic) lock.
2014-06-21 18:03:32 -07:00
Unknown W. Brackets
a22fb9289d Load the icon on the game screen with the bg.
Still looks nicer this way.
2014-06-21 14:03:50 -07:00
Unknown W. Brackets
53547bd8b9 Refactor a bit to simplify the code. 2014-06-21 13:49:30 -07:00
Unknown W. Brackets
1a44b557e5 Allow loading game info without clearing old.
More seamless when we already have the icon, for example.
2014-06-21 13:44:07 -07:00
Sacha
46abce78c0 Qt: Use inbuilt png handler instead of building libpng. Resolves a conflict with QWidget and QPainter in desktop menus. 2014-06-18 15:37:12 +10:00
Sacha
ea17e17ebd Join both Maemo platforms (Maemo5 + Meego Harmattan/Maemo 6) to MAEMO define. Technically they are very similar and anything that wasn't already defined for both probably needed to be. 2014-06-18 03:42:31 +10:00
The Dax
c54b84aeb3 Oops, restore the deleted stencil test option since we haven't decided its fate yet. 2014-06-16 18:43:22 -04:00
The Dax
f6ee9c77f4 Buildfix. 2014-06-16 14:18:49 -04:00
The Dax
92882b6384 Throw "Disable Alpha Test" into the pile of options to be disabled. 2014-06-16 14:18:49 -04:00
The Dax
f0dc4f7693 Do it for post-processing and resolution too, to be consistent. 2014-06-16 14:18:49 -04:00
The Dax
120e5e8cbe Disable more stuff, and use cached booleans instead.
Conflicts:
	UI/GameSettingsScreen.cpp
2014-06-16 14:18:49 -04:00
The Dax
98ebe26e33 GameSettingsScreen: Disable a bunch of options when software rendering is enabled.
They don't do anything when software rendering is enabled, so there's bound to be confusion caused by these options continuing to be enabled.

Conflicts:
	UI/GameSettingsScreen.cpp
2014-06-16 14:18:48 -04:00
Unknown W. Brackets
913914a4c1 Fix some type conversion warnings. 2014-06-15 10:01:54 -07:00
Henrik Rydgard
e3bbf26731 Improve input event handling. Can now map volume keys on Android without issues. 2014-06-15 13:04:59 +02:00
Henrik Rydgard
7febcd5d91 Have the Native* input functions return boolean to match new interface.
This is preparation for being able to tell the app that we handled the key or not.

This will make it possible to map android hardware keys like volume without them misbehaving.
2014-06-15 12:15:06 +02:00
Henrik Rydgård
ad70cfdcb3 Merge pull request #6325 from unknownbrackets/ui-tweaks
Support drag-and-drop of savestate files
2014-06-15 08:34:46 +02:00
Unknown W. Brackets
063e8508df Support drag-and-drop of savestate files.
Most likely you want to load the state, not see an error message.
2014-06-14 16:13:35 -07:00
Henrik Rydgard
3b2fed472e Correct timing on resume, avoids small speed burst when resuming gameplay from pause 2014-06-14 23:56:16 +02:00
Henrik Rydgard
aa31b9ace9 The "fallback" title is already set, don't need to set it again 2014-06-14 00:19:09 +02:00
Henrik Rydgard
3e97713d16 Revert "Remove option" (disable alpha test)
Fixes issue #6286.

This reverts commit d2ce635bbf.
2014-06-10 23:13:42 +02:00
Sacha
37b7667038 Remove some unnecessary #ifdef's relating to Symbian. 2014-06-10 23:06:00 +10:00
Henrik Rydgard
c39c36ddea Improve layout of control mapping screen 2014-06-09 22:26:23 +02:00
Sacha
3e50086d19 Travis: update. Fix screenshots in Qt 2014-06-10 02:51:23 +10:00
Henrik Rydgard
e8433f6fef cheat screen: Add shortcut to launch notepad with the current cheat file 2014-06-09 00:13:59 +02:00
Henrik Rydgard
77c85bccdd Don't lose focus after mapping a control.
Makes it a lot less aggravating to remap more than one control using a controller.

Also fixes a race condition.
2014-06-08 15:38:13 +02:00
mildlysec
c3dfb64839 Added ability to press analog keys lightly using shift button 2014-06-07 22:21:54 +02:00
Sacha
ed96d73187 Use OpenCPPFile for iostream open without the ifdef's. 2014-06-06 00:22:43 +10:00
The Dax
285640dbdf CWCheats: Make sure to convert paths properly so that non-English paths are supported. 2014-06-04 23:01:03 -04:00
Unknown W. Brackets
0daaf70ee3 Add UI for realtime sync option. 2014-06-03 01:36:20 -07:00
sum2012
6ed269d16b Attempt to solve Travis CI build 2014-06-02 18:28:16 +08:00
sum2012
d3c511e793 Use TextView instead of Choice 2014-06-02 18:21:34 +08:00
sum2012
c9219e1d0c Add missing "F" 2014-06-02 16:40:37 +08:00
sum2012
93827b383d OSK for network setting for non-windows
Fix windows 's full screen problem too
2014-06-02 14:15:07 +08:00