Commit graph

48 commits

Author SHA1 Message Date
Bastien Bouclet
27a7a67778 MOHAWK: RIVEN: Prevent the card leave script from recursing
Recursion would happen when multiple events are received in the same
frame. This could happen when mashing both the mouse and the keyboard to
move around faster, as noticed by a speedrunner.
2019-02-02 13:30:44 +01:00
Bastien Bouclet
8f350905e9 MOHAWK: RIVEN: Patch Jungle island book closing animation script
Fixes #10880.
2019-01-30 08:46:01 +01:00
Bastien Bouclet
bd56983b42 MOHAWK: RIVEN: Tweak a bit the main menu items
* Move the text to the left so the japanese version is not cut.
* Increase the size of the text so it looks better when scaled up.
2018-06-29 13:31:55 +02:00
Eugene Sandulenko
cfa649d7ac MOHAWK: RIVEN: Restrict new menu to 25th Anniversary games 2018-06-29 13:31:55 +02:00
Bastien Bouclet
45ab57209f MOHAWK: RIVEN: Fix starting a new game with a game currently active 2018-06-29 13:31:54 +02:00
Bastien Bouclet
dc93e5bb6a MOHAWK: RIVEN: Add more options to the main menu 2018-06-29 13:31:54 +02:00
Bastien Bouclet
86e0089cc6 MOHAWK: RIVEN: Patch in the load menu for the game versions missing it 2018-06-29 13:31:54 +02:00
Bastien Bouclet
2e8d08c1d0 MOHAWK: RIVEN: Add a save button to the main menu 2018-06-29 13:31:54 +02:00
Bastien Bouclet
25736a0b5d MOHAWK: RIVEN: Add a script patch fixing incorrect steam sound in a view
Fixes Trac#10516.
2018-05-08 06:55:24 +02:00
Bastien Bouclet
661487c2b5 MOHAWK: Riven: Move the water effect to its own class
Fixes the per frame scripts being leaked.
Fixes #10215.
2017-09-20 07:16:20 +02:00
Bastien Bouclet
ee588a8c33 MOHAWK: Riven: Patch an invalid card change when entering Gehn's office
Fixes #10118.
2017-08-11 19:05:55 +02:00
Bastien Bouclet
18fe4cebe4 MOHAWK: Riven: Trigger the try to open the back rotating room door
When using keyboard navigation
2017-08-10 19:02:10 +02:00
Bastien Bouclet
5a4400e390 MOHAWK: Riven: Stop using varargs to list hotspot names
One call to va_end was missing when returning early. This stuff is too
dangerous for me to use.
2017-08-10 19:02:10 +02:00
Bastien Bouclet
8e5ac98a4b MOHAWK: Riven: Add keyboard navigation 2017-08-06 17:36:27 +02:00
Bastien Bouclet
1036022507 MOHAWK: Riven: Add script patch for missing sound when entering sub
Fixes #9972.
2017-07-19 19:07:57 +02:00
Bastien Bouclet
ef42fd3476 MOHAWK: Riven: Implement transition offsets
The games tries to match objects between the old and new card by
offsetting the transition of the new card.

Fixes #9947.
2017-07-14 19:45:23 +02:00
Bastien Bouclet
69dc56ad0f MOHAWK: Riven: Patch prison island dome switch sound change
Fixes #9958.
2017-07-14 08:16:01 +02:00
Bastien Bouclet
95951eebf7 MOHAWK: Get rid of refreshCard 2017-07-03 08:50:10 +02:00
Bastien Bouclet
88d594538d MOHAWK: Document unused MLST record fields 2017-07-03 08:50:10 +02:00
Bastien Bouclet
6b4fe224db MOHAWK: Check the Book making island external commands against the original 2017-07-03 08:50:10 +02:00
Bastien Bouclet
61d78e33e1 MOHAWK: Don't call updateScreen when setting the cursor 2017-07-03 08:50:10 +02:00
Bastien Bouclet
f977b57123 MOHAWK: Rewrite the Riven movie manager 2017-07-03 08:50:10 +02:00
Bastien Bouclet
1aa4233802 MOHAWK: Rework stack frame updates to work like the original 2017-07-03 08:50:10 +02:00
Bastien Bouclet
3f58a795e7 MOHAWK: Add an enum for Riven's command types 2017-07-03 08:50:10 +02:00
Bastien Bouclet
f0267d542f MOHAWK: Keep turning pages while the mouse is pressed in Atrus' book 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
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
c623a76767 MOHAWK: Ensure constructing and deleting cards does not have side effects 2017-07-03 08:50:10 +02:00
Bastien Bouclet
9ab0d53cd3 MOHAWK: Add console commands to dump Riven cards and stacks to stdout 2017-07-03 08:50:10 +02:00
Bastien Bouclet
ab9b241e50 MOHAWK: Card event handlers could be called recursively 2017-07-03 08:50:10 +02:00
Bastien Bouclet
9926475937 MOHAWK: Update the card and stack variables when entering new locations 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
3c8decec0a MOHAWK: Move the resource names to RivenStack 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
c1331e124f MOHAWK: Move the current hotspot to RivenCard 2017-07-03 08:50:10 +02:00
Bastien Bouclet
871516a969 MOHAWK: Move the effect list to RivenCard 2017-07-03 08:50:10 +02:00
Bastien Bouclet
c1e0b8684b MOHAWK: Move BLST list handling 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
23bbf05c91 MOHAWK: Start converting RivenHotspot into a class 2017-07-03 08:50:10 +02:00
Bastien Bouclet
1b062d1e39 MOHAWK: Move the sound lists to RivenCard 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