Commit Graph
1366 Commits
Author SHA1 Message Date
Bastien Bouclet 8c6cd98067 MOHAWK: Fix the inventory being visible when scripts are running 2017-07-03 08:50:10 +02:00
Bastien Bouclet 64c1a1d2b2 MOHAWK: Switch enabling the debug rectangles to a console var 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 b9a72ff7a6 MOHAWK: Preload all the PE cursors on startup
We were previously reloading the current cursor from raw data on each
frame.
2017-07-03 08:50:10 +02:00
Bastien Bouclet 672cfbd518 MOHAWK: Set GUI option flags to disable unneeded settings for Riven 2017-07-03 08:50:10 +02:00
Bastien Bouclet dd4c0bcbeb MOHAWK: Set the proper mixer sound types for Riven 2017-07-03 08:50:10 +02:00
Bastien Bouclet f29197e32c MOHAWK: Don't allow string patterns when looking for resources
The last pattern based query was removed from Riven
2017-07-03 08:50:10 +02:00
Bastien Bouclet 08e642314e MOHAWK: Check the Books external commands against the original 2017-07-03 08:50:10 +02:00
Bastien Bouclet d7b241abdc MOHAWK: Check the Office island external commands against the original 2017-07-03 08:50:10 +02:00
Bastien Bouclet 8ad53851bc MOHAWK: Implement interrupting scripts for the new script manager 2017-07-03 08:50:10 +02:00
Bastien Bouclet 2f7a04ae95 MOHAWK: Check the Rebel island external commands against the original 2017-07-03 08:50:10 +02:00
Bastien Bouclet 0f79e423d8 MOHAWK: Check the Prison island external commands against the original 2017-07-03 08:50:10 +02:00
Bastien Bouclet ea303ab682 MOHAWK: Switch timers to script commands 2017-07-03 08:50:10 +02:00
Bastien Bouclet ee70244fbf MOHAWK: Check the Garden island external commands against the original 2017-07-03 08:50:10 +02:00
Bastien Bouclet 2a444d35e8 MOHAWK: Check the Temple island external commands against the original 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 39b0d53bb5 MOHAWK: Fix incorrect loop in sound manager 2017-07-03 08:50:10 +02:00
Bastien Bouclet 006dcf6a74 MOHAWK: Check the Jungle island external commands against the original 2017-07-03 08:50:10 +02:00
Bastien Bouclet 121c0ee08c MOHAWK: Don't update the screen immediatly after drawing
Updating the screen needs to happen exactly once at the end of each game
loop.
2017-07-03 08:50:10 +02:00
Bastien Bouclet 42f91b9769 MOHAWK: Simplify the stored movie script opcode 2017-07-03 08:50:10 +02:00
Bastien Bouclet 23c597ab12 MOHAWK: Print variable names in assignments when dumping scripts 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 637a08bcf3 MOHAWK: Don't allow loading while a script is running
Scripts may have an inner game loop where loading is not working.
2017-07-03 08:50:10 +02:00
Bastien Bouclet 44943e1285 MOHAWK: Change the delay function not to have an event loop
Fixes events getting lost during delays
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 9153393219 MOHAWK: Allow games to opt out of the default video 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 ad7f94f10f MOHAWK: Add a transition speed widget to the settings dialog 2017-07-03 08:50:10 +02:00
Bastien Bouclet aa32c5e584 MOHAWK: Pass rects by const reference in Riven's graphics manager 2017-07-03 08:50:10 +02:00
Bastien Bouclet 3900597996 MOHAWK: Implement card transitions for Riven 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 1286e7fcf0 MOHAWK: Use an enum for Riven's transition types 2017-07-03 08:50:10 +02:00
Bastien Bouclet ae6f248616 MOHAWK: Move Riven's sunner alert handling to the jungle stack 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 7609ec0de8 MOHAWK: Use explicit bitmap names for the dome sliders 2017-07-03 08:50:10 +02:00
Bastien Bouclet f334e6e38a MOHAWK: Add sound effect related methods 2017-07-03 08:50:10 +02:00
Bastien Bouclet 14990dc91b MOHAWK: Remove a hack that should not be needed anymore
The script execution order should now be accurate
2017-07-03 08:50:10 +02:00
Bastien Bouclet 313d53234b MOHAWK: Be case insensitive when matching resource names 2017-07-03 08:50:10 +02:00
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 92e03a7b68 MOHAWK: Add a command to check if background scripts are running 2017-07-03 08:50:10 +02:00
Bastien Bouclet 79e086ba7b MOHAWK: Turn script commands into SharedPtrs
Commands can be shared between scripts when adding commands
from one script to another.
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 e7146c9bf7 MOHAWK: Move the changeToStack command to a dedicated class 2017-07-03 08:50:10 +02:00
Bastien Bouclet 6d4260719c MOHAWK: Add a convenience method for creating a script with a single command 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