aboutsummaryrefslogtreecommitdiff
path: root/scumm/script.cpp
AgeCommit message (Collapse)Author
2003-10-03introduced namespace Scumm; made #include statements use scumm/ prefix ↵Max Horn
explicitly svn-id: r10571
2003-10-02renamed class Scumm to ScummEngine (consisten with other engine names; also ↵Max Horn
makes room for a potential 'Scumm' namespace) svn-id: r10549
2003-09-24Whitespace changesTorbjörn Andersson
svn-id: r10390
2003-09-13disabled a stone old hack; Ender, maybe you remember some details about this ↵Max Horn
fix? anybody feel like playtesting the Mystery Vortex, please? :-) svn-id: r10246
2003-09-11cleanupMax Horn
svn-id: r10169
2003-09-10fix for bug #776807 (MM: Jail Door Closes). Our doSentence implementation ↵Max Horn
should now be pretty close to what the original does. But regressions are possible... svn-id: r10161
2003-09-10cleanupMax Horn
svn-id: r10158
2003-09-06implemented FOA keyboard fightingMax Horn
svn-id: r10052
2003-09-01Add CD audio check for loomcdTravis Howell
Revert last change, since it wipped out intro. text. svn-id: r9947
2003-09-01Override default initial setting of subtitles enabled in loomcdTravis Howell
svn-id: r9946
2003-08-24Handle hiding of verbs/inventory in v1-v2 games correctly.Travis Howell
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-22loom towns needs this as well you can now learn fJonathan Gray
svn-id: r9814
2003-08-17Fix text display in verb/inventory area in demo mode of V1 maniac mansionTravis Howell
svn-id: r9734
2003-08-11this fixme doesn't apply to old bundle games using GID_INDY3 targetJonathan Gray
svn-id: r9631
2003-08-06get rid of GF_INDY3 again, and also remove GID_INDY3_256 and GID_INDY3_TOWNSMax Horn
svn-id: r9554
2003-07-18Add Indy3 FM Towns support, patch #773434Travis Howell
svn-id: r9062
2003-07-12run script 5 in startScene (room transition script, it seems); don't invoke ↵Max Horn
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-04added some very limited support for Mac Loom (text is now properly centered ↵Max Horn
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-06-25added some const qualifiers; moved _bundle & _current_cd_sound from class ↵Max Horn
Scumm to class Sound; some other tweaks svn-id: r8648
2003-06-25cleanupMax Horn
svn-id: r8647
2003-06-16After some consideration, I've reverted to the old Loom bypassing schemeTorbjörn Andersson
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-16The code to bypass the EGA Loom copy protection (which is necessary sinceTorbjörn Andersson
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-14runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPTMax Horn
svn-id: r8468
2003-06-12Fixed MSVC warningJamieson Christian
svn-id: r8449
2003-06-12rework loom subtitle option handingJonathan Gray
svn-id: r8448
2003-06-07follow our coding conventionsMax Horn
svn-id: r8377
2003-06-07replaced GF_AFTER with _versionMax Horn
svn-id: r8372
2003-06-02Clean up debugger Restart function and move to SCUMM restart functionJames Brown
svn-id: r8263
2003-06-01Reversing for the time beingNicolas Bacca
svn-id: r8231
2003-06-01Bypass Sam & Max floppy copy protectionNicolas Bacca
svn-id: r8230
2003-05-31cleanupMax Horn
svn-id: r8169
2003-05-29fixed V2 script freezing (bug #745421)Max Horn
svn-id: r8086
2003-05-28const as const can!Max Horn
svn-id: r8058
2003-05-24this change seems to be 'logical', but could be wrong; would be nice to ↵Max Horn
check the assembly... svn-id: r7893
2003-05-23bypass for Zak256 copy protection (can't test this right now, though)Max Horn
svn-id: r7870
2003-05-22restricted getObjectIndex to only search thru _objs, not _inventory(to avoid ↵Max Horn
future confusion), this might cause regressions, though; fixed o2_getObjPreposition; adapted some code to the changed getObjectIndex svn-id: r7829
2003-05-22from the MM/Zak scripts, the code etc. it's clear that unk2 is the sentence ↵Max Horn
preposition svn-id: r7827
2003-05-21cleaned up V2 input codeMax Horn
svn-id: r7811
2003-05-21cutscene override fix for V3 games (bug #731985)Max Horn
svn-id: r7809
2003-05-21added v2 cutscene support (not quite complete; and crashes at some point in ↵Max Horn
maniac because VAR_EGO contains a bogus value); cleanup svn-id: r7781
2003-05-20renamed various things for clarityMax Horn
svn-id: r7754
2003-05-20added enum's for the known actor/object claasses; extended putClass/getClass ↵Max Horn
to translate the X/Y flip classes; made code use the new enum's; some other cleanup svn-id: r7753
2003-05-20cleanupMax Horn
svn-id: r7738
2003-05-19renamed ScriptSlot::unk1/unk2 to freezeResistant/recursiveMax Horn
svn-id: r7688
2003-05-18more cleanupMax Horn
svn-id: r7653
2003-05-18oopsMax Horn
svn-id: r7649
2003-05-18cleanupMax Horn
svn-id: r7646
2003-05-18consistently index script slots with index 0 (not 1); this fixes bug ↵Max Horn
#739463; made stopScriptNr match stopObjectScript more closely (we could merge them into one function one day) svn-id: r7645
2003-05-17yet another V2 sentence fix (now clicking on objects in Zak causes Zak to ↵Max Horn
talk to it - but he gets stuck after some time) svn-id: r7613
2003-05-17Move some hacks aroundJames Brown
svn-id: r7600