Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
A new base class has been introduced (aptly named "Archive"), which is much cleaner than inheriting from MohawkArchive. In addition, the underlying resource retrieving code has been merged to reduce dupliplication.
|
|
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]*$//'
|
|
|
|
|
|
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Actually call the showCursor() function now...
|
|
|
|
|
|
It will try both Windows and Macintosh executables. The hardcoded cursors have been removed.
|
|
This avoids hiding an overloaded virtual method, which in turn can
cause weird bugs (see also the next commit).
svn-id: r55815
|
|
hotspots in Riven
svn-id: r55493
|
|
svn-id: r55368
|
|
between versions
svn-id: r55312
|
|
svn-id: r54988
|
|
svn-id: r54670
|
|
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
|
|
svn-id: r54418
|
|
- Renamed getRawData() to getResource()
- Add a getResource() and hasResource() function for named resources
- Other minor formatting changes
svn-id: r54396
|
|
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
|
|
svn-id: r52692
|
|
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
|
|
- 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
|
|
There is at least one example of a bad hotspot in Riven (tspit
371 (377 in the DVD version), hotspot 4). This particular hotspot is a zip hotspot which looks like it has its left and right coordinates reversed. However, the zip hotspot would only take the player to the same card as the non zip hotspot so it seems they removed this hotspot with a hack. This fixes a regression from r52487.
svn-id: r52532
|
|
- The exit button now appears and is functional
- The intro movies now play on start up
- Add shortcuts for returning to the menu/playing the intro videos again
- Make the text when hitting a boundary match the original
- Change the wording of the browser button message
- Note: The demo's extras.mhk (not the full game's!) is required now
svn-id: r52509
|
|
The fixes a couple scripts which decide to delay through a background video turning into a virtual blocking video.
svn-id: r52488
|
|
This fixes some cursors showing up incorrectly if the cursor moved during ie. a video and then the card changes. Also, remove an unneeded rect check in loadHotspots() that's from the ancient times before script size calculation was fixed and some warnings that don't affect gameplay.
svn-id: r52487
|
|
required. The old way of using SharedPtr was quite hacky and didn't work properly when talking to Gehn in ospit.
svn-id: r50761
|
|
svn-id: r50479
|
|
svn-id: r50478
|
|
svn-id: r50477
|
|
svn-id: r50333
|
|
but not the trap book (happens at the end of the game).
svn-id: r50280
|
|
svn-id: r50000
|
|
Uses new directory depth feature of AdvancedDetector.
Set directory depth to 2 and added Assets1/ directory.
As a result, DVD layout which does not have any game data
file in top level directory gets detected and runs well.
svn-id: r49654
|
|
next mouse up event so we don't misinterpret that as an event in the next card; minor cleanup.
svn-id: r49393
|
|
played; minor cleanup.
svn-id: r49377
|
|
Mohawk is not enabled) so SCI can use the code.
svn-id: r49165
|
|
This greatly reduces indirect dependencies on several header files
from common.
svn-id: r48933
|