Commit Graph
1293 Commits
Author SHA1 Message Date
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
The Dax 4ab69656fe Win32 buildfix. 2014-05-30 18:21:40 -04:00
Sacha 5394eb29c8 Fix #6169. variable was defined in class but treated as local to function in parts. This meant it wasn't being cleared properly when view was recreated (eg. changing language). 2014-05-28 17:05:15 +10:00
Unknown W. Brackets a5e3623742 Skip cpu change when game not running.
Oops, this happened when changing settings.  Fixes #6167.
2014-05-27 23:03:08 -07:00
raven02 608d43898d Remove AlphaMaskHack 2014-05-27 22:11:18 +02:00
lioncash ee520d0974 Fix a typo in GameSettingsScreen 2014-05-27 12:41:55 -04:00
Unknown W. Brackets ccb0e84631 Oops, forgot to move this, darn it. 2014-05-27 00:39:36 -07:00