Commit Graph
51 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Bastien Bouclet cccd6428c0 MOHAWK: Add override keywords 2020-02-09 12:43:15 +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 d91ac01419 MOHAWK: RIVEN: Queue opening and closing the main menu as scripts
This way all the other actions are blocked while the card load scripts
are executed. Expecially, it's not possible anymore to open the main
menu while the scripts for returning from the main menu are still
executing.

Fixes Trac#10628.
2018-07-13 19:44:48 +02:00
Thierry Crozat a6caf3a951 MOHAWK: Fix undefined behaviour in variadic functions
Passing a type that undergoes default argument promotion as last
argument of a variadic function results in undefined behaviour.
2017-10-06 01:01:16 +01: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 1036022507 MOHAWK: Riven: Add script patch for missing sound when entering sub
Fixes #9972.
2017-07-19 19:07:57 +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 31d428fd02 MOHAWK: Use movie slots instead of movie ids for stored opcodes
Fixes Trac#9873.
2017-07-05 19:13:32 +02:00
Bastien Bouclet c4f9423137 MOHAWK: Switch SimpleCommand arguments to Common::Array 2017-07-03 08:50:10 +02:00
Bastien Bouclet 723b7d7a4c MOHAWK: Add some missing public interface comments 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 ea303ab682 MOHAWK: Switch timers to script commands 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 7a9b91dfcd MOHAWK: Improve script debug output 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 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 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 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 4bdf88496d MOHAWK: Move Riven's name lists to a separate 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 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 bc01a276f9 MOHAWK: Add documentation to Riven's script module 2017-07-03 08:50:10 +02:00
Bastien Bouclet d625b4dbd6 MOHAWK: Rename Riven's script types 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
Johannes Schickel abd9e92086 MOHAWK: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Matthew Hoops 5e52b0a5d4 MOHAWK: Split the graphics classes into their own files 2012-03-10 13:55:08 -05:00
Tarek Soliman 921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
Matthew Hoops 5174832e31 MOHAWK: Finish implementation of Riven's storeMovieOpcode opcode 2011-06-14 10:36:49 -04: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 e82e5e32ff MOHAWK: Begin to implement Riven opcode 38
Also, renamed it to better reflect its purpose
2011-03-22 20:33:38 -04:00
Matthew Hoops fd3188a6fc MOHAWK: Cleanup Riven opcode 12 (now known as stopSound())
svn-id: r55457
2011-01-23 05:12:50 +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
Max Horn 121056c12f MOHAWK: Pass objs by const ref not by value
svn-id: r54443
2010-11-23 22:32:39 +00:00
Matthew Hoops 649e275ca6 MOHAWK: Implement xbookclick
It is now possible to trap Gehn in the trap book. Side note: Riven is now completable from the beginning provided you know the D'ni number system already (and the marble puzzle is just hacked to always work).

svn-id: r52482
2010-09-01 13:28:12 +00:00
Matthew Hoops 541daf918a Introduce the RivenScriptManager to keep track of scripts and free them when required. The old way of using SharedPtr was quite hacky and didn't work properly when talking to Gehn in ospit.
svn-id: r50761
2010-07-09 16:53:20 +00:00
Max Horn 5568a8473b Get rid of Engine::_gameDataDir.
This greatly reduces indirect dependencies on several header files
from common.

svn-id: r48933
2010-05-04 11:56:52 +00:00
Max Horn c934642bdb COMMON: Move typedef StringList from str.h to new header str-array.h
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.

svn-id: r48282
2010-03-18 15:09:24 +00:00
Johannes Schickel aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00