248 Commits

Author SHA1 Message Date
Max Horn
923adce456 fix endian bug when dealing with ArrayHeader's; added a hack to permit save games broken due to this to still work; moved the whole 'Array' stuff into ScummEngine_v6
svn-id: r12521
2004-01-19 20:27:31 +00:00
Travis Howell
9854ab9344 Add correct fix for puttputt
svn-id: r12401
2004-01-15 06:25:57 +00:00
Travis Howell
f00ec302b8 Enable subtitles toggle key 't' in Humongous Games.
svn-id: r12313
2004-01-11 01:01:27 +00:00
James Brown
c4528ac022 More conversion to debug channels
svn-id: r12293
2004-01-10 11:01:47 +00:00
James Brown
1778b01d76 Start of debug channel support. TODO: Move this to the common Debugger system?
svn-id: r12289
2004-01-10 05:20:15 +00:00
Max Horn
ebecf1dbaa unify _vm / _scumm usage
svn-id: r12262
2004-01-08 20:37:26 +00:00
Travis Howell
cda20b4125 Restrict to scumm7, caused invalid opcode errors when skipping cutscenes in comi sometimes and comi demo always.
svn-id: r12183
2004-01-06 15:56:27 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
17c189d1f9 get rid of _noSubtitles, use ConfigManager directly instead; clean up some IMuseDigital oddities
svn-id: r11966
2003-12-27 15:22:59 +00:00
Max Horn
e3e6bb3191 got rid of those _maxFOO macros, replaced them by access to the equivalent _numFOO variables
svn-id: r11953
2003-12-26 23:11:35 +00:00
Max Horn
e2f851c850 Fix for bug #751670, thanks to MadMoose (I am not quite happy with the situation, but hey, at least this helps :-)
svn-id: r11662
2003-12-15 20:33:40 +00:00
Travis Howell
3d6461d30f Add option to enable copy protection in SCUMM games, which ScummVM disable it by default.
svn-id: r11571
2003-12-11 06:08:43 +00:00
Max Horn
d7660a2662 introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
3f55f2669d renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
2003-10-02 22:42:03 +00:00
Torbjörn Andersson
570e60a487 Whitespace changes
svn-id: r10390
2003-09-24 06:33:59 +00:00
Max Horn
47827b1f22 disabled a stone old hack; Ender, maybe you remember some details about this fix? anybody feel like playtesting the Mystery Vortex, please? :-)
svn-id: r10246
2003-09-13 23:50:29 +00:00
Max Horn
81f10baa68 cleanup
svn-id: r10169
2003-09-11 10:32:15 +00:00
Max Horn
87dd04e038 fix for bug #776807 (MM: Jail Door Closes). Our doSentence implementation should now be pretty close to what the original does. But regressions are possible...
svn-id: r10161
2003-09-10 17:15:44 +00:00
Max Horn
1ccc58aa03 cleanup
svn-id: r10158
2003-09-10 14:43:42 +00:00
Max Horn
1f59b15f91 implemented FOA keyboard fighting
svn-id: r10052
2003-09-06 23:29:35 +00:00
Travis Howell
c5141005e0 Add CD audio check for loomcd
Revert last change, since it wipped out intro. text.

svn-id: r9947
2003-09-01 03:08:32 +00:00
Travis Howell
b43a6f6496 Override default initial setting of subtitles enabled in loomcd
svn-id: r9946
2003-09-01 01:50:07 +00:00
Travis Howell
79036c5a1d Handle hiding of verbs/inventory in v1-v2 games correctly.
According to diasm. the verbs areas is only enabled and shown when (_userState & 128) is true and verbs/inventory area is cleared/redrawn on each state change.

