aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst.cpp
AgeCommit message (Collapse)Author
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
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-04-06Cleanup the Myst resource caching code a bit and add support for caching ↵Matthew Hoops
Myst ME MJMP sound 'jumps' svn-id: r48579
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-02-17Mohawk : Adding resource cache class and integrating into Myst engine.David Turner
The resource caching trades increased memory usage against disk access. This functionality can be disabled and enabled by the console "cache" command. svn-id: r48080
2010-02-14Mohawk : Corrected Myst Opcode 200/300 in Intro/Demo stack to correctly call ↵David Turner
Intro movies. svn-id: r48062
2010-01-30MOHAWK: Don't remove save_slot config entries the user may have added on purposeMax Horn
svn-id: r47723
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-22Always loop sounds declared in the VIEW resources of Myst. While Myst ↵Matthew Hoops
specifies in the metadata of its sound resources, Myst ME does not have that feature so we have to specify the looping. Looping now works in Myst ME. svn-id: r47431
2010-01-22Rename MohawkFile to MohawkArchive and OldMohawkFile to ↵Matthew Hoops
LivingBooksArchive_v1 (the latter originally having an ambiguous meaning) and move them to resource.* Also, renaming the Living Books game types to remove the ambiguous old/new. svn-id: r47429
2010-01-19Add support for the flyby videos in Myst ME Macintosh.Matthew Hoops
svn-id: r47388
2009-12-30MOHAWK: Reduce header interdependenciesMax Horn
svn-id: r46782
2009-12-30MOHAWK: Stop using String::emptyStringMax Horn
svn-id: r46780
2009-12-30Re-indentet switch() blocks to follow ScummVM indentation style. (I've alwaysTorbjörn Andersson
found this style a bit unusual, but I value consistency.) svn-id: r46734
2009-12-29Add Mohawk engine code. Part 1/3: main code.Eugene Sandulenko
svn-id: r46727