Commit Graph
137148 Commits
Author SHA1 Message Date
Thierry Crozat 10033d195e AGS: Store camera & viewport handles, not script ptrs, for safety
From ustream dc1421a88cd620bd1d34f8bf856e8baa57a50904
Also includes upstream 09c27c38c3afa27194b0b5dd9276036b76267488
2022-06-19 20:50:24 +01:00
Thierry Crozat b49d3b2e9f AGS: In unload_game_file() don't error if quit during the of dialog
From upstream c7bd448dfffc197c4398a38395b444457c958d24
2022-06-19 20:50:24 +01:00
Thierry Crozat 9e940e4360 AGS: Put more unused code under OBSOLETE
From upstream 0d129c9cf854fe12e277fe6b52a8dca076a51ad8
2022-06-19 20:50:24 +01:00
Thierry Crozat e90fb00412 AGS: Replaced more strcpy with snprintf, for safety
From upstream 1b6cf053ebbe85e7ba6c5828e2582d757503bc16
2022-06-19 20:50:24 +01:00
Thierry Crozat 8d36266724 AGS: Replaced strcpy with snprintf in old string API impls
From upstream 44d99badb2708fb99b1f7b9bc024082d570706c7
2022-06-19 20:50:24 +01:00
Thierry Crozat 2c7d51ce16 AGS: Replaced EnginePlugin's filename from char array to String
From upstream 252d9d198ac665546bd7ed3f3b8afa018bd62b9f
2022-06-19 20:50:24 +01:00
Thierry Crozat 884048108d AGS: Replaced freadstring/fwritestring with safer StrUtil functions
From upstream 73af6bafd2e590956b7a248cf3615c3b6df8dcd2
2022-06-19 20:50:24 +01:00
Paul Gilbert bb45dcc729 CHEWY: Fix endless loop at start of room 0 feeding 2022-06-19 12:18:45 -07:00
Paweł Kołodziejski b0088b5d0c DEVTOOLS: Fixed compiler warning 2022-06-19 21:06:37 +02:00
Paweł Kołodziejski 4053592c69 PS3: Handle platform specific features 2022-06-19 20:13:37 +02:00
Donovan Watteau 06edf3dd0c SCUMM: Fix Kerner's text not matching his voice in New York
The Talkie version of Indy4 changed Kerner's line when he uses the phone
booth in New York (reusing some words from the research lab scene), but
the text doesn't match with the voice in most releases: he says Ubermann
but the text mentions Fritz, in the English version.

The 1994 Talkie Macintosh release fixed this line, so we can replicate
this later, official fix as an enhancement for all the English talkie
releases.
2022-06-19 20:59:26 +03:00
Cameron Cawley caba9122f8 HYPNO: Reduce memory usage when opening .lib archives 2022-06-19 20:50:58 +03:00
athrxx f96819149f SCI: (SCI1+) - improve channel sound flag handling
This cleans up some things I noticed when I implemented the mute flag handling. It removes the hack that manually forces flag 2 on all channels with number 9, regardless of the device.
I presume the hack was done for the earliest SCI 1 games, due to improper handling of flag 1.
2022-06-19 20:46:37 +03:00
rsn8887 fe366040d6 BACKENDS: (PSP2) support three co-existing builds 2022-06-19 10:58:11 -05:00
Paweł Kołodziejski a6defb0878 NEWS: Janitorial 2022-06-19 15:52:33 +02:00
Paweł Kołodziejski 598ebde1b9 GRIM: Added comments to LUA opcodes: 'SetActorClipPlane' and 'SetActorClipActive' 2022-06-19 15:46:35 +02:00
neuromancer 794c07c05c HYPNO: removed unused objectives from level c352 in boyz 2022-06-19 14:40:24 +02:00
neuromancer ca858c2c43 HYPNO: missing hostage video in boyz 2022-06-19 14:40:24 +02:00
neuromancer 0ada4b693a HYPNO: boyz is in testing 2022-06-19 14:40:24 +02:00
Paweł Kołodziejski 8c1a2e7742 GRIM: Added comments to LUA opcode SetActorFrustrumCull 2022-06-19 13:43:04 +02:00
neuromancer 950ad44748 HYPNO: added missing sounds when shooting non-hostiles in boyz 2022-06-19 11:24:44 +02:00
neuromancer b4bd99aac4 HYPNO: fix crash when shooting a botle in boyz 2022-06-19 11:24:44 +02:00
neuromancer 1ffae9b411 HYPNO: improved friendlies encounters counting in boyz 2022-06-19 11:24:44 +02:00
neuromancer a09603a466 HYPNO: refactor arcade stats code and added final score in boyz 2022-06-19 11:24:44 +02:00
neuromancer 01db683a76 HYPNO: count used lives in boyz 2022-06-19 11:24:44 +02:00
Paweł Kołodziejski e9dc4afe89 BACKENDS: SDL3D: Put debug messages to specified level 2022-06-19 08:08:32 +02:00
Paweł Kołodziejski 763cf46fc1 GRIM: Put imuse warnings into debug channels 2022-06-19 07:39:47 +02:00
Thierry Crozat 63cef724f8 COMMON: Fix mapped events being dispatched twice 2022-06-19 02:12:34 +01:00
Thierry Crozat ca70e9c618 AGS: Updated build version (3.6.0.27)
From upstream 9d5e422251075b270c0a8a59b63916f81b3a9ea2
2022-06-19 00:46:56 +01:00
Thierry Crozat a7017efb7b AGS: Added event eEventEnterRoomAfterFadein
From upstream 98312a3929df381604d3879aae61a0c3c15d9ca6
2022-06-19 00:46:56 +01:00
Thierry Crozat b948d94ce2 AGS: Implemented dialog_options_close callback
From upstream 88cb130d1063bf5268bbcae29ffaae37324f5a30
2022-06-19 00:46:56 +01:00
Thierry Crozat 9619169132 AGS: Use 100 as a default animation volume, as it's relative anyway
From upstream 90a60fffd5f010e957a53721f860997835216308
Also includes upstream 951f60c4dc25aa1d4320f595e01b048b53f6bf5f
2022-06-19 00:46:56 +01:00
Cameron Cawley be82c63d77 RISCOS: Improve flags when building with plugins 2022-06-19 00:36:25 +01:00
Cameron Cawley 05a5e44729 RISCOS: Add log10f and strcoll to functions to link 2022-06-19 00:34:58 +01:00
elasota 801b3c0c06 MTROPOLIS: Only load Obsidian word game data on English version 2022-06-18 18:50:18 -04:00
Orgad Shaneh 9e5ef28456 CONFIGURE: Deduplicate simple compiler flag support tests 2022-06-19 01:33:12 +03:00
Cameron Cawley a3f83e07ab RISCOS: Implement OSystem::messageBox() 2022-06-18 23:21:38 +01:00
Eugene Sandulenko 1ac3cb27ac DIRECTOR: Register Shared Cast in _openResFiles. That fixes cursors stored in there 2022-06-19 00:19:14 +02:00
Cameron Cawley 8c283f0049 DOCS: Update the RISC OS documentation 2022-06-18 23:06:26 +01:00
Lothar Serra Mari c70239687a MTROPOLIS: Add RESOURCE folder as additional game data directory
At least the German Obsidian release stores the resource files directly
in a folder called 'RESOURCE' in the root directory of the game installation.

