Commit Graph
137148 Commits
Author SHA1 Message Date
Matthew Duggan 3410b5e776 ULTIMA8: Really fix keypad gump cheat code this time 2021-07-25 15:40:03 +09:00
Matthew Duggan 8377ac93d6 ULTIMA8: Explicitly set in-between pixels to black on doubled videos
Color 0 on the palette is not black in all versions of the game, so we need to
force the background color.  This is not a super-efficient way to do it, but it
works ok.
2021-07-25 15:40:03 +09:00
Matthew Duggan 732d05f036 IMAGE: Make JYV1 decoder a little more robust to bad data 2021-07-25 15:40:03 +09:00
ysj1173886760 99642ec18e DIRECTOR: fix the behaviour of puppet sound. 2021-07-25 14:39:25 +08:00
ysj1173886760 05e80c571c DIRECTOR: fix puppetSound for playing external sounds. 2021-07-25 14:26:25 +08:00
ysj1173886760 dfd3c9c5cd DIRECTOR: fix playing sample sounds in score. 2021-07-25 14:26:25 +08:00
Paul Gilbert 34cbff9dc2 COMMON: Add roundUpCapacity to MemoryWriteStreamDynamic 2021-07-24 18:45:56 -07:00
Paul Gilbert 13f605e18d AGS: Implement music playback in AGSWaves, SFX simplification
I was havbing a bunch of troubles trying to get the SFX loading
to work like the original, particularly when to free audio streams.
In the end, I decided to load sound effects from scratch each time
they're needed.
2021-07-24 17:32:11 -07:00
sluicebox f0fd086948 CREATE_PROJECT: Fix enabling fluidlite 2021-07-24 22:02:38 +01:00
Orgad Shaneh 4c63939ba2 CI: Switch Windows build to Debug
Analysis is 4.5x slower, and most users don't even look at the warnings.
2021-07-24 22:02:10 +01:00
a/ cff82fb357 SAGA2: Remove book/parchment close button images 2021-07-25 05:43:44 +09:00
a/ c2aac871a9 SAGA2: Add command to teleport on click 2021-07-25 05:29:28 +09:00
a/ a9f2fa115b SAGA2: Add save/load location command 2021-07-25 05:29:28 +09:00
a/ c47e518a43 SAGA2: Add more information to search command 2021-07-25 05:29:28 +09:00
a/ 114a0df459 SAGA2: Add TeleportNPC commands 2021-07-25 05:29:28 +09:00
a/ ab81402f33 SAGA2: Expand search command to actors/worlds 2021-07-25 05:29:27 +09:00
a/ c246022f92 SAGA2: Add TeleportToNPC command 2021-07-25 05:29:27 +09:00
a/ 659d6b44ee SAGA2: Remove unnecessary warning 2021-07-25 05:29:27 +09:00
Paul Gilbert 304d82a9ba AGS: Fix writing uninitialized data to savegames 2021-07-24 11:45:26 -07:00
Paul Gilbert 675d67fea1 AGS: Fix crash due to reading outside source bitmap bounds 2021-07-24 11:12:44 -07:00
ysj1173886760 05041e5001 GRAPHICS: MACGUI: introduce builtin pattern to wm. use builtin pattern to draw disabled menu items. 2021-07-24 18:34:56 +08:00
ysj1173886760 091e49fb66 GRAPHICS: MACGUI: implement checked item for macmenu 2021-07-24 16:38:57 +08:00
ysj1173886760 70e2ca433c GRAPHICS: MACGUI: fix rendering text shadow with non-black text. 2021-07-24 15:10:13 +08:00
djsrv 7b7d351a54 DIRECTOR: Use updateVideo instead of renderFrame in b_updateStage
This partially reverts
30f0b3995a.
I mistakenly stated that we need to re-render the entire frame in
b_updateStage in that commit, but that was incorrect.
This fixes a regression in Chop Suey's cursors.
2021-07-24 01:44:27 -04:00
djsrv f1a7d94f2d DIRECTOR: Don't use renderFrame for video updates
This adds a renderVideo function which updates a frame's digital video
and nothing else. renderFrame resets all sprites to what's stored in the
score which is an unwanted side effect.
2021-07-24 01:44:27 -04:00
djsrv d8310a0181 DIRECTOR: Don't add file extensons to video names 2021-07-24 01:44:27 -04:00
djsrv 5add8e86c5 DIRECTOR: Better handle D4 Windows filenames
We need to truncate Windows filenames to a valid 8.3 filename but using
a different algorithm than D3.
2021-07-24 01:44:27 -04:00
djsrv 0aec46b269 DIRECTOR: Skip Windows drive letter in filename 2021-07-24 01:44:27 -04:00
Paul Gilbert e2320808ed AGS: Added AGSTouch plugin implementation 2021-07-23 22:07:27 -07:00
Paul Gilbert 862b7cd831 AGS: Remove plugin structures for unknown plugins during startup 2021-07-23 22:07:26 -07:00
Matthew Duggan f185e41956 ULTIMA8: Item sorter improvements for large flat objects
Large flat squares should get sorted below other flat things.  In U8, the
definition of large is 128x128, but in Crusader they can also be larger than
that.

