Commit Graph

95782 Commits

Author SHA1 Message Date
Roland van Laar
c74802f6b7 DIRECTOR: LINGO: Implement kTheScriptText setter.
setTheCast with field kTheScriptType is lingo's version of eval.
Text is inserted into the cast's script and added as Lingo code
of the cast.
2020-03-28 16:10:47 +01:00
Roland van Laar
33832be9b0 DIRECTOR: use enum type instead of integer. 2020-03-28 16:10:47 +01:00
Eugene Sandulenko
01e26a091b DIRECTOR: Fix Dissolve transition dimensions 2020-03-28 15:21:03 +01:00
Eugene Sandulenko
6267730bd5 DIRECTOR: Fix vertical transitions 2020-03-28 15:08:48 +01:00
Eugene Sandulenko
831cf8f302 DIRECTOR: Code clanup in transitions 2020-03-28 14:42:06 +01:00
Eugene Sandulenko
6148a6df49 DIRECTOR: Optimize rendering for Dissolve transition 2020-03-28 13:52:32 +01:00
Roland van Laar
4ee354545b DIRECTOR: Grammer fix in transformColor's comment. 2020-03-28 13:09:11 +01:00
Matthew Duggan
2fcae50af1 ULTIMA8: Remove valgrind-specific code 2020-03-28 20:48:46 +09:00
Matthew Duggan
af4bb06909 ULTIMA8: Header file cleanups 2020-03-28 20:43:41 +09:00
aryanrawlani28
345520b8cb GUI: improve predictive dialog in agi 2020-03-28 12:34:00 +01:00
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