aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst.cpp
AgeCommit message (Collapse)Author
2010-12-07MOHAWK: Implement loading to different ages in MystMatthew Hoops
svn-id: r54807
2010-12-06MOHAWK: Fix Myst library books, fireplace combination book, and bookcase ↵Bastien Bouclet
transform animation. svn-id: r54802
2010-12-05MOHAWK: Implement Myst opcodes 158 to 166: Rocket sliders + check lever + ↵Bastien Bouclet
link book svn-id: r54776
2010-12-04MOHAWK: Implement Myst opcodes 120 and 210, rocket power generatorBastien Bouclet
svn-id: r54759
2010-12-02MOHAWK: Fix resource type 12Bastien Bouclet
svn-id: r54740
2010-12-01MOHAWK: Split makingof and preview opcodes into their own class (and now all ↵Matthew Hoops
are separate) svn-id: r54723
2010-12-01MOHAWK: Split intro and demo opcodes into their own classesMatthew Hoops
svn-id: r54706
2010-12-01MOHAWK: Split the demo slideshow opcodes into their own classMatthew Hoops
svn-id: r54705
2010-12-01MOHAWK: Split d'ni opcodes into their own classMatthew Hoops
svn-id: r54699
2010-12-01MOHAWK: Split mechanical opcodes into their own classMatthew Hoops
svn-id: r54692
2010-12-01MOHAWK: Split channelwood opcodes into their own classMatthew Hoops
svn-id: r54691
2010-11-30MOHAWK: Split out stoneship opcodes into their own classMatthew Hoops
svn-id: r54689
2010-11-30MOHAWK: One last getRawData() to getResource() renameMatthew Hoops
svn-id: r54679
2010-11-30MOHAWK: Split Myst credits code into a separate classMatthew Hoops
svn-id: r54677
2010-11-30MOHAWK: Fix changing the stack via an opcodeMatthew Hoops
svn-id: r54676
2010-11-29MOHAWK: Move Myst stack-specific code to its own directoryMatthew Hoops
svn-id: r54648
2010-11-29MOHAWK: Misc cleanupsBastien Bouclet
svn-id: r54645
2010-11-29MOHAWK: Set the initial stack back to the introBastien Bouclet
svn-id: r54644
2010-11-29MOHAWK: Create constants for remaining Myst resource typesBastien Bouclet
svn-id: r54634
2010-11-29MOHAWK: Persistent scripts cleanupBastien Bouclet
- Rename InitOpcodes / PersistentOpcodes to Persistent Scripts for consistency - Get rid of the global var used to tell if the sound receiver script is running svn-id: r54633
2010-11-29MOHAWK: Do not always update the screen after a card change. Necessary for ↵Bastien Bouclet
"animated card changes" to work. svn-id: r54630
2010-11-29MOHAWK: Changed sliders to restore the main background instead of doing ↵Bastien Bouclet
their own background caching. It is possible now there is the image cache. svn-id: r54626
2010-11-29MOHAWK: Fix flag values used to dertermine if an area can become active.Bastien Bouclet
svn-id: r54622
2010-11-29MOHAWK: Only draw a resource conditional subimages if it has the "subimages ↵Bastien Bouclet
enabled" flag set. svn-id: r54620
2010-11-29MOHAWK: Fix Myst opcode 14Bastien Bouclet
svn-id: r54616
2010-11-29MOHAWK: Disabled hotspots are now unclickable areas. Display blue rects for ↵Bastien Bouclet
unreachable zip destinations when drawing resource rects. svn-id: r54615
2010-11-29MOHAWK: Added helpher functions to redraw a resource. Do not redraw all the ↵Bastien Bouclet
resources on mouse up. svn-id: r54613
2010-11-29MOHAWK: Don't change current resource when draggingBastien Bouclet
svn-id: r54607
2010-11-29MOHAWK; Post rebase fixes :Bastien Bouclet
- Restore invoking resource change - Update the screen after drawing a conditional image svn-id: r54604
2010-11-29MOHAWK: Update area type 11 position when the mouse movesBastien Bouclet
svn-id: r54602
2010-11-29MOHAWK: Rename some fields for type 11 areasBastien Bouclet
svn-id: r54600
2010-11-29MOHAWK : Move area classes to their own fileBastien Bouclet
svn-id: r54598
2010-11-29MOHAWK: Add mouse move event for type 10 and 11 resourcesBastien Bouclet
svn-id: r54597
2010-11-29MOHAWK: Keep resource type aroundBastien Bouclet
svn-id: r54595
2010-11-29MOHAWK : Finished implementing Selenitic sound receiverBastien Bouclet
svn-id: r54593
2010-11-29MOHAWK: Start splitting Myst scripts into one class per Stack.Bastien Bouclet
svn-id: r54592
2010-11-25MOHAWK: Refactor cursor handlingMatthew Hoops
Cursor handling has now been moved to a new CursorManager class (which is subclassed for Myst/Riven) from the GraphicsManager classes. This will be needed for Living Books which will have a class for Windows and Mac cursors (coming soon!). svn-id: r54469
2010-11-23MOHAWK: Pass objs by const ref not by valueMax Horn
svn-id: r54443
2010-11-22MOHAWK: Have MohawkResource::open() return a bool for success/failureMatthew Hoops
svn-id: r54418
2010-11-20MOHAWK: Cleanup resource handlingMatthew Hoops
- Renamed getRawData() to getResource() - Add a getResource() and hasResource() function for named resources - Other minor formatting changes svn-id: r54396
2010-11-19MOHAWK: Implement an image cache systemMatthew Hoops
This should greatly improve the performance in Myst (especially Myst ME, which uses the slow JPEG decoder). This should also slightly improve the Riven performance; the sliders now work a bit better. svn-id: r54388
2010-11-18MOHAWK: Cleanup Myst script handlingMatthew Hoops
Scripts are now loaded from a central place and are properly freed at the correct time. This fixes a regression from r54152. svn-id: r54309
2010-11-17MOHAWK: Cache the Myst screen bufferMatthew Hoops
This is needed for use with sliders. The screen is now updated fewer times as well. svn-id: r54300
2010-11-17MOHAWK: Apply patch #2988976: "MYST: Fix drawing partial subimages"Matthew Hoops
svn-id: r54297
2010-11-09MOHAWK: Close a number of memory leaks in Myst.David Turner
These corrections close a number of leaks reported by running Valgrind with --leak-check=full option, but some still remain, mainly in the image loading and caching. svn-id: r54152
2010-11-07MOHAWK: Convert all printf to debugN callsMax Horn
This involves some nasty decisions, like mixing debugN and DebugPrintf calls in the RivenConsole. I added FIXME comments about this. svn-id: r54107
2010-09-12i18n: Translate the Save and Load buttons in myst and rivenThierry Crozat
svn-id: r52692
2010-09-07MOHAWK: Sound cleanupMatthew Hoops
Merge the Riven sound file code with the main Riven resource code and remove the mainSoundFile parameter from Sound::playSound(). Reasoning: The sound id's do not collide with the sound id's in the main data files. The sound archives only exist because the original CD version had the ability to choose between low and high quality audio. svn-id: r52631
2010-05-23Move Mohawk's QuickTime code to graphics/ (and QDM2 to sound, disabled when ↵Matthew Hoops
Mohawk is not enabled) so SCI can use the code. svn-id: r49165
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935