Commit Graph

95800 Commits

Author SHA1 Message Date
Eugene Sandulenko
8f392fdf38 DIRECTOR: LINGO: Added test for 'play done' 2020-03-28 22:33:59 +01:00
Eugene Sandulenko
8a5396e6f5 DIRECTOR: LINGO: Preprocess 'play done' to 'play #done' 2020-03-28 21:51:49 +01:00
Eugene Sandulenko
e570423595 DIRECTOR: LINGO: Changed notion of SYMBOL to be a string. Fixed ilk keyword accordingly 2020-03-28 21:51:30 +01:00
Eugene Sandulenko
40d9ed41e2 DIRECTOR: LINGO: preprocess "play done" and remove c_playdone code 2020-03-28 21:33:41 +01:00
Eugene Sandulenko
107d40aac5 DIRECTOR: LINGO: Improved disassembly of cb_call opcode 2020-03-28 21:33:41 +01:00
Eugene Sandulenko
eb7fdaa007 DIRECTOR: LINGO: Fix 'play done' behavior 2020-03-28 21:33:41 +01:00
Thierry Crozat
9955f72160 MACOSX: Add detection of target OS version in configure
This is used for two purposes:
1. Use the new legacy icon when targeting 10.5 or older. This fixes
bug #11261 MAC OS X: App icon doesn’t display on OS X 10.5.8.

2. Do not attempt to compile the dock plugin in 32 bits when
targeting 10.14 or newer. This fixes the bundle target as support
for compiling 32 bits binaries was removed in SDK 10.14.

This commit also removes the bundle64 target as it is no longer
needed.
2020-03-28 19:04:29 +00:00
Eugene Sandulenko
b91ca4af48 PRINCE: I18N: Regenerate prince_translation.dat 2020-03-28 19:12:46 +01:00
Eugene Sandulenko
b0fef55168 PRINCE: I18N: Fix translation 2020-03-28 19:12:32 +01:00
Eugene Sandulenko
1007ff26ec PRINCE: I18N: Added empty moblist names 2020-03-28 19:10:59 +01:00
Eugene Sandulenko
d08e439618 PRINCE: I18N: Fixed variatxt.txt in prince_translation.dat 2020-03-28 18:10:29 +01:00
Eugene Sandulenko
42d701bab7 PRINCE: I18N: Regenerate prince_translation.dat 2020-03-28 18:00:18 +01:00
Eugene Sandulenko
7baf53c61f PRINCE: I18N: Added strings which were mistakingly missed 2020-03-28 18:00:18 +01:00
Eugene Sandulenko
f6e7e77130 DIRECTOR: Do not die when VWCR resource is not found 2020-03-28 18:00:18 +01:00
Eugene Sandulenko
0ae5ca631c DIRECTOR: Do not error on bad movies 2020-03-28 18:00:18 +01:00
Eugene Sandulenko
4d9f49d41f DIRECTOR: Remove redundant warning 2020-03-28 18:00:18 +01:00
Scott Percival
3066deecbd DIRECTOR: Add looping support to b_puppetSound 2020-03-29 00:35:00 +08:00
Scott Percival
bcf5250f8c DIRECTOR: Force single playback per sound channel 2020-03-29 00:15:19 +08:00
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