Commit Graph

95125 Commits

Author SHA1 Message Date
Paul Gilbert
1dc56a37be ULTIMA8: Fix reading configuration and cleanup of screen resolution code 2020-02-23 09:52:20 -08:00
Roland van Laar
1c3861c4d1 DIRECTOR: LINGO: removal of extra double quote
The single double quote messes up syntax highlighting.
2020-02-23 15:48:33 +01:00
Roland van Laar
fecea6ac2e DIRECTOR: Ignore sprites without a surface
Windows .MMM files behave different than there mac counterparts.
The Director engine doesn't load the sprite surface, i.e.
it makes it a nullpointer. The surface is needed later on to
draw the files.
2020-02-23 15:48:14 +01:00
Roland van Laar
7c94239220 DIRECTOR: Set the backgroundcolor
The background color is called stageColor in Director.
Director uses a palette with 256 colors.

The colors in the Palette have an offset of 255.
2020-02-23 15:15:22 +01:00
Eugene Sandulenko
e700b5a2bc TINSEL: One more compilation fix 2020-02-23 14:31:17 +01:00
Eugene Sandulenko
d8ef2bd723 TINSEL: Fix compilation 2020-02-23 14:27:38 +01:00
Filippos Karapetis
939f7cf2b7 TINSEL: Move all the music related functions into a new Music class 2020-02-23 14:51:01 +02:00
Björn Esser
0974f168b2 BUILD: Use unmodified SAVED_LDFLAGS from env for linking plugins.
In commit dce6b012 we added the LDFLAGS, which were modified by the
configure script, to the linker stage of the plugins.  Doing so turns
out not to work well for all system architectures.

This approach uses the unmodified LDFLAGS, stored in the SAVED_LDFLAGS
variable by the configure script, from the system environment for
linking dynamic plugins, which is very likely not to cause any harm.
2020-02-23 00:57:39 +01:00
Timo Mikkolainen
b19df6cb60 I18N: Update translation (Finnish)
Currently translated at 100.0% (1344 of 1344 strings)
2020-02-22 20:14:27 +00:00
Rodrigo Vegas Sánchez-Ferrero
9738e44ec4 I18N: Update translation (Spanish)
Currently translated at 100.0% (1344 of 1344 strings)
2020-02-22 20:14:24 +00:00
Cameron Cawley
a730e8775b SDL: Clean up keycode usage 2020-02-22 22:11:34 +02:00
Paul Gilbert
e8b6a1a5b4 ULTIMA8: Remaining console commands moved to Debugger 2020-02-22 12:09:27 -08:00
Paul Gilbert
844a26e34b ULTIMA8: Fix compilation of DEBUG code 2020-02-22 11:42:21 -08:00
Paul Gilbert
67a5d0d7e3 ULTIMA8: Shifting UCMachine console methods to Debugger 2020-02-22 11:42:21 -08:00
Paul Gilbert
142a65d1ae ULTIMA8: Shifting game/cheat console methods to Debugger 2020-02-22 11:42:21 -08:00
Paul Gilbert
09c99ae780 ULTIMA8: Shifting more console methods to Debugger 2020-02-22 11:42:21 -08:00
Paul Gilbert
dece483ff5 ULTIMA8: Shifting more console methods to Debugger 2020-02-22 11:42:21 -08:00
Paul Gilbert
bfc05da365 ULTIMA8: Shifting more console methods to Debugger 2020-02-22 11:42:21 -08:00
Filippos Karapetis
5e577729ec TINSEL: Fix compilation 2020-02-22 21:18:33 +02:00
Filippos Karapetis
c2a1bb76d0 MADS: Slight fixes for the new TTS narrator feature
The narrator is now stopped when a dialog is closed prematurely. Also,
the header text is not narrated.
2020-02-22 21:15:49 +02:00
Filippos Karapetis
6cac88ffdb DISTS: Revert accidentally committed changes 2020-02-22 20:53:49 +02:00
Filippos Karapetis
57996bee7d TINSEL: Fix compilation 2020-02-22 20:52:43 +02:00
Filippos Karapetis
2d36d802f5 TINSEL: Remove unused process IDs 2020-02-22 20:04:59 +02:00
Filippos Karapetis
ae7f5ff95e TINSEL: Some work on the Japanese version of DW1 2020-02-22 19:16:30 +02:00
Filippos Karapetis
0fef57b924 TINSEL: Move the current background struct to the heap 2020-02-22 18:41:40 +02:00
Filippos Karapetis
64b750ab2e TINSEL: Move background related functions into a new Background class 2020-02-22 18:41:39 +02:00
Filippos Karapetis
eed258261a TINSEL: Merge PrimeBackground() and InitBackground() 2020-02-22 18:41:39 +02:00
Filippos Karapetis
6fa96182f7 TINSEL: Move font-related code into a new Font class
Also, remove some wrapper functions in tinlib.cpp
2020-02-22 18:41:39 +02:00
Roland van Laar
fd1d4f017a DIRECTOR: LINGO: Specify version 3.1 for commands 2020-02-22 12:59:40 +01:00
Bastien Bouclet
aaa71d53b2 GUI: Don't try drawing widgets with an empty bounding rectangle
Fixes the dropdown buttons being incorrectly drawn in the keymaps
dialog with the classic theme when scrolled down.
2020-02-22 13:14:04 +02:00
Bastien Bouclet
9475192e81 ENGINES: Add a keymaps tab in the in-game options dialog 2020-02-22 13:14:04 +02:00
Bastien Bouclet
94344ccf8e GUI: Allow providing an explicit size for screen_center dialogs
Without an explicit size the layout system does not have enough
constraints to produce nice looking dialogs. Up until now the workaround
was to set explicit an size for some of the widget. This worked well
enough except when resizing down the window up until the widget size
constraints could no longer be enforced. At that point, produced layouts
looked too squished.
2020-02-22 13:14:04 +02:00
Bastien Bouclet
22c75c644a EVENTS: Change DefaultEventManager to be the owner of the keymapper 2020-02-22 13:14:04 +02:00
Lothar Serra Mari
1f6700aa89 I18N: Update translation (German)
Currently translated at 85.1% (1145 of 1344 strings)
2020-02-22 11:01:44 +00:00
Eugene Sandulenko
e1561f0562 Revert "BUILD: Apply LDFLAGS on modules/plugins"
This reverts commit dce6b01258.
2020-02-22 11:50:26 +01:00
Eugene Sandulenko
968e34e695 DIRECTOR: LINGO: Readded sanity check to getting script contexts 2020-02-22 11:23:36 +01:00
Lothar Serra Mari
41585cf8fd I18N: Rebuild translations.dat 2020-02-22 10:47:25 +01:00
Lothar Serra Mari
3c28fa0fac I18N: Rebuild translations from sources 2020-02-22 10:47:07 +01:00
Björn Esser
8c28a2da78 CONFIGURE: Add an environemt variable that discards the --host option
In the previous commit we modified the configure script to silently
ignore some options, that are not needed for ScummVM, but are valid
for the configure script generated by GNU Autotools, so the configure
macro for RPM-based distributions can be used when building a rpm
package for them.

