Commit Graph
86814 Commits
Author SHA1 Message Date
Willem Jan Palenstijn 8fb0d27f95 SCI: Replace QfG2 parser hack with simpler variant
This replaces the workaround for bug #3288328 from e7a006f2 with a
bug-specific case of the more general patch committed to master in
eb46c72b.
2011-05-14 18:04:10 +02:00
Max Horn 47a7b65dc1 SCUMM: Workaround bug #1463598 (INDY3VGA: giant Henry Jones sr.) 2011-05-14 16:30:31 +02:00
Max Horn dc85f5c473 SCUMM: Show actor visible height in debugger 2011-05-14 16:30:30 +02:00
eriktorbjorn 7557cbd617 SWORD25: Fix format string warning. 2011-05-14 15:09:03 +02:00
Max Horn 530bf27af6 LASTEXPRESS: Silence compiler warning 2011-05-14 14:27:06 +02:00
Bastien Bouclet 7cc82487d3 MOHAWK: When running scripts in Myst, add delays when necessary between draws to mimic older hardware. 2011-05-14 14:10:45 +02:00
md5 cd54d761e1 SWORD25 (LUA): Disabled a lot of non-portable LUA functions
sword25 doesn't use these (thankfully)
2011-05-14 14:58:29 +03:00
David-John Willis ea1ef4386a CONFIGURE: Add missing SDL_BACKEND define for the OpenPandora backend.
* Not really sure when/how it got lost but as it's lack  spectacularly
  breaks the backend it is a really good idea to put it back ;)

Thanks to Max for the heads up.
(cherry picked from commit bd60a289c7)
2011-05-14 11:53:13 +02:00
Bastien Bouclet 8db0bb9274 MOHAWK: Implement Mechanical opcodes 115, 116, 117, 118, 119 and 120. Fortress rotation simulator controls.
QuickTime Custom framerate and backwards playback is required for the actual simulation to be implemented (opcode 206).
2011-05-14 11:38:51 +02:00
md5 dcf9daf4cf SWORD25 (LUA): Some compilation optimizations
For Android, define stroll() inside luaconf.h
For PS2, don't use the visibility attribute, as the PS2 gcc isn't
particularly happy about it...
2011-05-14 12:32:34 +03:00
Bastien Bouclet 3537456eb5 MOHAWK: Implement Mechanical opcodes 109, 110, 111, 112, 113 and 114. Fortress rotation controls.
QuickTime Custom framerate and backwards playback is required for the actual rotation to be implemented (opcode 205).
2011-05-14 10:51:55 +02:00
Max Horn 0bbb412249 COMMON: RemoveAvoid redundant typedefs if config.h is present 2011-05-14 10:41:17 +02:00
Paul Gilbert 1568f19569 TSAGE: Moved scene creation into the Game class, and separated out the Ringworld demo scene creation to it's own game class 2011-05-14 18:20:56 +10:00
Paul Gilbert 621a6e5229 TSAGE: Added skeleton game class for Blue Force 2011-05-14 18:19:35 +10:00
Paul Gilbert a255461ab3 TSAGE: Move the RingworldDemoGame class to the ringworld_demo file 2011-05-14 17:53:33 +10:00
Willem Jan Palenstijn e7a006f218 SCI: Hardcode parser output in one case in QfG2 to fix #3288328
This is a stopgap measure to make this work in the release.
2011-05-14 00:48:57 +02:00
strangerke f6538d0e0d TSAGE: Add blue force library files 2011-05-14 00:05:51 +02:00
Willem Jan Palenstijn 47e7850b91 SCI: Fix crash in vo with unloaded superclass
(cherry picked from commit 5fc5265b0d)
2011-05-13 23:29:23 +02:00
Willem Jan Palenstijn 7b27923281 SCI: Avoid incrementing lockers of deleted script
Having a deleted script with non-zero lockers had the side effect of
making the deleted script re-appear in the GC's work list, including
any (deleted) objects in the script.

This should be the root cause of bugs #3299458 and #3295849, so
also delete the workaround added for that in be5d448d.
(cherry picked from commit c01fed7159)
2011-05-13 23:29:05 +02:00
strangerke 2fdfad12cc TSAGE: Add detection for some versions of Blue Force 2011-05-13 23:27:43 +02:00
Willem Jan Palenstijn 5fc5265b0d SCI: Fix crash in vo with unloaded superclass 2011-05-13 23:23:15 +02:00
Willem Jan Palenstijn c01fed7159 SCI: Avoid incrementing lockers of deleted script
Having a deleted script with non-zero lockers had the side effect of
making the deleted script re-appear in the GC's work list, including
any (deleted) objects in the script.

