Commit Graph

95872 Commits

Author SHA1 Message Date
Matthew Duggan
8133a3131a ULTIMA8: Fix 2 small bugs in ScalerGump
1. In the constructor, depending on the scale factor _buffer1 can be NULL after
scaling is set up, so check for that
2. In the 2:1 scaling special case there was a variable name typo which made
the branch impossible to ever take.
2020-03-28 18:51:09 +09:00
Matthew Duggan
3fb3838243 ULTIMA8: Remove some dead code left over from Pentagram 2020-03-28 18:41:31 +09:00
Matthew Duggan
7121da63b9 ULTIMA8: Constify every iterator where it makes sense 2020-03-28 18:18:24 +09:00
Matthew Duggan
ba6b36e74a ULTIMA8: Add defensive checks to make xcode analysis happy 2020-03-28 18:13:29 +09:00
Scott Percival
88d8577cb3 DIRECTOR: Add flexible number of sound channels 2020-03-28 16:15:15 +08:00
Scott Percival
4a918a1fcd DIRECTOR: LINGO: Add more debug messages 2020-03-28 16:15:15 +08:00
Scott Percival
ed1c750f50 DIRECTOR: Add generic Windows target 2020-03-28 16:15:15 +08:00
Bastien Bouclet
1d731aeef9 MOHAWK: Simplify retrieving game features 2020-03-28 07:38:39 +01:00
Bastien Bouclet
c9476543e0 MOHAWK: MYST: Allow changing the game language while on the main menu 2020-03-28 07:38:39 +01:00
Bastien Bouclet
bfe7aad96a ENGINES: Return a const reference for DetectedGame::getGUIOptions 2020-03-28 07:38:39 +01:00
Bastien Bouclet
195d593405 MOHAWK: RIVEN: Allow changing the game language at run-time 2020-03-28 07:38:39 +01:00
Bastien Bouclet
1f5d4d1fdd MOHAWK: RIVEN: Configuration dialog changes
* Unify the custom options dialog (previously accessed through F5), and
  the in-game options dialog accessed through the Global Main Menu.
* Change the default keybinding for F5 to show the GMM for the non-25th
  anniversary editions of the game. This allows easy access to
  the load and save functionality. With the 25th anniversary edition,
  the main menu accessed through ESC should be used instead.
2020-03-28 07:38:39 +01:00
Bastien Bouclet
1be3c3c7c4 MOHAWK: MYST: Configuration dialog changes
* Unify the custom options dialog (previously accessed through F5), the
  engine options tab and the in-game options dialog accessed through the
  Global Main Menu.
* Change the default keybinding for F5 to show the GMM for the non-25th
  anniversary editions of the game. This allows easy access to
  the load and save functionality. With the 25th anniversary edition,
  the main menu accessed through ESC should be used instead.
* Change the Quit button in the Global Main Menu to show the credits
  before quitting. This is to reproduce the original game behavior.
