Commit Graph
165 Commits
Author SHA1 Message Date
Bastien Bouclet 7a9b91dfcd MOHAWK: Improve script debug output 2017-07-03 08:50:10 +02:00
Bastien Bouclet 286cdef658 MOHAWK: Add basic mouse handling to RivenStack 2017-07-03 08:50:10 +02:00
Bastien Bouclet 0ba035eea6 MOHAWK: Move Riven inventory code to a new class 2017-07-03 08:50:10 +02:00
Bastien Bouclet 22926a1835 MOHAWK: Move the timer callbacks to the stacks 2017-07-03 08:50:10 +02:00
Bastien Bouclet efcf38f95f MOHAWK: Factor out stack name-id mapping 2017-07-03 08:50:10 +02:00
Bastien Bouclet c04edb8f54 MOHAWK: Change the back from book commands to use scripts 2017-07-03 08:50:10 +02:00
Bastien Bouclet 14bbf8aab4 MOHAWK: Move the external commands to their respective stacks 2017-07-03 08:50:10 +02:00
Bastien Bouclet e2c5609e81 MOHAWK: Prepare empty classes for the Riven stacks 2017-07-03 08:50:10 +02:00
Bastien Bouclet ab2d151541 MOHAWK: Implement the (fire)flies effect mainly used in jungle island 2017-07-03 08:50:10 +02:00
Bastien Bouclet 1a5b2a1e50 MOHAWK: Move MLST loading to RivenCard 2017-07-03 08:50:10 +02:00
Bastien Bouclet 3f1f407c14 MOHAWK: Remove VideoHandle usage 2017-07-03 08:50:10 +02:00
Bastien Bouclet c623a76767 MOHAWK: Ensure constructing and deleting cards does not have side effects 2017-07-03 08:50:10 +02:00
Bastien Bouclet 05bed84a85 MOHAWK: Rename the card and stack accessors 2017-07-03 08:50:10 +02:00
Bastien Bouclet 670a3c4558 MOHAWK: Move card id remapping to RivenStack 2017-07-03 08:50:10 +02:00
Bastien Bouclet 3c8decec0a MOHAWK: Move the resource names to RivenStack 2017-07-03 08:50:10 +02:00
Bastien Bouclet f752066a8e MOHAWK: Introduce a new RivenStack class 2017-07-03 08:50:10 +02:00
Bastien Bouclet aa0c89da03 MOHAWK: Move running the card leave script to the RivenCard destructor 2017-07-03 08:50:10 +02:00
Bastien Bouclet 9b2c90c0b3 MOHAWK: The ignoreNextMouseUp workaround is not necessary anymore
We now check the mouse up event happens on the same hotspot as the
mouse down event.
2017-07-03 08:50:10 +02:00
Bastien Bouclet c1331e124f MOHAWK: Move the current hotspot to RivenCard 2017-07-03 08:50:10 +02:00
Bastien Bouclet 4bdf88496d MOHAWK: Move Riven's name lists to a separate class 2017-07-03 08:50:10 +02:00
Bastien Bouclet 099b3b3d8f MOHAWK: Move the hotspot list to RivenCard
Also replace all hardcoded accesses to the hotspot array with hotspot queries.
2017-07-03 08:50:10 +02:00
Bastien Bouclet 67d9a3c71b MOHAWK: Make the RivenHotspot fields private 2017-07-03 08:50:10 +02:00
Bastien Bouclet 17f1903833 MOHAWK: Remove the RivenHotspot enabled field 2017-07-03 08:50:10 +02:00
Bastien Bouclet 6b988670e8 MOHAWK: Turn the active hotspot into a pointer 2017-07-03 08:50:10 +02:00
Bastien Bouclet 23bbf05c91 MOHAWK: Start converting RivenHotspot into a class 2017-07-03 08:50:10 +02:00
Bastien Bouclet 2fbe284a31 MOHAWK: Chane Riven's graphics manager to automatically handle screen updates 2017-07-03 08:50:10 +02:00
Bastien Bouclet 1bb5424ddd MOHAWK: Move PLST handling to the RivenCard class 2017-07-03 08:50:10 +02:00
Bastien Bouclet abe6889bbe MOHAWK: Remove the current card id from the Riven engine class 2017-07-03 08:50:10 +02:00
Bastien Bouclet 0aaa3760c2 MOHAWK: Move Riven's Card to a separate object 2017-07-03 08:50:10 +02:00
Bastien Bouclet 3c2ca08877 MOHAWK: Add a script queue to Riven's script manager 2017-07-03 08:50:10 +02:00
Bastien Bouclet f944b62988 MOHAWK: Change Riven's scripts not to have a type 2017-07-03 08:50:10 +02:00
Bastien Bouclet 9b9fa7e0a5 MOHAWK: Refactor the script manager to read data to Command classes 2017-07-03 08:50:10 +02:00
rootfather 658761df3e MOHAWK: Enable riven-demo specific strings for translation 2016-10-27 21:31:31 +02:00
Eugene Sandulenko cc1b658c48 MOHAWK: Support for the Riven JP CD structure 2016-10-23 21:49:25 +02:00
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
Bastien Bouclet aeee4888be MOHAWK: Allow the games to have a different sound manager 2016-08-11 19:53:20 +02:00
Thierry Crozat 191a9a0c64 MOHAWK: Load games from outside the options dialog loop
Loading games from inside the dialog loop may cause cursor
glitches. This commits applies the same fix to the
MohawkOptionsDialog as the one that already existed for
the global main menu. This finished to fix bug #7164.
2016-08-03 22:50:06 +01:00
Bastien Bouclet 504ffd2aba MOHAWK: Switch Riven saves to a slot based naming scheme
Existing saves are compatible but must be renamed to riven-###.rvn
2016-07-10 22:01:03 +02:00
Strangerke 359ef3de53 MOHAWK: Initialize some more variables 2016-06-01 07:44:02 +02:00
Ori Avtalion 253e18c440 JANITORIAL: Reduce GUI header dependencies 2016-04-14 13:30:14 +03:00
Matthew Hoops 7e6c8be7db MOHAWK: Make video handles actual objects 2015-07-17 20:05:00 -04: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
Torbjörn Andersson af64cad069 JANITORIAL: Replace some spaces with tabs 2012-12-16 09:35:52 +01:00
Bastien Bouclet fdad5ec7b4 MOHAWK: Allow changing video rates
getVideoDuration now returns an Timestamp
2012-12-16 06:51:00 +01:00
Johannes Schickel 93d4eb14ad MOHAWK: Fix delete[] formatting. 2012-07-25 21:09:46 +02:00
Johannes Schickel 7c5cf1b400 GUI: Add helper to SaveLoadChooser, which uses the currently active target.
This reduces the code duplication in all client code, which formerly duplicated
the querying of the plugin, game id etc. and now simply calls the newly added
method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10 04:53:17 +02:00
Johannes Schickel 5c8b7af495 MOHAWK: Do not call close on SaveLoadChooser.
This is actually always called when a dialog closes, thus manual closing is
not required. It furthermore is actually *bad* to call this from outside the
dialog's code, since it will remove the top dialog from the dialog stack and
thus mess up the GUI in case multiple dialogs are opened.
2012-06-10 04:19:57 +02:00
Johannes Schickel 15046a7529 GUI: Get rid of SaveLoadChooser::setSaveMode.
We already pass the title and process button name to the constructor of
SaveLoadChooser and then do not offer any way of changing it, thus changing
the edit mode of the chooser is kind of pointless and was never actually used.
Instead we pass the mode on SaveLoadChooser construction now.
2012-06-10 04:19:45 +02: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