Commit Graph

93450 Commits

Author SHA1 Message Date
Bastien Bouclet
c0d8b6d9fc GUI: Introduce dynamic layouts
Prior to this change, a GUI layout was only affected by the screen size.
Now, a layout can additionally be influenced by the GUI dialog and widgets
that uses it. This capability is leveraged to implement the following
features:

* Layout elements that are not bound to a GUI widget do not take space.
   This means that dialogs where the widgets shown depend on for example
   a feature being enabled at configure time no longer have blank spaces.
* Widgets can define a minimal required size for their contents not to be
   cut. For now this is only used for buttons so their width is always
   sufficient for their caption not to be cut. This mechanism could be
   applied to other widget types in the future.
2020-01-04 10:56:25 +01:00
Scott Percival
303ee2694f DIRECTOR: Inherit color, line size and pattern from shape cast 2020-01-04 11:57:05 +08:00
Scott Percival
7e6c925a68 DIRECTOR: Fix kCastMemberSprite to fetch shape from cast 2020-01-04 10:57:35 +08:00
Eugene Sandulenko
70c231a9f3 PRINCE: I18N: Update translation (Russian)
Currently translated at 100.0% (2757 of 2757 strings)
2020-01-04 01:01:32 +00:00
Eugene Sandulenko
984317fc08 PRINCE: I18N: Update translation (English)
Currently translated at 85.5% (2358 of 2757 strings)
2020-01-04 01:01:32 +00:00
Eugene Sandulenko
f214934ff5 DIRECTOR: LINGO: 'version' returns string, not an integer 2020-01-04 00:32:01 +01:00
sluicebox
e4d5f37d8d SCI32: Fix GK2 Chapter 4 Georg letter topic 2020-01-03 14:25:08 -08:00
sluicebox
3b441df98b SCI32: Add KQ7 Russian (SoftClub) detection entry
Trac #11302
2020-01-03 11:53:37 -08:00
Bastien Bouclet
452d22e650 GUI: Fix label drawing on top of PopUpWidget in updates dialog
Fixes #11271.
2020-01-03 19:01:14 +01:00
athrxx
1403f9ffa2 KYRA: minor AdLib driver fix
This commit extends a fix that was previously limited to the EOB games. It seems that the later games can also have situations where this becomes necessary (e. g. I noticed that the HOF title music went missing when aborting the intro via left click).
2020-01-03 13:04:11 +01:00
athrxx
48b834bd5e KYRA: (HOF) - minor cleanup 2020-01-03 13:04:11 +01:00
Cameron Cawley
16b2b3ac8f CRYO: Remove dead code 2020-01-03 10:37:26 +02:00
athrxx
346dd3ec63 KYRA: (HOF) - fix speech/sfx priority (bug #11301)
It doesn't come as a big surprise that the original handles this more or less in the same manner as LOL.
The Kyra games usually don't play many sfx at once. That's probably the reason why this never came up before.
2020-01-03 01:05:16 +01:00
Eugene Sandulenko
d9f6a0cf4d GRAPHICS: MACGUI: Further work on MacEditableText 2020-01-03 00:50:24 +01:00
sluicebox
c3c23c28a1 SCI32: Add GK2 workaround for flag debug dialog 2020-01-02 15:29:15 -08:00
sluicebox
03392537a0 SCI32: Fix GK2 Neuschwanstein castle hint 2020-01-02 13:25:00 -08:00
Cameron Cawley
d289fa5f98 OPENGL: Ensure surfaces created by saveScreenshot are the right way up 2020-01-02 20:53:29 +02:00
Cameron Cawley
ba035ac532 GRAPHICS: Add a function to vertically flip surfaces 2020-01-02 20:53:29 +02:00
Eugene Sandulenko
7b3d50957d PRINCE: I18N: Update translation (English)
Currently translated at 83.5% (2303 of 2757 strings)
2020-01-02 17:41:02 +00:00
Eugene Sandulenko
fbe7e7ce26 DIRECTOR: LINGO: Fix comment 2020-01-02 18:36:37 +01:00
Eugene Sandulenko
2d9b3b0b2d GRAPHICS: MACGUI: Initial code for MacEditableText 2020-01-02 18:23:33 +01:00
Eugene Sandulenko
c554e160c4 DIRECTOR: Fix crash on exit 2020-01-02 16:43:39 +01:00
Eugene Sandulenko
39728ee029 DIRECTOR: Create dummy Shared Cast when there is none present 2020-01-02 16:43:17 +01:00
athrxx
923b8ea312 SCUMM: (iMUSE/Amiga) - improve sound driver destructor 2020-01-02 14:42:47 +01:00
Lothar Serra Mari
23f51c8182
NEWS: Update German NEWS file 2020-01-02 00:39:18 +01:00
athrxx
1bd92d0551 KYRA: (EOB) - fix minor graphics glitch
(y-coords for certain doors off by a few pixels)
2020-01-02 00:18:04 +01:00
Eugene Sandulenko
951f592c18 DIRECTOR: LINGO: Fix 'the cast' director version 2020-01-01 22:28:10 +01:00
Eugene Sandulenko
48c6da247a DIRECTOR: LINGO: Improved lexer debug output 2020-01-01 22:28:10 +01:00
Filippos Karapetis
f4a7652e20 STARTREK: Simplify the input box cursor code 2020-01-01 23:16:48 +02:00
BLooperZ
fdeffa1a32 SCUMM: fix loop counter type 2020-01-01 20:28:56 +02:00
BLooperZ
b7275be051 SCUMM: use reliable types in fake bidi 2020-01-01 20:28:56 +02:00
Scott Percival
0c3ffa6330 DIRECTOR: Implement kTheMouseH and kTheMouseV 2020-01-01 23:41:47 +08:00
Eugene Sandulenko
724ced87d0 DIRECTOR: Improve path converting 2020-01-01 15:24:15 +01:00
Eugene Sandulenko
ec56be281d DIRECTOR: Use current path for navigating between movies 2020-01-01 15:15:27 +01:00
Eugene Sandulenko
4526ba8fae DIRECTOR: Fix cast id references 2020-01-01 15:03:45 +01:00
Eugene Sandulenko
693149ee56 DIRECTOR: Load Shared Cast from movie directory 2020-01-01 14:50:53 +01:00
Scott Percival
f263ed4bb6 DIRECTOR: LINGO: Add cb_v4putvalue, casting support for REFERENCE 2020-01-01 17:27:25 +08:00
Bastien Bouclet
9454346782 ENGINES: Copy the data referenced by QualifiedGameDescriptor
The engineId, gameId and description come from static data in the game
engines. When the game engines are compiled as dynamic plugins, the QGD
structure may outlive the engine plugin. Making a copy ensures the data
remains available.

Fixes #11292.
2020-01-01 08:19:48 +01:00
Scott Percival
13e0ea0ad4 DIRECTOR: LINGO: Re-add go as a builtin for v4 2020-01-01 13:10:07 +08:00
Scott Percival
608f89617b DIRECTOR: LINGO: Add wrapper for executing script handlers 2020-01-01 12:47:18 +08:00
Eugene Sandulenko
7121a915d8 DIRECTOR: Move more enums to types.h 2020-01-01 02:54:45 +01:00
Eugene Sandulenko
3258dd9879 JANITORIAL: Fix table formatting 2020-01-01 02:52:35 +01:00
Eugene Sandulenko
c0f7c50b83 DIRECTOR: LINGO: Moved all built-ins to separate namespace 2020-01-01 02:50:32 +01:00
Eugene Sandulenko
bedd04f396 DIRECTOR: LINGO: Replace LC class with namespace 2020-01-01 02:38:58 +01:00
Eugene Sandulenko
d0d7d0899f JANITORIAL: Align table formatting 2020-01-01 02:20:31 +01:00
Eugene Sandulenko
7995def290 DIRECTOR: LINGO: Moved all codes to separate class to lessen Lingo class pollution 2020-01-01 02:10:30 +01:00
Eugene Sandulenko
0d934b6735 PRINCE: I18N: Update translation (Russian)
Currently translated at 100.0% (2757 of 2757 strings)
2019-12-31 23:45:59 +00:00
Eugene Sandulenko
7567d1a4d2 PRINCE: I18N: Update translation (English)
Currently translated at 83.4% (2300 of 2757 strings)
2019-12-31 23:45:59 +00:00
BLooperZ
f13c76fec9 SCUMM: move comment to more appropriate location 2020-01-01 00:31:21 +01:00
BLooperZ
cbcb36ac61 SCUMM: add more comments 2020-01-01 00:31:21 +01:00