svn-id: r9837
2003-08-24 01:47:45 +00:00
Jonathan Gray
abf7f33dc4 loom towns needs this as well you can now learn f
svn-id: r9814
2003-08-22 03:14:29 +00:00
Travis Howell
bbbca4f8fe Fix text display in verb/inventory area in demo mode of V1 maniac mansion
svn-id: r9734
2003-08-17 07:02:33 +00:00
Jonathan Gray
957185a62e this fixme doesn't apply to old bundle games using GID_INDY3 target
svn-id: r9631
2003-08-11 02:31:03 +00:00
Max Horn
3e0cd37cea get rid of GF_INDY3 again, and also remove GID_INDY3_256 and GID_INDY3_TOWNS
svn-id: r9554
2003-08-06 12:04:27 +00:00
Travis Howell
f20c47bb21 Add Indy3 FM Towns support, patch #773434
svn-id: r9062
2003-07-18 05:49:21 +00:00
Max Horn
187b715306 run script 5 in startScene (room transition script, it seems); don't invoke runInputScript(4) - it is not needed (runInputScript will be called by checkExecVerbs), and causes the buggy 'What is' command behavior); fixed V2 sentence line
svn-id: r8955
2003-07-12 21:28:04 +00:00
Max Horn
fb16fb3e24 added some very limited support for Mac Loom (text is now properly centered around x:160 instead of x:0); added (commented out) copyprot bypass (but since I am not sure if there was ever a Mac Loom w/o codes, am not sure if this ever should be enabled); added comment regarding the Mac Loom sound format
svn-id: r8737
2003-07-04 12:34:09 +00:00
Max Horn
870ce2879e added some const qualifiers; moved _bundle & _current_cd_sound from class Scumm to class Sound; some other tweaks
svn-id: r8648
2003-06-25 23:25:52 +00:00
Max Horn
3351f4257b cleanup
svn-id: r8647
2003-06-25 20:16:47 +00:00
Torbjörn Andersson
f339140776 After some consideration, I've reverted to the old Loom bypassing scheme
since I now believe that the variable is used to indicate that the game is
running in "demo" mode. This way, old savegames will still work.

The new bypassing scheme is still in the file, but commented out. If this
works, we can remove it completely later.

svn-id: r8515
2003-06-16 11:37:08 +00:00
Torbjörn Andersson
2d8bb4a6f6 The code to bypass the EGA Loom copy protection (which is necessary since
LucasArts have been selling cracked copies themselves) turned out to be
interfering with the ability to learn the fourth note under certain
conditions.

I've deviced an alternative bypass which should be a great deal safer,
though it won't do anything to salvage older savegames.

Ironically, Endy told me recently that he didn't like the idea of basing
the copy protection bypasses on the value of _currentRoom, but in this case
I really don't have any better idea.

svn-id: r8513
2003-06-16 06:18:30 +00:00
Max Horn
f4a31da513 runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPT
svn-id: r8468
2003-06-14 12:23:30 +00:00
Jamieson Christian
d7b7abd93f Fixed MSVC warning
svn-id: r8449
2003-06-12 17:33:45 +00:00
Jonathan Gray
aabfc254c1 rework loom subtitle option handing
svn-id: r8448
2003-06-12 16:38:43 +00:00
Max Horn
49b9a8fc9d follow our coding conventions
svn-id: r8377
2003-06-07 00:49:36 +00:00
Max Horn
86df3537b9 replaced GF_AFTER with _version
svn-id: r8372
2003-06-07 00:13:26 +00:00
James Brown
9be08a55f9 Clean up debugger Restart function and move to SCUMM restart function
svn-id: r8263
2003-06-02 05:38:45 +00:00
Nicolas Bacca
41e316ad6e Reversing for the time being
svn-id: r8231
2003-06-01 10:28:45 +00:00
Nicolas Bacca
79a98164c0 Bypass Sam & Max floppy copy protection
svn-id: r8230
2003-06-01 10:15:31 +00:00
Max Horn
d5d0440e8c cleanup
svn-id: r8169
2003-05-31 11:57:18 +00:00
Max Horn
09546c2491 fixed V2 script freezing (bug #745421)
svn-id: r8086
2003-05-29 10:14:53 +00:00
Max Horn
1f70da0155 const as const can!
svn-id: r8058
2003-05-28 20:01:47 +00:00
Max Horn
7bc1399e00 this change seems to be 'logical', but could be wrong; would be nice to check the assembly...
svn-id: r7893
2003-05-24 17:07:50 +00:00
Max Horn
0361f5a6c0 bypass for Zak256 copy protection (can't test this right now, though)
svn-id: r7870
2003-05-23 23:24:48 +00:00
Max Horn
871df7fb57 restricted getObjectIndex to only search thru _objs, not _inventory(to avoid future confusion), this might cause regressions, though; fixed o2_getObjPreposition; adapted some code to the changed getObjectIndex
svn-id: r7829
2003-05-22 15:27:44 +00:00
Max Horn
a9788c771a from the MM/Zak scripts, the code etc. it's clear that unk2 is the sentence preposition
svn-id: r7827
2003-05-22 14:10:20 +00:00
Max Horn
b12d741ac1 cleaned up V2 input code
svn-id: r7811
2003-05-21 23:54:39 +00:00