Age | Commit message (Collapse) | Author |
|
svn-id: r54397
|
|
- 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: r54385
|
|
xademoquit() is called from card 12 when clicking anywhere but the system requirements (which is why I hadn't noticed it earlier). I've also stubbed another demo function (xaexittomain()), called from an unused card's script for completeness.
svn-id: r54359
|
|
svn-id: r54345
|
|
svn-id: r54338
|
|
svn-id: r54320
|
|
svn-id: r54319
|
|
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
|
|
This is needed for use with sliders. The screen is now updated fewer times as well.
svn-id: r54300
|
|
svn-id: r54297
|
|
svn-id: r54265
|
|
Also renamed the source/header files, now they are more closely
aligned to how we rename most other source files
svn-id: r54264
|
|
svn-id: r54166
|
|
svn-id: r54165
|
|
svn-id: r54164
|
|
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
|
|
svn-id: r54109
|
|
This involves some nasty decisions, like mixing debugN and DebugPrintf
calls in the RivenConsole. I added FIXME comments about this.
svn-id: r54107
|
|
svn-id: r53484
|
|
This is an empty template which ideally engine maintainers
would update and complete with concrete information...
svn-id: r53481
|
|
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.
svn-id: r52791
|
|
You can now place the marbles and pressing the button will now only set the power to on if the marbles are in the correct positions.
svn-id: r52735
|
|
svn-id: r52692
|
|
The marbles are currently drawn, and you can pick them up, but you can not place them on the grid yet.
svn-id: r52661
|
|
Sounds that set the third argument of the playSound opcode to 1 (wherever they may be) will now block. The volume parameter of playSound is also now honored. Merge the Myst sound blocking code with this too.
svn-id: r52643
|
|
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
|
|
svn-id: r52628
|
|
The pools of water will now always show the video of returning to the "off" state.
svn-id: r52626
|
|
svn-id: r52621
|
|
- 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
|
|
It is now possible to trap Gehn in the trap book. Side note: Riven is now completable from the beginning provided you know the D'ni number system already (and the marble puzzle is just hacked to always work).
svn-id: r52482
|
|
The sliders are now movable and reset properly. The combination defined in the lab journal works on all the domes too.
svn-id: r52476
|
|
location
svn-id: r52302
|
|
svn-id: r52300
|
|
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
|
|
svn-id: r52216
|
|
svn-id: r52215
|
|
Now takes a pointer to a stream, instead of a reference.
The rational is that in all instances, callers have a pointer
(and dereference it to call load), and all load implementations
turn the reference back into a pointer.
svn-id: r51725
|
|
came on the CD (on the demo server now too).
svn-id: r50776
|
|
svn-id: r50762
|
|
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
|