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
Matthew Hoops
48a107b821
Update comment on CD swapping in Riven.
...
svn-id: r50479
2010-06-29 03:04:08 +00:00
Matthew Hoops
146cc7cb3c
Silence a valgrind warning.
...
svn-id: r50478
2010-06-29 03:00:53 +00:00
Matthew Hoops
79aa49a509
Fix the load game dialog in Riven DVD's menu, borrowed from Parallaction.
...
svn-id: r50477
2010-06-29 02:55:31 +00:00
Matthew Hoops
554640ee8a
Fix saving while viewing the inventory in Riven and cleanup the save/load code.
...
svn-id: r50333
2010-06-26 17:21:50 +00:00
Matthew Hoops
be8a596668
Add support for the third inventory case in Riven: you have the two journals but not the trap book (happens at the end of the game).
...
svn-id: r50280
2010-06-25 18:20:31 +00:00
Matthew Hoops
8bd71a6ab2
Cleanup; add a TODO.
...
svn-id: r50000
2010-06-18 02:29:04 +00:00
Eugene Sandulenko
d59c312b08
Mohawk: Added support for running Riven off DVD layout.
...
Uses new directory depth feature of AdvancedDetector.
Set directory depth to 2 and added Assets1/ directory.
As a result, DVD layout which does not have any game data
file in top level directory gets detected and runs well.
svn-id: r49654
2010-06-14 14:50:53 +00:00
Matthew Hoops
a8deacfc7e
In Riven, if we get a change card opcode on a mouse down event, ignore the next mouse up event so we don't misinterpret that as an event in the next card; minor cleanup.
...
svn-id: r49393
2010-06-02 15:26:35 +00:00
Matthew Hoops
42b22d16f6
Fix videos in Riven activated from a different card from which they are played; minor cleanup.
...
svn-id: r49377
2010-06-01 17:01:22 +00:00
Matthew Hoops
2f31b05651
Move Mohawk's QuickTime code to graphics/ (and QDM2 to sound, disabled when Mohawk is not enabled) so SCI can use the code.
...
svn-id: r49165
2010-05-23 18:33:55 +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
Matthew Hoops
001bca2d6c
Remove use of global constructors in Mohawk.
...
svn-id: r48731
2010-04-19 20:28:36 +00:00
Max Horn
cac0ac66e2
COMMON: Get rid of Common::StringList
...
svn-id: r48287
2010-03-18 15:54:40 +00:00
Matthew Hoops
e8c2c2b25c
Slightly rework refreshing cards in Riven (and remove the hackish changeToCard(0)).
...
svn-id: r48134
2010-02-26 08:14:33 +00:00
Matthew Hoops
b54724a778
Fix typo in the ospit->tspit linking book RMAP code.
...
svn-id: r48071
2010-02-16 06:08:25 +00:00
Matthew Hoops
5fd7dbb406
Move Riven variable randomization to initVars() and implement randomization for the dome and prison combinations.
...
svn-id: r48070
2010-02-16 03:01:46 +00:00
Matthew Hoops
1cd9498dbc
Implement background video support for Riven; some VideoManager/QTPlayer cleanup.
...
svn-id: r48056
2010-02-13 23:34:18 +00:00
Max Horn
a652b603c9
MOHAWK: Don't remove save_slot config entries the user may have added on purpose
...
svn-id: r47723
2010-01-30 19:03:11 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Matthew Hoops
c04f8d00b1
Rename MohawkFile to MohawkArchive and OldMohawkFile to LivingBooksArchive_v1 (the latter originally having an ambiguous meaning) and move them to resource.* Also, renaming the Living Books game types to remove the ambiguous old/new.
...
svn-id: r47429
2010-01-22 03:43:57 +00:00
Matthew Hoops
2d776186f6
Missed copying a line from console.cpp; fixes a memory leak.
...
svn-id: r47372
2010-01-19 05:08:53 +00:00
Matthew Hoops
c20df070f3
Make the workaround for the Riven intro background music work in the DVD version too.
...
svn-id: r47371
2010-01-19 05:01:45 +00:00
Max Horn
f31c452a5f
MOHAWK: Reduce header interdependencies
...
svn-id: r46782
2009-12-30 23:02:14 +00:00
Max Horn
a753f606ec
MOHAWK: Stop using String::emptyString
...
svn-id: r46780
2009-12-30 23:01:16 +00:00
Torbjörn Andersson
1a66ad80a4
Re-indentet switch() blocks to follow ScummVM indentation style. (I've always
...
found this style a bit unusual, but I value consistency.)
svn-id: r46734
2009-12-30 07:14:09 +00:00
Eugene Sandulenko
0ea022d076
Add Mohawk engine code. Part 1/3: main code.
...
svn-id: r46727
2009-12-29 23:18:24 +00:00