This should be the root cause of bugs #3299458 and #3295849, so
also delete the workaround added for that in 35086fe1.
2011-05-13 23:09:04 +02:00
Alyssa Milburn 3ed095434f MOHAWK: Stub another two LB script functions. 2011-05-13 23:03:47 +02:00
Alyssa Milburn 80249e3445 MOHAWK: Add/improve LB debug output a little. 2011-05-13 23:02:44 +02:00
Alyssa Milburn 15856a1843 MOHAWK: Add basic LBProxyItem support. 2011-05-13 23:02:06 +02:00
strangerke 0c3ef4bbe4 TSAGE: Fix bug "Scene 7000: When the ship is landing, the reactor fire is at the wrong place" 2011-05-13 22:38:40 +02:00
strangerke 4010699582 TSAGE: fix bug "Scene 2100: When Miranda uses the elevator, a graphical glitch is visible (after scene 6100)" 2011-05-13 22:11:57 +02:00
md5 5b488e4c79 SWORD25: Stop linking directly against zlib.
Also, don't compress game data in newer saves, as the whole saved game is
compressed anyway
2011-05-13 23:06:53 +03:00
Littleboy c24f0775cd CREATE_PROJECT: Handle paths with spaces in pre/post-build scripts 2011-05-13 15:49:59 -04:00
Littleboy a08158a004 CREATE_PROJECT: Generate a default revision header when no revision can be determined 2011-05-13 15:49:57 -04:00
Littleboy aa64280b55 LASTEXPRESS: Implement SoundManager::setupCache() 2011-05-13 15:49:55 -04:00
md5 2d3ad096ab SWORD25: Fix compilation when libvorbis is not present 2011-05-13 21:09:31 +03:00
md5 ef96967285 SWORD25 (LUA): Whitespace fixes 2011-05-13 20:55:14 +03:00
md5 854783ea93 SWORD25 (LUA): Hopefully fixed compilation for the Android platform 2011-05-13 20:52:33 +03:00
md5 e3a487702a CONFIGURE: Don't enable the sword25 engine if Zlib is not enabled 2011-05-13 20:35:39 +03:00
md5 9bbfa2846b COMMON: Added compilation safeguards for the png decoder 2011-05-13 20:34:25 +03:00
md5 b3bc35c62a SWORD25: Added a version field for savegame thumbnails 2011-05-13 19:19:58 +03:00
md5 7543c3ba5f CONFIGURE: Don't disable the sword25 engine when libpng is not found 2011-05-13 18:52:51 +03:00
md5 3ec466853a SWORD25: Replaced the PNG thumbnail encoding code, used in saved games
- Savegame thumbnails are now created using a flat image format,
instead of PNG. This allows us to remove the PNG encoding code used
in the engine. Note that the saved games we create cannot be used
with the original engine anyway, so this change does not break
savegame compatibility with the original game (it's already broken).
- Compatibility is preserved with older saved games that were made with
ScummVM.
- Moved the embedded thumbnail reading code out of the PNG loader class,
to stop it from needlessly checking every PNG file.
- With this change, libpng is no longer required for the sword25 engine
2011-05-13 18:49:14 +03:00
md5 cb8460e926 SCI: Don't include several debug tables when REDUCE_MEMORY_USAGE is defined 2011-05-13 16:44:16 +03:00
md5 40b63320e5 SCI: Added workarounds for bug #3292251, instead of patching the script
This fixes bug #3295853
2011-05-13 16:33:27 +03:00
md5 d352c5969a SCI: Marked the sanity check inside processWorkList() as a workaround
The sanity check added in rev #35086fe17c fixes the crashes with that
code when an invalid reference is about to be processed, but these
references shouldn't be in the stack at all in the first place, so the
root cause seems to be somewhere else.
2011-05-13 16:33:01 +03:00
md5 be5d448dde SCI: Fixed bugs #3299458 and #3295849 2011-05-13 16:32:30 +03:00
md5 bd2bfe85c9 SCI: Don't include several debug tables when REDUCE_MEMORY_USAGE is defined 2011-05-13 16:12:52 +03:00
Max Horn 9ec64a66fe SCUMM: Turned ResTypeData into a Common::Array<Resource>, subsuming its _resource member 2011-05-13 14:48:01 +02:00
Max Horn cf513e3ed6 SCUMM: Get rid of the unused Resource::_globSize field 2011-05-13 14:40:45 +02:00
Max Horn 749a1beb35 SCUMM: Remove useless allocateArrays call, and make sure all resources are properly killed upon restart 2011-05-13 14:39:34 +02:00
Max Horn 4108f09543 SCUMM: Make it clearer that SCUMM's 'restart' feature leaks like hell 2011-05-13 14:33:22 +02:00
Max Horn 65a82610d1 DEVTOOLS: Remove obsolete TeX mode from credits.pl, mention Credits.rtf 2011-05-13 14:30:56 +02:00
Max Horn d63c2d17c2 SCUMM: Improve and document res tag sanity check 2011-05-13 14:26:35 +02:00