Unfortunately the configure script, as used by ScummVM uses the --host
option to determine the target system it will actually be build for.
Autotools based configure scripts have a --target option for such a
purpose, and use the --host option to determine the system the build
is performed on.

For that reason there should be a way to discard the parameters passed
to the configure script with the --host option.  The easiest approach
to achieve this goal, is to have an environment variable, which when
set influences the configure script to ignore the parameters of the
--host option.

Thus we introduced a variable called 'CONFIGURE_NO_HOST', that will
when set to anything, but an empty value, before invoking the configure
script, have the parameters of the --host option take no influence on
the configure stage (and the build stage as well).
2020-02-22 09:44:53 +01:00
Björn Esser
826b7bfe73 CONFIGURE: Ignore options valid for Autotools configure
RPM-based distributions come with a configure macro, that sets up the
whole build environment.  In order to be able to use this macro, some
options, which are valid for the configure script generated by GNU
Autotools, should not error-out when preparing the build stage.
2020-02-22 09:44:53 +01:00
Björn Esser
dce6b01258 BUILD: Apply LDFLAGS on modules/plugins
Some distributions populate their build environment with special
linker flags, e.g. for hardening purposes such as immediate binding
and/or read-only relocations.

Those flags should be honored when linking dynamic libraries.
2020-02-22 09:44:22 +01:00
Matthew Duggan
3f15ca1c4f ULTIMA8: Fix blends to SDL surface (corrects lamps, smoke, etc) 2020-02-21 20:28:04 -08:00
Eugene Sandulenko
bb15df9eac DIRECTOR: LINGO: Fix archiveIndex for defined functions 2020-02-22 00:33:59 +01:00
Paul Gilbert
93aa5997c6 ULTIMA8: Moving console methods into Debugger 2020-02-20 22:04:57 -08:00
Paul Gilbert
46c68a4545 ULTIMA8: Moved audio process console cmds to Debugger 2020-02-20 21:15:37 -08:00
Paul Gilbert
437cd591bf ULTIMA8: Move Quick Avatar Mover console cmds into Debugger 2020-02-20 20:57:33 -08:00
Paul Gilbert
681d4cb8df ULTIMA8: Move GameMapGump console methods into Debugger 2020-02-20 20:31:00 -08:00
Paul Gilbert
fa8d4e5f3b ULTIMA8: Remove deprecated ifdef blocks 2020-02-20 19:09:31 -08:00
Paul Gilbert
ec3060cb7a ULTIMA8: Update remainder of Console code for ScummVM 2020-02-20 19:03:38 -08:00
Eugene Sandulenko
6a648e185c DIRECTOR: More robust path handling 2020-02-21 01:34:29 +01:00