This fixes the paint order of hazard tape stripes in Crusader. It may also
improve paint order for Ultima 8 which has some big flat squares larger than
128x128 too (eg, shape 165 or 318 which are 256x256).

Also added tests for flat object sorting.
2021-07-24 13:48:09 +09:00
Matthew Duggan 7fcbc9249c ULTIMA8: Make Usecode variant selection more generic
There are more variants than I initially thought. Make the logic a bit more
generic.
2021-07-24 13:48:09 +09:00
Matthew Duggan ce62a023eb ULTIMA8: Update usecode function tables
Added the function list for the FR version of remorse and the DE version of
regret.

Also updated output with newer script for other alternate versions.  Results
should be more accurate than before and also added offset comments so I can fix
errors in the future more easily.
2021-07-24 13:48:09 +09:00
Paul Gilbert c2dc7c9e86 AGS: Fixes to playing sound effects in AGSWaves 2021-07-23 20:08:21 -07:00
Paul Gilbert 2702b13768 AGS: Built-in script methods were being added to wrong import list 2021-07-23 20:08:21 -07:00
Paul Gilbert 2a3bfcf8c6 AGS: Clear methodName in RuntimeScriptValue for other data types 2021-07-23 20:08:20 -07:00
Walter van Niftrik 5f6c88ef15 ADL: Add support for later French hires1 2021-07-24 00:56:51 +02:00
Walter van Niftrik 01e6ec1649 ADL: Use slot 15 for autosave 2021-07-24 00:56:51 +02:00
Walter van Niftrik e8dd3b7085 ADL: Add delay after printing strings in hires1 2021-07-24 00:56:51 +02:00
Walter van Niftrik 56390d5f5f ADL: Add support for hires1 french (early version) 2021-07-24 00:56:51 +02:00
Walter van Niftrik f32dde20bd ADL: Scan for executable strings in hires1 2021-07-24 00:56:51 +02:00
Walter van Niftrik 960811fc55 ADL: Add support for another early hires1 2021-07-24 00:56:51 +02:00
Walter van Niftrik eb6751a055 ADL: Try VTOC track 0x10 if 0x11 fails 2021-07-24 00:56:51 +02:00
Walter van Niftrik ce2742a828 ADL: Add detection entry for early hires1 2021-07-24 00:56:51 +02:00
Walter van Niftrik 28e049e8d6 ADL: Require C++11 2021-07-24 00:56:51 +02:00
djsrv ab0fc404c1 DIRECTOR: Process stepMovie events if outdated Lingo is allowed
Used in Meet MediaBand.
2021-07-23 18:08:53 -04:00
Scott Percival 6ba16f7b40 DIRECTOR: Fix sound playFile behaviour
A call to AudioFileDecoder::getAudioStream() was missed during the
refactor in 682d2dbb6c, meaning that any
sound invoked by "sound playFile" would loop.

Fixes the narration text in Chop Suey (e.g. TABLE.DIR) from looping and
being unable to progress.
2021-07-23 23:48:34 +08:00
ysj1173886760 2901700b5a DIRECTOR: comment out the procedure of applying ghost ink effect to text sprite.
it's wrong now.
2021-07-23 19:04:11 +08:00
ysj1173886760 238971bc46 GRAPHICS: MACGUI: initialize slant of macFontfont. 2021-07-23 18:16:22 +08:00
ysj1173886760 7e2f3edc61 GRAPHICS: MACGUI: initialize bitImage to 0. 2021-07-23 17:06:38 +08:00