Roland van Laar
79dabe3435
DIRECTOR: fix string compare when empty
...
Variable c2 would be unintialized when the s1 would be "", the result is
undefined behavior.
Thanks to LePhilousophe for finding it.
2022-03-25 16:28:18 +01:00
Roland van Laar
4053a85be6
DIRECTOR: LINGO: XObj XplayAnim: clean up builtins
...
Only clean up the builtins from XPlayAnim and not all builtins.
2022-03-25 16:25:40 +01:00
Matthew Duggan
a74b081973
TEST: Add more tests for Common::INIFile
...
My initial tests were quite minimal as I was trying to fix the build. Now more
of the basic INIFile functionality is tested.
2022-03-25 18:16:07 +09:00
Matthew Duggan
125288c634
ULTIMA8: Fix treasure frame validation again, 0 is ok.
...
My previous comment and code were a bit wrong due to a copy-paste error.
2022-03-25 18:10:21 +09:00
D G Turner
fae75b63fd
SAGA2: Remove Now Unused Debug Define Symbols
2022-03-25 09:07:34 +00:00
D G Turner
2e53f76ed8
ULTIMA: ULTIMA8: Fix Type Limits GCC Compiler Warning
...
This appears to be a missed equals symbol in cut and paste when
compared to the comment so correcting.
2022-03-25 09:05:27 +00:00
Matthew Duggan
97a0e8d2d9
TEST: Add tests for Common::INIFile
...
This is partly an attempt to fix the build on debian and windows as apparently
the INIFile class is not being linked in to the tests.
2022-03-25 17:35:51 +09:00
Matthew Duggan
2345a0d3a6
ULTIMA8: Add error checking for treasure loader
...
This might help with bug #12182 where the comment suggests there is a problem
with loading the treasure data. To make sure it loads properly, added a lot
more error checking and error messages, and created unit tests for the same.
2022-03-25 16:44:59 +09:00
Matthew Duggan
3d2a2cc610
ULTIMA8: Small const correctness improvements
2022-03-25 13:37:07 +09:00
Matthew Duggan
8d9081e7aa
ULTIMA8: Destroy actor contents on death only for FAST_ONLY
...
On death, the original game only destroys the contents for actors who are
marked as FAST_ONLY, so important NPCs should not lose their contents.
This should improve the behavior a bit and might help to fix bug #12504 (where
malchir should drop a book) - but it does not totally fix that problem so there
is still something else that needs fixing.
2022-03-25 13:34:07 +09:00
D G Turner
713f51d209
AGS: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
...
This is emitted when -Wsign-compare is passed.
2022-03-24 23:50:22 +00:00
Strangerke
cdcefacaee
CHEWY: after check in IDB, small change in adsMenu()
2022-03-25 00:28:32 +01:00
Roland van Laar
f7742344e5
DIRECTOR: don't error on dumping dangling scripts
...
Some scripts are of type NoneScript or unkown.
Those scripts halted dumping. Now the scripts get a typeName of none or unkown.
2022-03-24 22:16:05 +01:00
Walter Agazzi
64a03cea99
I18N: Update translation (Italian)
...
Currently translated at 100.0% (1715 of 1715 strings)
2022-03-24 17:14:02 +00:00
ScummVM-Translations
51dcb18ca5
I18N: Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2022-03-24 13:46:16 +00:00
Eugene Sandulenko
4c1d2153a3
PRINCE: Add Spanish translation support. PR #3721
...
After clearing up the miscommunication, the Spanish support is there.
2022-03-24 14:45:42 +01:00
VAN-Gluon
90a76d5a32
I18N: Update translation (Japanese)
...
Currently translated at 100.0% (1715 of 1715 strings)
2022-03-24 12:27:29 +00:00
Marcel Souza Lemes
876336b9c2
I18N: Update translation (Portuguese (Brazil))
...
Currently translated at 100.0% (1715 of 1715 strings)
2022-03-24 12:27:28 +00:00
Purple T
39eb6223ec
I18N: Update translation (French)
...
Currently translated at 99.8% (1713 of 1715 strings)
2022-03-24 12:27:27 +00:00
Paul Gilbert
86f3f8933b
AGS: Use real font height for speech & dialog option bitmap sizes
...
From upstream 22af623cadce89ac27777cf2178649a71fc2a345
2022-03-23 20:50:27 -07:00
Paul Gilbert
d378ce6d89
AGS: Use formal font height to set default linespacing, for now
...
From upstream aedbd80b6985981e5310c0928ad651143452ddcc
2022-03-23 20:40:34 -07:00
Paul Gilbert
8511f7b36c
AGS: Adjusted comment in SetObjectFrame to make it bit more visible
...
From upstream 6c6a5ff35a29eedbcd8aa1a33ec99de2f3536b09
2022-03-23 20:40:23 -07:00
Paul Gilbert
de739c1913
AGS: Updated build version (3.6.0.10)
...
From upstream a048e17a7a4eaa5377bba95244565ab5f1fb2f76
2022-03-23 20:35:13 -07:00
Paul Gilbert
263ae9d8fd
AGS: File.ReadRawLineBack() can read lines longer than 200 chars
...
From upstream 4a1e1440d115b2259b9b960e01753a4ddabedd2e
2022-03-23 20:32:53 -07:00
Paul Gilbert
094879ed48
AGS: Fix some remaining MAXSTRLEN to point to Globals
2022-03-23 20:30:46 -07:00
Paul Gilbert
c0c76de84a
AGS: An ugly workaround for legacy label linespacing
...
From upstream 9847f5b34abd7f3e5d3d1ca496ef2a991087e81e
2022-03-23 20:22:26 -07:00
Paul Gilbert
0211fa25e6
AGS: Moved linespacing precalc to post_init_font()
...
From upstream f848107265d2662819636790d24c13292fe2ec82
2022-03-23 20:17:33 -07:00
Paul Gilbert
52b3d7437c
AGS: Updated comment in ccInstance::AddGlobalVar() about glvar fixup
...
From upstream 23c2e0aee21de7960e5660aca6c96bf039ead1db
2022-03-23 20:13:06 -07:00
Paul Gilbert
8befb47c05
AGS: Some corrections to reading legacy config
...
From upstream 183e1e2dff4d487eda5ef01ed54867fa5fec7927
2022-03-23 20:09:50 -07:00
Paul Gilbert
34c2d428b6
AGS: Simpler method of parsing window modes in user config
...
From upstream 4010bf5bb315498436199d356e2d2e882442316b
2022-03-23 20:09:50 -07:00
Paul Gilbert
ca4c91031b
AGS: Configurable font init mode, for backward compatibility
...
From upstream 9a11a1d4334aef99b8b516a13d5a5bcc0284fde7
2022-03-23 20:09:46 -07:00
athrxx
7f3ea3074f
SCUMM: (LOOM) - fix bug no. 13373 (Rusty's ghost can disappear completely)
...
This bug can only happen if Actor::setActorWalkSpeed() is called on a moving actor. But at least this is one such occasion...
The problem is that calcMovementFactor() gets called from common code here, so it has to be made virtual. Otherwise it will not call the correct version of the function for v3.
2022-03-24 00:17:24 +01:00
Strangerke
947f7afd6b
CHEWY: fix coverity 1476364
2022-03-23 23:42:42 +01:00
Strangerke
65216825d8
CHEWY: Fix coverity 1486928, some renaming
2022-03-23 23:13:04 +01:00
Antoniou Athanasios
e022804fe5
I18N: Update translation (Greek)
...
Currently translated at 100.0% (1715 of 1715 strings)
2022-03-23 20:39:21 +00:00
Walter Agazzi
6b2a81324a
AGS: Add detection for updated Wadjeteye games (Windows)
2022-03-23 18:22:37 +01:00
Walter Agazzi
1e93d981b1
AGS: Add language detection for games (B)
2022-03-23 18:22:37 +01:00
George Kormendi
3bb243594e
I18N: Update translation (Hungarian)
...
Currently translated at 100.0% (1715 of 1715 strings)
2022-03-23 17:15:23 +00:00
IlDucci
94538386e8
I18N: Update translation (Spanish)
...
Currently translated at 100.0% (1715 of 1715 strings)
2022-03-23 17:15:17 +00:00
Eugene Sandulenko
4cb7ecb48f
I18N: Update translation (Ukrainian)
...
Currently translated at 100.0% (1715 of 1715 strings)
2022-03-23 16:14:06 +00:00
Eugene Sandulenko
a83df02639
I18N: Update translation (Russian)
...
Currently translated at 100.0% (1715 of 1715 strings)
2022-03-23 16:14:01 +00:00
ScummVM-Translations
abe9ebbd4e
I18N: Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2022-03-23 15:20:00 +00:00
Torbjörn Andersson
583b8bed0a
NEWS: Mention optional workarounds in SCUMM
2022-03-23 16:18:55 +01:00
ScummVM-Translations
109f8113cc
I18N: Update translations templates
2022-03-23 15:04:00 +00:00
ScummVM-Translations
bdc6f8ef50
I18N: Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2022-03-23 15:03:59 +00:00
Torbjörn Andersson
608a334c22
SCUMM: Make recent Loom workarounds optional
...
Unfortunately that means I had to add the enhancements checkbox to the
EGA Loom settings widget, because I can't see any way to automatically
combine the static and dynamic settings widget. Oh well.
2022-03-23 16:02:49 +01:00
ScummVM-Translations
1abbbf5641
I18N: Update translations templates
2022-03-23 14:23:25 +00:00
Torbjörn Andersson
b66e84d57a
SCUMM: Change "Use correct font spacing" to a game-specific enhancement
...
It doesn't make much sense to keep this as a separate option, when
fixing the font spacing is an enhancement specifically for the Mac
version of Indiana Jones and the Last Crusade.
2022-03-23 15:23:10 +01:00
Torbjörn Andersson
cb561f462e
SCUMM: Read the "enable_enhancements" setting only once
...
I can't change during gameplay, it's shorter to type, and we won't
accidentally involve the config manater in some tight loop.
2022-03-23 15:23:10 +01:00
Torbjörn Andersson
afb807599b
SCUMM: Make palette effects in Mac b/w Loom / Last Crusade optional
2022-03-23 15:23:10 +01:00