145158 Commits

Author SHA1 Message Date
Walter Agazzi
bd41e8272d Updated build version (3.6.0.52)
Partially from upstream d64276938a02f52d5a2445cee50794a519c8a340
2023-09-16 13:32:59 +02:00
Walter Agazzi
6166993f42 AGS: Engine: fixed WalkStraight() was resetting animation
if called again

This makes Character.WalkStraight() have the same animation
keeping logic as Character.Walk().
Also reduce code duplication by calling walk_or_move_character()
 which handles blocking movement already.
 From upstream c5b04eb0c8991026ebca593d6f3254dfe96fd290
2023-09-16 13:32:59 +02:00
Walter Agazzi
47b3cb7de7 AGS: Engine: rename legacysaves config options, bring to consistency
From upstream e8d043327f896ce4f10aee04d55a4029ce81d1eb
2023-09-16 13:32:58 +02:00
Walter Agazzi
ae30f78761 AGS: Engine: support mismatching GUI numbers in legacy saves
From upstream 9d2fa2c26dda45fa53141a625c71ec63601cd9e2
2023-09-16 13:32:58 +02:00
Torbjörn Andersson
3c7f90ecff NANCY: Add MD5 for Nancy 6 2023-09-16 12:51:50 +02:00
Kaloyan Chehlarski
abc4168433 NANCY: Properly pause all scene sounds
Fixed an issue where certain sound channels wouldn't get
paused when changing state. Collapsed the pause/unpause
functions inside Scene into a single function, and placed it
inside SoundManager.
2023-09-16 13:14:52 +03:00
Kaloyan Chehlarski
c3e7b418b9 NANCY: Fix nancy4 elevator death scene
Fixed an edge case in nancy4 where rather than ending
the game, a movie teleports the player to an incorrect
location.
2023-09-16 13:14:52 +03:00
Kaloyan Chehlarski
11f6f9ec51 NANCY: Implement nancy4 SafeDialPuzzle
Added support for nancy4's sextant puzzle, which uses
a modified SafeDialPuzzle action record. Also renamed the
record, since it was erroneously named SafeLockPuzzle
instead of its actual name.
2023-09-16 13:14:52 +03:00
Kaloyan Chehlarski
555de022cb NANCY: Support nancy6 cursors 2023-09-16 13:14:52 +03:00
Kaloyan Chehlarski
d3864e106d NANCY: Add support for nancy6 static data
Nancy6 data inside nancy.dat doesn't contain any strings,
since those are now found inside the CONVO file.
2023-09-16 13:14:52 +03:00
Kaloyan Chehlarski
a45544cb0f DEVTOOLS: Add nancy6 data to nancy.dat 2023-09-16 13:14:52 +03:00
Kaloyan Chehlarski
722ee8c3e9 NANCY: Correctly read nancy6 FONT chunks
Added support for nancy6's font data, which now includes
some extended ASCII characters.
2023-09-16 13:14:52 +03:00
Kaloyan Chehlarski
a862dcef29 NANCY: Add support for terse Conversation records
Added support for ConversationCelT and
ConversationSoundT, which are identical to their sister types,
except instead of containing their caption texts inside the
record data, they contain a key pointing inside the Convo
CVTX struct. First introduced in nancy6.
2023-09-16 13:14:52 +03:00
Kaloyan Chehlarski
74145342ea NANCY: Properly read CVTX chunks
Fixed a typo that caused most of CVTX chunks to not
actually be read.
2023-09-16 13:14:52 +03:00
neuromancer
b2c5976ffc FREESCAPE: assert to avoid null pointer derreference in addWalls 2023-09-16 11:39:28 +02:00
neuromancer
6a61fe75a1 FREESCAPE: initialize extraColor local variable in load8bitArea 2023-09-16 11:39:28 +02:00
neuromancer
46eabef441 FREESCAPE: assert to avoid null pointer derreference in restoreECD 2023-09-16 11:39:28 +02:00
neuromancer
2467a05751 FREESCAPE: use references instead of pointers in restoreECD 2023-09-16 11:39:28 +02:00
neuromancer
cb5907eadd FREESCAPE: improved error handling in loadBundledImage 2023-09-16 11:39:28 +02:00
neuromancer
050688cb72 FREESCAPE: delete unused object when parsing groups 2023-09-16 11:39:28 +02:00
Walter Agazzi
c6a1c2021f I18N: Update translation (Italian)
Currently translated at 100.0% (1986 of 1986 strings)
2023-09-16 09:06:03 +00:00
Xaviu
da5bf337fe I18N: Update translation (Catalan)
Currently translated at 81.4% (1618 of 1986 strings)
2023-09-15 23:41:11 +00:00
Matthew Jimenez
20ae3b79f4 ULTIMA8: Clean up fillBlended 2023-09-15 16:57:46 -05:00
Matthew Jimenez
bd32dc0fbe ULTIMA8: Move paint invisible back to a separate loop to improve speed 2023-09-15 16:57:46 -05:00
VAN-Gluon
06f48bdf4d I18N: Update translation (Japanese)
Currently translated at 100.0% (1986 of 1986 strings)
2023-09-15 13:41:12 +00:00
Marcel Souza Lemes
9b259a17bf I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (1986 of 1986 strings)
2023-09-15 13:41:11 +00:00
AndywinXp
06052c78ea SCUMM: Use "compat" param when checking for heap saves in loadState()
Unfortunately _saveTemporaryState really is unrealiable.
2023-09-15 10:48:18 +02:00
neuromancer
72162519a6 FREESCAPE: use safer types when comparing bits 2023-09-15 10:03:50 +02:00
neuromancer
d1e522baca FREESCAPE: stop the clock when game is paused 2023-09-15 09:04:53 +02:00
neuromancer
e6a1f794f0 FREESCAPE: correctly handle game binary variables 2023-09-15 09:04:53 +02:00
Matthew Jimenez
147b794287 ULTIMA8: Cleanup of FadedBlit and MarkedBlit 2023-09-14 22:32:28 -05:00
Matthew Jimenez
10312d25cd ULTIMA8: Move logic from pixel blend functions directly to the method using them.
This avoids a few extra pixel format calculations & improves speed for paint invisble.
2023-09-14 17:49:50 -05:00
AndywinXp
b4856b037c SCUMM: HE (Sound): Fix nasty timer related bugs
This would mess up audio in some versions of PUTTZOO,
after pausing the game. Whew...
2023-09-14 22:41:21 +02:00
Kaloyan Chehlarski
78522c9122 NANCY: Silence compiler warning 2023-09-14 22:54:17 +03:00
Kaloyan Chehlarski
53a20b9002 NANCY: Finish implementing RaycastPuzzle
The raycasted maze puzzle in nancy3 is now completable
and nearly feature-complete. This includes proper lighting,
non-wonky movement, and sound FX.
Currently still missing  are the debug features like showing
the map, enlarging the 3D viewport, moving up/down,
and ghosting through walls. Since they're not supposed to
be used by players, they were deemed nonessential and
will be implemented at a later point.
2023-09-14 22:54:17 +03:00
Kaloyan Chehlarski
edf03037a2 NANCY: Properly clear deleted RenderObjects from screen
Added code that makes sure that when a RenderObject is removed from GraphicsManager's internal list, its graphics
do not stay on screen.
2023-09-14 22:54:17 +03:00
Kaloyan Chehlarski
c0b89cccbe NANCY: Fix PasswordPuzzle reading
Added two missing version checks without which older
versions of the puzzle would crash the game.
2023-09-14 22:54:17 +03:00
Kaloyan Chehlarski
6c4621b8ee NANCY: Document engine data structs
Added comments describing the structs inside enginedata.h
2023-09-14 22:54:17 +03:00
Kaloyan Chehlarski
6b719b4b44 NANCY: Read CVTX chunks
Added code for reading CVTX chunks, which contain
an array of key-value pairs of strings (introduced in nancy6).
2023-09-14 22:54:17 +03:00
Kaloyan Chehlarski
538e124959 NANCY: Make nancy6 bootable
Made changes to BOOT chunk reading code so the game
no longer crashes on startup.
2023-09-14 22:54:17 +03:00
AndywinXp
eb44252d88 SCUMM: IMUSE: Fix quiet sound beginning after loading a heap save
E.g. when exiting the lost dialogue of Plato screen in INDY4,
sound would dip down for a fraction of second. This is a result
of a workaround of our own, which should be disabled during
heap/temporary saves handling.
2023-09-14 21:45:56 +02:00
AndywinXp
9c724a203c SCUMM: HE (Sound): Do not stop sounds for heap saves under version 80
This is explicitly what HE72 and below asks; it is implied that
whatever sound will be running at that point will be handled
via the scripts.
2023-09-14 21:43:24 +02:00
AndywinXp
44fc2ae2ee SCUMM: HE: Fix #14621
The issue, although minor, was there because of a workaround
which is incompatible with what the original HE code is trying to
do at that point; removing that workaround for HE games fixes it.
2023-09-14 21:41:40 +02:00
AndywinXp
127062cdbf SCUMM: IMUSE: Stop speech when loading temporary save state
This fixes an inaccuracy in situations where a talkie
continues after exiting from a temporary save state,
e.g. looking at the National Archeology journal in Indy4
and exiting the screen before speech is over.
2023-09-14 20:11:47 +02:00
AndywinXp
e949b1ed47 SCUMM: GUI: Restore previous _saveSound at the end of menu
Fixes the main part of ticket #14618.
Fix suggested by eriktorbjorn.
2023-09-14 15:17:54 +02:00
AndywinXp
da8be8c0db SCUMM: Don't pause sound engine for temporary saves
This get rids of a whole class of sound glitches across the
engine, where temporary saves paused sound for a fraction
of second, resulting in a hiccup.

Examples: reading the dialogue of Plato in INDY4, looking
at the recipe book in COMI.

Concept suggested by eriktorbjorn, and proved by the fact
that disasms do not pause audio at when saving.
2023-09-14 15:12:11 +02:00
Lothar Serra Mari
36ef3a11c2 I18N: Update translation (German)
Currently translated at 100.0% (1986 of 1986 strings)
2023-09-14 10:59:13 +00:00
Purple T
6d7e01b6f0 I18N: Update translation (French)
Currently translated at 100.0% (1986 of 1986 strings)
2023-09-14 10:18:48 +00:00
Antoniou Athanasios
05c7fffcc2 I18N: Update translation (Greek)
Currently translated at 100.0% (1986 of 1986 strings)
2023-09-14 08:46:20 +00:00
IlDucci
4f5c7a03f9 I18N: Update translation (Spanish)
Currently translated at 100.0% (1986 of 1986 strings)
2023-09-14 08:40:27 +00:00