2020-03-28 07:38:39 +01:00
Bastien Bouclet
0d895ec2f9 ENGINES: Allow showing the engine options in the in-game options dialog 2020-03-28 07:38:39 +01:00
Bastien Bouclet
bcfb7145fa GUI: Allow engines to define a fully custom tab in the edit game dialog
By implementing MetaEngine::buildEngineOptionsWidget, engines can
instantiate a container widget that will be shown in the Engine tab of
the edit game dialog. The default implementation retains the existing
behavior and shows the extra GUI options.
2020-03-28 07:38:39 +01:00
Bastien Bouclet
f6bb3af12a KEYMAPPER: Use OptionsContainerWidget for the remap widget 2020-03-28 07:38:39 +01:00
Bastien Bouclet
c8f2d8a1d3 GUI: Introduce OptionsContainerWidget, a container for settings widgets
OptionsContainerWidget is a GUI widgets container that is meant to be
used for configuration dialogs tabs. It provides an interface subclasses
can implement for loading and saving settings from a configuration domain.
2020-03-28 07:38:39 +01:00
Bastien Bouclet
8ae288c52f GUI: Allow defining layouts programmatically with a chaining syntax 2020-03-28 07:38:39 +01:00
Bastien Bouclet
9bd6d9ee08 GUI: Do not reflow layout attached widgets in the constructor
The parent widget they are attached to may not have been layed-out at the
moment of their construction.
2020-03-28 07:38:39 +01:00
Matthew Duggan
593fc3f448 ULTIMA8: Avoid use-after-free identified by clang 2020-03-28 14:33:24 +09:00
Matthew Duggan
d90db0e467 ULTIMA8: Remove unneeded initializations identified by xcode 2020-03-28 14:33:24 +09:00
Scott Percival
cacc668cec DIRECTOR: LINGO: Add b_sound wrapper for bytecode engine 2020-03-28 12:55:26 +08:00
Scott Percival
3c654b1dad DIRECTOR: LINGO: Implement b_sound features 2020-03-28 12:55:20 +08:00
Eugene Sandulenko
77bf1eb73f DIRECTOR: Fxi dissolve transition 2020-03-28 02:07:04 +01:00
Eugene Sandulenko
02e16487e2 DIRECTOR: Render dissolve transition 2020-03-28 01:57:09 +01:00
Eugene Sandulenko
e462a29543 DIRECTOR: Initial code for Dissolve transition 2020-03-28 01:33:29 +01:00
Cameron Cawley
4c3c910028 GCW0: Fix compilation 2020-03-27 23:27:37 +00:00
Cameron Cawley
d6a02740a8 GPH/DINGUX: Unify the downscaling code 2020-03-27 22:50:41 +01:00
Cameron Cawley
f2d323628d GCW0: Fully disable the downscaling code 2020-03-27 22:50:41 +01:00
Cameron Cawley
153576f0b5 BACKENDS: Move implementations of hasFeature into the relevant OSystem subclasses 2020-03-27 22:50:41 +01:00
Cameron Cawley
a5b6a577de SDL: Remove unnecessary overrides of setFeatureState() and getFeatureState() 2020-03-27 22:50:41 +01:00
Cameron Cawley
205175c4e5 SDL: Don't allow switching to and from fullscreen if it isn't supported 2020-03-27 22:50:41 +01:00
Peter Kohaut
470a1d3586 ANDROID: Switch to Gradle
Updated NDK to r21 (LTS)
Switch target Android to 29 as it is required by Google Play Store
Switch minimum Android to 16 (4.1) as it is the lowest supported version by NDK
Removed MIPS and armeabi as they are no longer supported
Renamed Android build names into official ones
2020-03-27 22:45:25 +01:00
Eugene Sandulenko
86ac3aeafc GUI: Disable tab scroll buttons instead of making them invisible 2020-03-27 22:28:17 +01:00
aryanrawlani28
bd688cfbc1 GUI: properly display scrollbuttons at edge 2020-03-27 22:21:40 +01:00
djsrv
4493216098 DIRECTOR: LINGO: Implement list math 2020-03-27 22:18:44 +01:00
djsrv
12e4eab5de DIRECTOR: LINGO: Fix Datum::toString() for arrays
Previously it overrwrote array contents with strings, breaking arrays
whenever they were printed.
2020-03-27 22:18:44 +01:00
Eugene Sandulenko
94e725d2ae DIRECTOR: Implement wait for click for the tempo channel 2020-03-27 15:27:04 +01:00
Scott Percival
70b4522ec4 DIRECTOR: Fix start offset of SND data 2020-03-27 19:24:17 +08:00
Eugene Sandulenko
4158e73b4d DIRECTOR: Added mouseUp and mouseDown cursors 2020-03-27 02:01:06 +01:00
Eugene Sandulenko
251886124e GRAPHICS: MACGUI: Specify hotspot for custom cursor and fix cursor popping 2020-03-27 02:00:56 +01:00
Eugene Sandulenko
ba0c449af4 DIRECTOR: Unified transitions code 2020-03-27 00:19:11 +01:00
Eugene Sandulenko
92225bcf66 DIRECTOR: Made transition interruptable like the original 2020-03-27 00:10:34 +01:00
Eugene Sandulenko
0e2c0046b3 DIRECTOR: JANITORIAL: Remove redundant indentation 2020-03-27 00:06:53 +01:00
Eugene Sandulenko
0c0c21e917 DIRECTOR: Consolidated transition parameters calculations 2020-03-26 23:54:09 +01:00
Eugene Sandulenko
4555461fce DIRECTOR: Clip transitions before drawing 2020-03-26 23:26:40 +01:00
Eugene Sandulenko
d6a7f314a1 DIRECTOR: Fix transition names 2020-03-26 18:20:51 +01:00
SupSuper
aa9aa503fd MSVC: Fix compilation on non-ASCII systems 2020-03-26 07:21:15 +00:00
SupSuper
260bcdd648 MSVC: Fix compilation on Windows SDK 8.1 2020-03-26 07:18:40 +00:00
Eugene Sandulenko
069e4232ca DIRECTOR: Fixed CenterOut transitions 2020-03-26 00:45:19 +01:00