Commit Graph
137148 Commits
Author SHA1 Message Date
Cameron Cawley 60c7372198 OPENGL3D: Make use of the active rect provided by WindowedGraphicsManager 2022-06-18 19:33:27 +01:00
Coen Rampen e667376511 CHEWY: Fix intro music
playIntroSequence would not set the playVideo stopMusic parameter to false,
so the music would be immediately stopped. Also, the CfoVideoTrack destructor
would stop all mixer channels, including the music. This would cause the music
to stop at the end of each video. This is replaced by a call to stopAllSounds,
and stopMusic is only called when the music is in the video data.
This commit also fixes an issue where playing a sound on a channel where a
sound was already active would not stop the old sound, but replace the sound
handle with a new one. The old sound could then no longer be accessed by the
sound class.
2022-06-18 20:28:12 +02:00
Thierry Crozat 4d2d8b45d4 AGS: Fixed trying to erase background speech overlays twice
From upstream 5f137874738c86852b5ef7da2933fab7e78ae89b
2022-06-18 18:32:09 +01:00
Thierry Crozat a477deb74c AGS: Fixed rendering scaled up WFN fonts
From upstream adc9121f30c028a071783ffb6645bb72aee482ea
2022-06-18 18:23:38 +01:00
Thierry Crozat 15563b5a7c AGS: Changed SpriteCache::FreeMem to comply with sound cache
From upstream 94a462d52d5533f4ebb4cef1bbddd280b4f876a2
2022-06-18 18:21:35 +01:00
Thierry Crozat fa3c524d13 AGS: GetWaitSkipResult: clear SKIP_AUTOTIMER flag (return 0)
From upstream f5159c707a0c8616b0cca39f138c2d7e53058bf5
2022-06-18 18:15:51 +01:00
Thierry Crozat 84910e9a10 AGS: Updated build version (3.6.0.26)
From upstream 2632528dd5805e4b0585c414fecfb8bed6e4f584
2022-06-18 18:14:01 +01:00
Thierry Crozat ed8526f30a AGS: Updated Script API version for recent changes in wait skip values
This is to allow to distinguish implementations in case there were games
using older variants (although it's not clear if any had yet).

From upstream 11315b3487d22ce4830d60fad36ae7124aa45e55
2022-06-18 18:11:57 +01:00
Paweł Kołodziejski d8d42bf2fe GRIM: Ported debug shadow plane draw from opengl to tinygl 2022-06-18 18:56:30 +02:00
Paweł Kołodziejski ce0427e130 GRIM: Moved debug color shadow draw 2022-06-18 18:55:35 +02:00
neuromancer 3fff0fd187 HYPNO: implemented original exit menu in boyz 2022-06-18 18:47:35 +02:00
neuromancer c5710b585a HYPNO: highlight all territories during flashback mode in boyz 2022-06-18 18:47:35 +02:00
Le Philousophe 84baac903a RISCOS: Add LDFLAGS to plugins too 2022-06-18 17:42:38 +02:00
Le Philousophe bab7027bab PLUGINS: Fix PLUGIN_LDFLAGS value inherited from environment
It was not always taken into account because lines in _mak_plugins were
overwriting it
2022-06-18 17:38:12 +02:00
Le Philousophe a591c8b6bf RISCOS: Add expf to functions to link 2022-06-18 16:10:22 +02:00
Le Philousophe b065158898 RISCOS: Don't build SDLPluginProvider: it doesn't work for us
And it fails to build with VFP because libdl is not compiled with VFP
2022-06-18 16:10:22 +02:00
D G Turner f567b0f96a AGS: Fix GCC Compiler Warnings 2022-06-18 14:10:00 +01:00
Coen Rampen 4375d7edc5 AUDIO: Fix VOC infinite loop
This fixes a possible infinite loop in VocStream. It depends on the stream size
matching the size specified in the VOC block headers, but if the size in the
headers is incorrect and larger than the stream size, it will keep trying to
read the stream. This is fixed by adding an end-of-stream check to the error
check.
2022-06-18 14:13:32 +02:00
Coen Rampen d81d6e593e CHEWY: Fix pops at start of SFX and speech
SFX and speech data are actually VOC format without the header. This was not
correctly processed and non-audio data was played as audio, causing popping.
This commit adds a VocStream subclass to handle this variant of the VOC format.
2022-06-18 14:13:32 +02:00
Coen Rampen 79c778c6c9 AUDIO: Enable subclassing of VocStream 2022-06-18 14:13:32 +02:00
Torbjörn Andersson 7160d46a3f Revert "AGS: Fix compile error due to wrong 64-bit type"
This reverts commit ab15d010da.

It's not needed, since AGS now has uint64_t.
2022-06-18 11:59:15 +02:00
Eugene Sandulenko 11aa622e6f DIRECTOR: Do not hog CPU 2022-06-18 11:26:49 +02:00
Le Philousophe c7546f99df AGS: Add missing uint64_t typedef 2022-06-18 10:24:39 +02:00
Torbjörn Andersson ab15d010da AGS: Fix compile error due to wrong 64-bit type 2022-06-18 10:18:02 +02:00
neuromancer 8186f29f77 HYPNO: fix timer usage during bus puzzle (hard) in spider 2022-06-18 10:00:10 +02:00
elasota 20e8482b3d MTROPOLIS: Correctly parse quirky event format in set modifier 2022-06-17 22:15:56 -04:00
elasota 72fff89c04 MTROPOLIS: Fix set modifier source using the wrong string length field 2022-06-17 21:37:58 -04:00
elasota 1b8fa06933 MTROPOLIS: Fix some Coverity errors 2022-06-17 21:37:58 -04:00
Thierry Crozat babf223ab7 AGS: Add WaitInput to Script API
- modify skip result to use a flag + data bitwise combination
- also include WaitInput in Script API header
- the input flags can only be 8-bit, since wait_skipped_by and
  key_skip_wait are char, and key_skip_wait is serialized in
  gamestate.

From upstream 9e3d58a83dda00bff9073adb31b2b97adcf8d020
2022-06-18 01:08:58 +01:00
Thierry Crozat 282ee9ad97 AGS: Fixing more trivial warnings
From upstream 83f7d9857e70f7d1d10fedf61196740d20ba0b0a
2022-06-18 01:08:54 +01:00
Thierry Crozat 1cd8fa0d30 AGS: Fixed CreateTextCore not passing room layer flag further
From upstream e5aaa87573c6357edeb50a526892619ff748ea12
2022-06-18 01:03:30 +01:00
Thierry Crozat ee23fde329 AGS: Fixed SpriteCache::FreeMem not using an argument
From upstream 0369250309f797eb5035fcdf75cd8ad882fa317e
2022-06-18 01:03:30 +01:00
Thierry Crozat 1414f0ba92 AGS: Slightly more detailed sprcache info on Ctrl+Alt+V
From upstream: 9f5b5d3afa86c8bf0925a358e3f581fe40f67c1c
2022-06-18 01:03:30 +01:00
Thierry Crozat fad62e8cef AGS: Refactored SpriteCache's MRU list
Using ideas from Nick Sonneveld (@sonneveld).
From upstream: 1f57208879ca278e5b3c45d05a8c29f30632a5bd
2022-06-18 01:03:30 +01:00
Thierry Crozat 73ff6317fd AGS: Add some more std replacements needed for recent AGS code 2022-06-18 01:03:30 +01:00
Cameron Cawley 038579d0d9 PLUGINS: Improve warnings when allocation fails 2022-06-17 20:38:37 +01:00
Cameron Cawley b862b55822 RISCOS: Ensure that functions used by plugins can be found in the main executable 2022-06-17 21:31:04 +02:00
Cameron Cawley f9e64f2293 RISCOS: Use OS_SynchroniseCodeAreas to flush the cache 2022-06-17 21:31:04 +02:00
Le Philousophe 02808a019a RISCOS: Add an ELF plugin provider
This will allow do dynamically load plugins and not be limited by
24-bits relocations
2022-06-17 21:31:04 +02:00
Le Philousophe 87f515a6e0 PLUGINS: Force export of __dso_handle
Some toolchains (RiscOS) may not export it in certain conditions.
This list does not enforce the symbol to be here so it shouldn't fail
build on platforms without this symbol.
2022-06-17 21:31:04 +02:00
Le Philousophe 9a8ed07914 PLUGINS: Use host_os instead of backend to select PLUGIN_DIRECTORY
RiscOS uses SDL backend but needs a different PLUGIN_DIRECTORY
2022-06-17 21:31:04 +02:00
Le Philousophe 052477ab7a PLUGINS: Allow use of commas in executable name
That's how RiscOS files store their type
2022-06-17 21:31:04 +02:00
Le Philousophe f60d229c78 PLUGINS: Implement R_ARM_PC24 relocations
These relocations are used in RiscOS even when using long calls.
As it's a relative relocation, nothing is to be done.
2022-06-17 21:31:04 +02:00
Le Philousophe e5b7df2a56 DOCS: Update Android docs to match new touch controls settings 2022-06-17 21:29:23 +02:00
neuromancer 48e32b28b7 HYPNO: update checkpoint after solving other puzzles in spider 2022-06-17 20:54:36 +02:00
neuromancer 4cd06a5022 HYPNO: update checkpoint after solving one puzzle in spider 2022-06-17 19:24:24 +02:00
neuromancer c36379fe53 HYPNO: do not save profile if name is empty in boyz 2022-06-17 19:24:24 +02:00
neuromancer 8722c25702 HYPNO: do not hit the player when attack frames are zero in boyz 2022-06-17 19:24:24 +02:00
Eugene Sandulenko 418e15ef52 WAGE: Added support for punycoded file names and added first entry with use of it 2022-06-17 15:13:25 +02:00
Eugene Sandulenko d2c524bbfa DEVTOOLS: COMPANION: Fix 'mac' mode without encoding specified 2022-06-17 14:24:04 +02:00