aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/console.cpp
AgeCommit message (Collapse)Author
2013-04-15MOHAWK: Fix string offsets memory leakMatthew Hoops
2012-12-16MOHAWK: Implement most of Myst's transition systemBastien Bouclet
2012-03-10MOHAWK: Split the graphics classes into their own filesMatthew Hoops
2011-08-07MOHAWK: Leaving from the slides should go to the information screens in Myst ↵Bastien Bouclet
Demo.
2011-07-03MOHAWK: Handle subpages in the LB console's changePage.Alyssa Milburn
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-30MOHAWK: Fix CSTime-only builds.Alyssa Milburn
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-03-28MOHAWK: Allow disabling of Riven compilationMatthew Hoops
2011-03-28MOHAWK: Allow disabling compiling cstimeMatthew Hoops
2011-03-28MOHAWK: Allow disabling compilation of MystMatthew Hoops
2011-03-23MOHAWK: Use direct access on the hashmap for Riven variables nowMatthew Hoops
2011-03-22MOHAWK: Remove the Riven 'restart' console commandMatthew Hoops
This ancient console function has no purpose any longer and is half-broken anyway.
2011-02-01MOHAWK: Allow mode changes from LB's debug console.Alyssa Milburn
svn-id: r55706
2011-01-22MOHAWK: Add some debug commands for CSTime.Alyssa Milburn
svn-id: r55417
2011-01-20MOHAWK: Add CSTime engine.Alyssa Milburn
svn-id: r55362
2011-01-18MOHAWK: Rename some Myst-specific sound functions; cleanupMatthew Hoops
svn-id: r55314
2011-01-18MOHAWK: Rename some VideoManager functions so we have some unified naming ↵Matthew Hoops
between versions svn-id: r55312
2011-01-07MOHAWK: Merge Myst intro opcode 100 with generic opcode 40 into engine ↵Bastien Bouclet
method changeStack svn-id: r55152
2010-12-18MOHAWK: Separate background sound handling from other sounds for Myst. Allow ↵Bastien Bouclet
the scripts to change the background sound volume. svn-id: r54953
2010-12-16MOHAWK: Added the "resources" command to Myst's debug console, which lists ↵Bastien Bouclet
the resources in the current card. Allow the "drawRect" debug command to take a resource id as a parameter, to draw the resource's bounding rect. svn-id: r54933
2010-12-14MOHAWK: Rework Myst GFX updatesBastien Bouclet
- Initial card state is drawn to the back buffer - Script driven updates are drawn to the front buffer Allows opcode 28 (copy back buffer to screen) and opcodes 29/33 (copy image to screen / back buffer) to work properly. Fixes among others the generator room lights, and the matchbox. svn-id: r54907
2010-12-10MOHAWK: Fix the Myst drawImage debug commandMatthew Hoops
svn-id: r54850
2010-12-07DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engineMax Horn
svn-id: r54815
2010-12-02MOHAWK: move shared setPalette/copyImage routines into GraphicsManagerAlyssa Milburn
svn-id: r54743
2010-11-30MOHAWK: add changePage Living Books debug commandAlyssa Milburn
svn-id: r54688
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: 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 : Finished implementing Selenitic sound receiverBastien Bouclet
svn-id: r54593
2010-11-28MOHAWK: Add basic Living Books support (all credit goes to fuzzie!)Matthew Hoops
v1 and v3 (both Windows and Mac) are working, v1 support is in better shape. svn-id: r54558
2010-11-26MOHAWK: Enable the drawImage debug command for all LB gamesMatthew Hoops
svn-id: r54491
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-07MOHAWK: Remove console FIXME'sMatthew Hoops
svn-id: r54109
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-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-09-05MOHAWK: CleanupMatthew Hoops
- Split the main Riven event loop into a separate function for readability and for use in the sunner external functions eventually - Some minor function signature changes (const!) - Rename matchVarToString() to getVar() (I have no idea where that original name came from, considering it takes a string and returns a variable - Use solely Common::String in getVar() svn-id: r52538
2010-08-23MOHAWK: Print the rect of the hotspot in the 'hotspot' command tooMatthew Hoops
svn-id: r52300
2010-08-23MOHAWK: Add initial work for the dome slidersMatthew Hoops
While the sliders cannot move yet, the game now knows if the puzzle is complete and whether you're over a slider or not. Drawing the sliders and moving the sliders will come next. svn-id: r52292
2010-07-09Introduce the RivenScriptManager to keep track of scripts and free them when ↵Matthew Hoops
required. The old way of using SharedPtr was quite hacky and didn't work properly when talking to Gehn in ospit. svn-id: r50761
2010-06-26Add a debug console command to Riven for displaying combinations to puzzles.Matthew Hoops
svn-id: r50338
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-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-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
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-19Make the workaround for the Riven intro background music work in the DVD ↵Matthew Hoops
version too. svn-id: r47371
2009-12-30MOHAWK: Reduce header interdependenciesMax Horn
svn-id: r46782