Bastien Bouclet
2756d6226b
MOHAWK: Add a Riven specific sound manager
...
- Add ambient sound fading
- Fix ambient sound volume to use the list-level volume
2016-08-11 19:53:20 +02:00
Matthew Hoops
ee9929957c
MOHAWK: Use floor instead of round
...
round() is C99; floor() and adding 0.5 to the parameter is sufficient. Probably having detection for floor() and a compatibility definition otherwise would make sense.
2015-08-19 22:47:09 -04:00
Matthew Hoops
d749152cb6
MOHAWK: Implement drawing the marbles a step away from the grid
...
Much thanks to fuzzie
2015-07-19 17:38:14 -04:00
Matthew Hoops
7e6c8be7db
MOHAWK: Make video handles actual objects
2015-07-17 20:05:00 -04:00
Filippos Karapetis
ce40801f5b
MOHAWK: Comment out unused constant
...
Thanks to fingolfin for finding this unused code
2014-12-07 15:48:11 +02:00
Matthew Hoops
0a899876e7
MOHAWK: Use original stack ID mapping for Riven
2014-05-03 22:55:50 -04:00
Johannes Schickel
abd9e92086
MOHAWK: Make GPL headers consistent in themselves.
2014-02-18 02:39:36 +01:00
Bastien Bouclet
fdad5ec7b4
MOHAWK: Allow changing video rates
...
getVideoDuration now returns an Timestamp
2012-12-16 06:51:00 +01:00
Matthew Hoops
9e330174c8
VIDEO: Change getElapsedTime() into getTime()
...
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
2012-05-12 21:28:13 -04:00
Matthew Hoops
5e52b0a5d4
MOHAWK: Split the graphics classes into their own files
2012-03-10 13:55:08 -05:00
Matthew Hoops
52d8146d9b
MOHAWK: Fix timing of the first two Riven credits frames
2011-08-15 23:04:58 -04:00
Matthew Hoops
30d0010b9e
MOHAWK: Stub off xflies
2011-08-11 17:49:01 -04:00
Matthew Hoops
1737190a71
MOHAWK: Implement the rest of the sunners code
2011-08-11 13:14:03 -04:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
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-06-20 00:59:48 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Matthew Hoops
4235358fad
MOHAWK: Use direct access on the hashmap for Riven variables now
2011-03-23 23:14:59 -04:00
Matthew Hoops
d91c33ca26
MOHAWK: Implement xrwindowsetup
2011-03-22 14:11:24 -04:00
Matthew Hoops
273ba73d5f
MOHAWK: Minor cleanup and consistency fixes
2011-03-21 18:33:48 -04:00
Matthew Hoops
6b80d25f6e
MOHAWK: Implement the prison viewer
2011-03-21 18:28:02 -04:00
Matthew Hoops
96c7f0d22d
MOHAWK: Implement the Ytram trap
2011-03-20 16:13:53 -04:00
Matthew Hoops
0d271324db
MOHAWK: Remove outdated TODO
2011-03-09 14:11:28 -05:00
Matthew Hoops
8de370e847
MOHAWK: Correct start times for Riven credits
2011-03-09 14:10:47 -05:00
Matthew Hoops
8743838f47
MOHAWK: Add initial support for the Riven credits sequence
...
The credits start too early for a few of the end game sequences, but otherwise works well (minus missing fade support, but that is throughout the game anyway).
2011-03-09 13:59:30 -05:00
Matthew Hoops
ad7400524b
MOHAWK: Make Riven use original executables for cursors
...
It will try both Windows and Macintosh executables. The hardcoded cursors have been removed.
2011-03-07 01:10:01 -05:00
Matthew Hoops
e0430e6e9e
MOHAWK: Correct the variable used for the lab book in Riven
2011-02-14 10:34:18 -05:00
Max Horn
85aabef6fe
VIDEO: Replace Video::VideoTimestamp with Audio::Timestamp
...
svn-id: r55814
2011-02-07 22:57:35 +00:00
Matthew Hoops
d6a4ff3639
MOHAWK: Recheck the current hotspot if a script has changed the enabled hotspots in Riven
...
svn-id: r55493
2011-01-24 02:43:07 +00:00
Eugene Sandulenko
caa6684752
VIDEO: Move video classes to Video:: namespace
...
svn-id: r55479
2011-01-23 19:08:09 +00:00
Matthew Hoops
0761ab7b3a
MOHAWK: Rename some VideoManager functions so we have some unified naming between versions
...
svn-id: r55312
2011-01-18 20:30:16 +00:00
Matthew Hoops
5da1718beb
MOHAWK: Implement the whark response to the red light
...
svn-id: r55300
2011-01-18 14:51:03 +00:00
Matthew Hoops
245b7337f8
MOHAWK: Implement the village part of the left viewer on gspit
...
svn-id: r55299
2011-01-18 14:26:26 +00:00
Matthew Hoops
2a808be804
MOHAWK: Implement xgrviewer so the right viewer on gspit is usable
...
svn-id: r55282
2011-01-18 00:42:16 +00:00
Matthew Hoops
3fa01f4030
MOHAWK: Implement the Riven pin controls
...
svn-id: r55278
2011-01-17 16:10:48 +00:00
Matthew Hoops
0eeacfe43e
MOHAWK: Simplify some code
...
svn-id: r55242
2011-01-14 16:39:34 +00:00
Matthew Hoops
f6b7979277
MOHAWK: Implement Riven's whark number puzzle
...
svn-id: r55207
2011-01-11 19:44:55 +00:00
Matthew Hoops
1f043e15c7
MOHAWK: Play the telescope moving video (now that seeking is available :))
...
svn-id: r55205
2011-01-11 17:27:47 +00:00
Alyssa Milburn
32ed3b3582
MOHAWK: Allow background videos to be played/manipulated with resource handles
...
svn-id: r54843
2010-12-09 21:24:31 +00:00
Matthew Hoops
07ea74d37b
MOHAWK: Refactor cursor handling
...
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-25 04:49:11 +00:00
Matthew Hoops
90cabfef38
MOHAWK: Find the small marble images by string; should fix German version
...
svn-id: r54431
2010-11-23 18:29:45 +00:00
Matthew Hoops
9d4827b5e1
MOHAWK: Fix gspit dome from always opening
...
svn-id: r54417
2010-11-22 17:51:54 +00:00
Matthew Hoops
cc6c7e33bf
MOHAWK: Switch slider bitmap ID's to matching via string; fixes some versions
...
svn-id: r54416
2010-11-22 17:50:30 +00:00
Matthew Hoops
7fb352e38a
MOHAWK: Implement an image cache system
...
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-19 21:25:36 +00:00
Matthew Hoops
769b460f0d
MOHAWK: Implement another Riven demo external
...
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
2010-11-19 03:52:06 +00:00
Matthew Hoops
bb5db4aa3b
MOHAWK: Finish implementation of the Riven Marble Puzzle
...
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
2010-09-15 20:28:42 +00:00
Matthew Hoops
30080c7e07
MOHAWK: Add initial work on the Riven marble puzzle
...
The marbles are currently drawn, and you can pick them up, but you can not place them on the grid yet.
svn-id: r52661
2010-09-09 17:27:02 +00:00
Matthew Hoops
0cba4f0306
MOHAWK: Implement blocking sound in Riven
...
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
2010-09-08 20:50:56 +00:00
Matthew Hoops
58139baf37
MOHAWK: Sound cleanup
...
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-07 20:18:30 +00:00
Matthew Hoops
87a6b631bf
MOHAWK: Add stopping sounds to the telescope functions
...
svn-id: r52628
2010-09-07 19:00:55 +00:00
Matthew Hoops
009889dd13
MOHAWK: Implement xgplateau3160_dopools
...
The pools of water will now always show the video of returning to the "off" state.
svn-id: r52626
2010-09-07 17:58:10 +00:00