Without this patch, one needs to manually copy the files located in the
RESOURCE folder to the game's root directory.
2022-06-18 17:40:08 -04:00
Lothar Serra Mari d3acc1a8e0 MTROPOLIS: Add detection entry for German Obsidian release 2022-06-18 17:40:08 -04:00
Thierry Crozat 4e3c2ec299 AGS: Invalidate iterators to MRU list in SpriteCache when the item is erased
The implementation of std::list::erase invalidates iterators to the
erased item. However our implementation in Common::List does not.
And the SpriteCache code relied on this behaviour. So instead we
have to invalidate the iterators manually.
2022-06-18 22:20:40 +01:00
Thierry Crozat 9144ec7131 AGS: Add sanity check on iterators in implementation of std::list::splice
In particular the SpriteCache class can call this function with both
iterators pointing to the same item (when trying to move an item to
the start of thr MRU list, and it is already the first item).
2022-06-18 22:20:40 +01:00
Thierry Crozat 65124a3745 AGS: Fix implementation of std::list::insert
Instead of returning an iterator to the inserted item, it was
returning an iterator to the next item. This was for example causing
bugs in the SpriteCache.
2022-06-18 22:20:40 +01:00
Cameron Cawley cb3a024589 COMMON: Allow registering multiple event mappers 2022-06-18 23:13:17 +02:00
Pragyansh Chaturvedi (r41k0u) c72a109ce0 DIRECTOR: LINGO: Implement scriptNum of sprite STUB in lingo-the.cpp 2022-06-18 23:11:39 +02:00
Torbjörn Andersson 9c44c8517f NEWS: Add note about Maniac Mansion sentence line
I've only tried it in DOS v1 and v2, but neither of them worked like the
manual said they would.
2022-06-18 21:19:52 +02:00
Paweł Kołodziejski 822d2e5319 GRIM: Added safety check. Make easier to debug 2022-06-18 21:09:43 +02:00
Torbjörn Andersson 4c06e04a87 SCUMM: [RFC] Make clicking the Maniac Mansion sentence line work like the manual says
According to the manual, you can execute commands by clicking on the
sentence line. But this doesn't work with the v1 or v2 DOS versions,
even though it works with the C64 demo. This is because the verb script
doesn't for this, so we have to do that ourselves. This is loosely based
on how Zak McKracken does it.
2022-06-18 21:58:30 +03:00
Donovan Watteau 59cbd9003c SCUMM: Fix missing voice when selling back the hub cap and pirate hat
The Ultimate Talkie edition of Monkey Island 2 has a small script error
when you try to sell back your hub cap or your pirate hat to the antique
dealer.  It wasn't doing a comparison with the proper object number, and
so it would play a fallback line with no voice.
2022-06-18 21:52:59 +03:00