81268 Commits

Author SHA1 Message Date
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
Bastien Bouclet
ab2d151541 MOHAWK: Implement the (fire)flies effect mainly used in jungle island 2017-07-03 08:50:10 +02:00
Bastien Bouclet
85712e56c8 MOHAWK: Only allow a single pixel format in Riven to simplify the implementation 2017-07-03 08:50:10 +02:00
Bastien Bouclet
e9b67081c3 MOHAWK: Introduce the effects intermediary screen 2017-07-03 08:50:10 +02:00
Bastien Bouclet
8fcebc12c6 MOHAWK: Fix dumping Riven external commands' arguments 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
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
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
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
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