Commit Graph

771 Commits

Author SHA1 Message Date
Matthew Hoops
3769f30529 MOHAWK: Add more versions of LB demos
From bug #3275626
2011-04-11 16:52:01 -04:00
md5
d2d6c9e2ba MOHAWK: Silenced an MSVC waning about an uninitialized var (false positive) 2011-04-10 14:27:45 +03:00
Alyssa Milburn
ae49865e9e MOHAWK: Move per-page data into LBPage. 2011-04-09 21:01:27 +02:00
Alyssa Milburn
f0c42f10bd MOHAWK: Implement LBCode logical operators. 2011-04-08 00:22:04 +02:00
Matthew Hoops
b6a4d3e391 MOHAWK: Detect CarmenTQ's Custom Question Creator
(Same LB version as the main game)
2011-04-07 18:18:10 -04:00
Alyssa Milburn
10454194bc MOHAWK: Implement some LBCode rect commands. 2011-04-07 23:08:55 +02:00
Alyssa Milburn
ac1522e177 MOHAWK: Implement some more LBCode ops. 2011-04-07 23:07:04 +02:00
Alyssa Milburn
f65840feef MOHAWK: Add some more LBValue helpers. 2011-04-07 23:05:22 +02:00
Alyssa Milburn
be09bef7f7 MOHAWK: Add getItemByName for LB. 2011-04-07 23:03:54 +02:00
Matthew Hoops
5fad3d5362 MOHAWK: Implement the quit notify LBCode command 2011-04-07 10:00:11 -04:00
Alyssa Milburn
40dd4f89ba MOHAWK: Support LB script flow control. 2011-04-07 00:33:11 +02:00
Alyssa Milburn
bbe2c437a8 MOHAWK: Replace most of the LBCode interpreter. 2011-04-07 00:30:09 +02:00
Alyssa Milburn
3bbeee90c0 MOHAWK: Handle alignment byte for some targeting modes. 2011-04-07 00:26:27 +02:00
Alyssa Milburn
71bfe714c1 MOHAWK: Fix issues with LB's hardcoded UI logic. 2011-04-02 19:21:03 +02:00
Matthew Hoops
fdb01b0ea9 MOHAWK: Minor grammar fix 2011-04-02 11:09:22 -04:00
Matthew Hoops
e7165a23b4 MOHAWK: Fix title of Arthur's Teacher Trouble 2011-04-02 11:08:05 -04:00
Alyssa Milburn
1f543652b7 MOHAWK: Handle waiting for sound cues in LBAnimation. 2011-04-01 14:44:41 +02:00
Alyssa Milburn
759040d679 MOHAWK: Add/update some LB debug/warning stuff. 2011-03-31 22:39:46 +02:00
Alyssa Milburn
ab97a5e493 MOHAWK: Tweaks to LBAnimationItem::setEnabled. 2011-03-31 22:39:17 +02:00
Alyssa Milburn
73c15cebe8 MOHAWK: Update LBAnimationItem running state when anim is done. 2011-03-31 22:38:32 +02:00
Alyssa Milburn
66269fa208 MOHAWK: Toggle the post-intro LB menu anim at the right time. 2011-03-31 22:35:40 +02:00
Matthew Hoops
84c45eae37 MOHAWK: Use ScummVM GUI fonts for the cstime demo
The demo is now playable without using fonts from the full game
2011-03-31 15:54:21 -04:00
Alyssa Milburn
e705759b7b MOHAWK: Implement kLBSetHitTest. 2011-03-31 01:16:47 +02:00
Alyssa Milburn
e5533401dc MOHAWK: Nicer names/info for some LB data. 2011-03-31 00:18:00 +02:00
Alyssa Milburn
023cb90842 MOHAWK: Strip slashes from beginning of LB Windows paths. 2011-03-30 21:41:13 +02:00
Alyssa Milburn
3a4fc2f0d6 MOHAWK: Parse LB page options from the outline. 2011-03-30 21:06:12 +02:00
Matthew Hoops
00d01d9b00 MOHAWK: Add detection for Just Grandma and Me 2.0 2011-03-30 14:42:34 -04:00
Alyssa Milburn
db812c985c MOHAWK: Use tryLoadPageStart where needed in LB. 2011-03-30 17:35:02 +02:00
Alyssa Milburn
046a34bd42 MOHAWK: Add LB detection entries from pacifist.
This adds entries for Harry and the Haunted House, Ruff's Bone,
Stellaluna, and Sheila Rae, the Brave.
2011-03-29 23:55:25 +02:00
Alyssa Milburn
01b7a2c774 MOHAWK: Check isAmbient in LB sound priority code. 2011-03-29 21:19:46 +02:00
Alyssa Milburn
feefced3ce MOHAWK: Add Sound::isPlaying() function. 2011-03-29 21:18:55 +02:00
Alyssa Milburn
fe613524e5 MOHAWK: Looks like LBAnimation ignores sound priorities after all. 2011-03-29 20:22:25 +02:00
Alyssa Milburn
ff9f08aa41 MOHAWK: Only stop the last-played sound in LB's playSound.
This might need a version check, but seems to be fine without.
2011-03-29 20:22:25 +02:00
Alyssa Milburn
1557890b7a MOHAWK: Stop playing LB anim sounds on seek(). 2011-03-29 19:33:03 +02:00
Alyssa Milburn
04cb669ff3 MOHAWK: Fix priority check in LB's lockSound(). 2011-03-29 16:49:42 +02:00
Alyssa Milburn
bcc0adb8fa MOHAWK: Handle LB item sound priorities. 2011-03-29 16:28:24 +02:00
Alyssa Milburn
bd526aac1d MOHAWK: Destroying an LBGroupItem destroys the whole group. 2011-03-29 15:09:15 +02:00
Alyssa Milburn
ad7b6f6817 MOHAWK: Don't fail to delete consecutive items. 2011-03-29 15:08:21 +02:00
Alyssa Milburn
9bf0800032 MOHAWK: Fix LB debug message to use the right name. 2011-03-29 15:07:45 +02:00
Alyssa Milburn
86fcca5a87 MOHAWK: comment text after #endif 2011-03-29 15:06:46 +02:00
Matthew Hoops
4b19c1bf32 MOHAWK: Don't compile RivenOptionsDialog when Riven isn't enabled 2011-03-28 23:41:32 -04:00
Matthew Hoops
b101fd6f03 MOHAWK: Allow disabling of Riven compilation 2011-03-28 22:26:23 -04:00
Matthew Hoops
4a7572d893 MOHAWK: Allow disabling compiling cstime 2011-03-28 22:26:23 -04:00
Matthew Hoops
e5811cd6c3 MOHAWK: Allow disabling compilation of Myst 2011-03-28 22:26:23 -04:00
Matthew Hoops
def47fd874 MOHAWK: Correct title of Dr. Seuss's ABC 2011-03-27 11:44:02 -04:00
Matthew Hoops
5af474ec7c MOHAWK: Stub off LB mini games
greeneggs can now continue to completion in 'play' mode
2011-03-26 11:09:07 -04:00
Matthew Hoops
4235358fad MOHAWK: Use direct access on the hashmap for Riven variables now 2011-03-23 23:14:59 -04:00
Matthew Hoops
b3e27bc0d6 MOHAWK: Make Riven's save/load code use the variable map directly 2011-03-23 21:45:39 -04:00
Matthew Hoops
aaf05b2a59 MOHAWK: Begin using a hashmap to store Riven variables 2011-03-23 21:33:57 -04:00
Matthew Hoops
50a35193c9 MOHAWK: Remove 'old' from the LB v1 sound function too 2011-03-22 21:16:27 -04:00
Matthew Hoops
bc1c84e6c8 MOHAWK: Rename OldMohawkBitmap to LivingBooksBitmap_v1
'Old' is very ambiguous ;)
2011-03-22 21:13:54 -04: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
1ca6781859 MOHAWK: Minor cursor call cleanup 2011-03-22 20:13:01 -04:00
Matthew Hoops
4d6c020cf4 MOHAWK: Remove the Riven 'restart' console command
This ancient console function has no purpose any longer and is half-broken anyway.
2011-03-22 20:04:46 -04:00
Matthew Hoops
a730d30f0c MOHAWK: Cleanup installer handling 2011-03-22 19:54:59 -04:00
Matthew Hoops
f40b74d496 MOHAWK: Handle launcher load fails more gracefully 2011-03-22 19:54:58 -04:00
Matthew Hoops
2053936959 MOHAWK: Ignore other 'time' variables when loading saves too 2011-03-22 14:27:32 -04:00
Matthew Hoops
d91c33ca26 MOHAWK: Implement xrwindowsetup 2011-03-22 14:11:24 -04:00
Matthew Hoops
273ba73d5f MOHAWK: Minor cleanup and consistency fixes 2011-03-21 18:33:48 -04:00
Matthew Hoops
6b80d25f6e MOHAWK: Implement the prison viewer 2011-03-21 18:28:02 -04:00
Matthew Hoops
cdc4c3bfa8 MOHAWK: Add a getDuration() function to the VideoManager 2011-03-21 18:27:49 -04:00
Matthew Hoops
40c496d730 MOHAWK: Implement the hardcoded Catherine idle videos 2011-03-21 13:21:47 -04:00
Matthew Hoops
cb948934ab MOHAWK: Add workaround for loading the bytramtime variable 2011-03-21 12:15:14 -04:00
Matthew Hoops
54ac6ade49 MOHAWK: Don't error out when the ReturnStackID cannot be converted 2011-03-21 12:15:14 -04:00
Matthew Hoops
96c7f0d22d MOHAWK: Implement the Ytram trap 2011-03-20 16:13:53 -04:00
D G Turner
63a710dfbc MOHAWK: Removed now unused Myst Variables Storage Class. 2011-03-19 23:25:05 +00:00
dhewg
3dd2e0c3f6 MOHAWK: Cleanup volume levels initialization 2011-03-19 16:04:54 +01:00
md5
be3ca52168 MOHAWK: Changed usage of PI to M_PI (normally defined in math.h) 2011-03-19 02:32:19 +02:00
Alyssa Milburn
6c2bf87dbd MOHAWK: Warn only when anims reference named sound files. 2011-03-16 16:27:20 +01:00
Alyssa Milburn
ba606e3693 MOHAWK: Don't warn about odd LB version record sizes. 2011-03-11 19:15:56 +01:00
Alyssa Milburn
5acac402af MOHAWK: Seek to first frame on kLBOpRewind.
This might need some further thought when implementing more complex
seeking for the later games, but works for now.
2011-03-11 19:15:56 +01:00
Alyssa Milburn
f814108d85 MOHAWK: Fix intro finish notify in LB poetry mode. 2011-03-11 14:19:57 +01:00
Matthew Hoops
6fd6291390 MOHAWK: Fix typo in the Riven missing executable dialog 2011-03-09 17:53:11 -05:00
Matthew Hoops
0d271324db MOHAWK: Remove outdated TODO 2011-03-09 14:11:28 -05:00
Matthew Hoops
8de370e847 MOHAWK: Correct start times for Riven credits 2011-03-09 14:10:47 -05:00
Matthew Hoops
8743838f47 MOHAWK: Add initial support for the Riven credits sequence
The credits start too early for a few of the end game sequences, but otherwise works well (minus missing fade support, but that is throughout the game anyway).
2011-03-09 13:59:30 -05:00
Alyssa Milburn
2a064a9725 MOHAWK: Rename variable to fix WinCE build.
Thanks to LordHoto for working out why this was failing.
2011-03-08 15:45:52 +01:00
Matthew Hoops
920bae62c0 MOHAWK: Fix Riven's cursor in the main menu
Actually call the showCursor() function now...
2011-03-07 17:28:19 -05:00
Matthew Hoops
e815102659 Merge branch 'pe_exe' of https://github.com/clone2727/scummvm into clone2727-pe_exe 2011-03-07 17:07:59 -05:00
Matthew Hoops
212b58ad42 MOHAWK: Remove unused runLoadDialog() function 2011-03-07 16:28:28 -05:00
Matthew Hoops
9c7166ccc9 MOHAWK: Error message consistency 2011-03-07 11:02:50 -05:00
Matthew Hoops
10dad00a79 MOHAWK: Improve error handling when data isn't found 2011-03-07 11:00:41 -05:00
Matthew Hoops
ad7400524b MOHAWK: Make Riven use original executables for cursors
It will try both Windows and Macintosh executables. The hardcoded cursors have been removed.
2011-03-07 01:10:01 -05:00
Bastien Bouclet
7d506ef853 MOHAWK: Implement Mechanical opcode 122, elevator go down timer 2011-03-05 18:33:22 +01:00
Matthew Hoops
c66233f83e GRAPHICS: Split the NE cursor code from the NEResources class
Now the code lies in Graphics and all cursors are not cached upon opening an exe. The engine is now in charge of caching which cursors it wants.
2011-03-04 23:17:57 -05:00
D G Turner
f78f2dff49 MOHAWK: Correction for uninitialized read in Myst Cabin Door State. 2011-02-26 10:18:36 +00:00
Matthew Hoops
e053373dd3 COMMON: Add a key color field to NECursor 2011-02-22 20:11:50 -05:00
Matthew Hoops
a2a0b13de2 COMMON: Begin to merge some NE/PE code
The ID classes are now common to both. The files have been renamed to better illustrate their purpose.
2011-02-22 20:03:18 -05:00
Bastien Bouclet
285d33d9c2 MOHAWK: Implement Mechanical elevator top movie 2011-02-22 20:38:55 +01:00
Bastien Bouclet
e507115405 MOHAWK: Implement Mechanical elevator movies 2011-02-22 20:38:54 +01:00
Bastien Bouclet
bc39d327ac MOHAWK: Implement Mechanical elevator rotation 2011-02-22 20:38:54 +01:00
Alyssa Milburn
0fe3ecd6d7 MOHAWK: Don't display LiveText phrases too early. 2011-02-20 13:46:13 +01:00
Alyssa Milburn
42ec234a1f MOHAWK: Make LBLiveTextItem call done() when finished. 2011-02-20 13:46:12 +01:00
Alyssa Milburn
00f85fb580 MOHAWK: Fix kLBAutoSync notifies. 2011-02-20 13:45:34 +01:00
Alyssa Milburn
9fa6b48e1a MOHAWK: A zero matchFrom matches everything. 2011-02-20 13:45:33 +01:00
Alyssa Milburn
805acaa81e MOHAWK: Ignore out-of-bounds LB words. 2011-02-20 12:45:15 +01:00
Alyssa Milburn
417dd6314b MOHAWK: Fix LB palettes which don't start at 0.
(Thanks to LordHoto for pointing out this was crazy.)
2011-02-20 12:36:21 +01:00
strangerke
98cd1b6e0c MOHAWK: Add detection strings for Harry and the Haunted House 2011-02-20 11:54:45 +01:00
D G Turner
f8df58f957 MOHAWK: Fix Un-initialized Read In Myst Library Tower Rotation Control. 2011-02-20 04:47:54 +00:00
Alyssa Milburn
92fac11c5f MOHAWK: Update LBPaletteItem for RGB palettes. 2011-02-19 23:12:53 +01:00
Johannes Schickel
accab0e00f MOHAWK: Change bitmaps to use RGB palettes.
Thanks to clone2727 for reviewing this patch.
2011-02-19 23:01:40 +01:00
Johannes Schickel
a02454644a Merge branch 'master' into osystem-palette
Conflicts:
	backends/platform/wii/osystem_gfx.cpp
2011-02-15 23:42:50 +01:00
Bastien Bouclet
369db4fdfd MOHAWK: Shorten Myst stack classes names 2011-02-15 21:43:38 +01:00
Bastien Bouclet
fc605427a8 MOHAWK: Put togeter the Myst stack classes in a namespace 2011-02-15 21:43:37 +01:00
Bastien Bouclet
c6e86c672b MOHAWK: Implement Mechanical opcode 201, staircase init 2011-02-15 21:43:37 +01:00
Bastien Bouclet
30f1eead19 MOHAWK: Add a workaround for a missing image when going up the stairs in Mechanical. 2011-02-15 21:43:36 +01:00
Bastien Bouclet
7e52ae2f5e MOHAWK: Implement Mechanical opcodes 203 and 104, snake box 2011-02-15 21:43:36 +01:00
Bastien Bouclet
a76badf307 MOHAWK: Implement Mechanical opcode 100 2011-02-15 21:43:35 +01:00
Bastien Bouclet
2d094af90c MOHAWK: Implement Mechanical opcode 200 2011-02-15 21:43:35 +01:00
Alyssa Milburn
489a4598a1 MOHAWK: Detect the French version of Rugrats.
Thanks to Strangerke.
2011-02-15 12:10:58 +01:00
Johannes Schickel
3f8e860a23 MOHAWK: Adapt to setPalette RGBA->RGB change.
Currently in some places the RGBA palettes are converted to RGB before they are
set up. There might be a better way, but this should work fine for now.
2011-02-14 17:08:32 +01:00
Matthew Hoops
e0430e6e9e MOHAWK: Correct the variable used for the lab book in Riven 2011-02-14 10:34:18 -05:00
Alyssa Milburn
898f7d1244 MOHAWK: Center InfoDialog text.
This is the same as the fix for scumm in 0e32d533.
2011-02-14 16:20:11 +01:00
Matthew Hoops
2087e2325b MOHAWK: Fix comments for the LB sampler v2 2011-02-13 16:14:07 -05:00
Matthew Hoops
d096b78aca MOHAWK: Add support for Mac LB v2 games 2011-02-13 16:14:07 -05:00
Bastien Bouclet
3cc86aedac MOHAWK: Remove Myst's var store from the build since it is not used
anymore.

Keep the files are to be kept around for reference until Mechanical is
finished.
2011-02-13 13:27:01 +01:00
Bastien Bouclet
e5783d9c27 MOHAWK: Implement opcode 105, Mechanical fortress staircase movie 2011-02-13 13:22:50 +01:00
Bastien Bouclet
93ed359669 MOHAWK: Implement Mechanical's crystals 2011-02-13 13:16:03 +01:00
Bastien Bouclet
c68bee08b2 MOHAWK: Add var getters / togglers to Mechanical, pages can now be
taken
2011-02-13 12:24:11 +01:00
Bastien Bouclet
30c33c6e6b MOHAWK: Add Achenar's crate state to Mechanical state 2011-02-13 12:15:37 +01:00
eriktorbjorn
87e832809b JANITORIAL: Remove unnecessary semicolon
I'm glad there's always a supply of those, because they make for
great test commits.
2011-02-12 22:16:53 +01:00
Bastien Bouclet
337044e11f MOHAWK: Implement Mechanical opcode 125 2011-02-12 20:19:00 +01:00
Bastien Bouclet
d11b57e609 MOHAWK: Implement Mechanical var getters 4 and 15 2011-02-12 20:12:32 +01:00
Bastien Bouclet
4ec51bd843 MOHAWK: Implement Stoneship's last opcodes, tunnel alarm
svn-id: r55891
2011-02-12 11:03:27 +00:00
Bastien Bouclet
ece050e26c MOHAWK: Complete Myst opcode 209, fixing the bookcase door lintel updates
svn-id: r55861
2011-02-09 20:52:46 +00:00
Bastien Bouclet
d0a01c1689 MOHAWK: Implement Stoneship battery depletion
svn-id: r55860
2011-02-09 20:07:55 +00:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
d7370f11e4 VIDEO: Remove unused SeekableVideoDecoder::seekToFrame method
svn-id: r55844
2011-02-09 00:14:06 +00:00
David Turner
656afd6daa MOHAWK: Add detection entry for "Dr Seuss' ABC" Macintosh version.
svn-id: r55829
2011-02-08 17:32:40 +00:00
Matthew Hoops
464f49d705 MOHAWK: Fix poetry mode for v2 games
svn-id: r55822
2011-02-08 04:24:25 +00:00
Matthew Hoops
3c53b1c020 MOHAWK: Add detection for the v2 lbsampler
svn-id: r55821
2011-02-08 04:23:29 +00:00
Max Horn
7bac92388f MOHAWK: Fix MohawkEngine_Myst::runLoadDialog
This incorrectly invoked (indirectly) the runModal() method of a
SaveLoadChooser, but for that one should use runModalWithPluginAndTarget
instead.

svn-id: r55816
2011-02-07 22:58:42 +00:00
Max Horn
41121be4d6 GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTarget
This avoids hiding an overloaded virtual method, which in turn can
cause weird bugs (see also the next commit).

svn-id: r55815
2011-02-07 22:58:22 +00:00
Max Horn
85aabef6fe VIDEO: Replace Video::VideoTimestamp with Audio::Timestamp
svn-id: r55814
2011-02-07 22:57:35 +00:00
Max Horn
357c225f64 VIDEO: Rename VideoDecoder::load() to loadStream()
svn-id: r55810
2011-02-07 17:54:16 +00:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
David Turner
8afafd89eb MOHAWK: Fix GCC-3 cast warning.
Seen with a number of buildbot chains.

svn-id: r55718
2011-02-02 14:36:09 +00:00
Alyssa Milburn
22f87250e9 MOHAWK: Handle a few more LB notify opcodes.
svn-id: r55713
2011-02-01 22:00:57 +00:00
Alyssa Milburn
40a9b710a5 MOHAWK: Handle some LB script entry params.
svn-id: r55712
2011-02-01 22:00:37 +00:00
Alyssa Milburn
ee200c946d MOHAWK: Add LB poetry mode logic to updatePage.
svn-id: r55709
2011-02-01 18:09:01 +00:00
Alyssa Milburn
4ea38d3f33 MOHAWK: Remove broken LB anim items stopSound calls.
svn-id: r55707
2011-02-01 13:39:24 +00:00
Alyssa Milburn
4d094feb3a MOHAWK: Allow mode changes from LB's debug console.
svn-id: r55706
2011-02-01 12:57:34 +00:00
Matthew Hoops
ac4bf4ffb8 MOHAWK: Add detection for the LBSampler v1
svn-id: r55704
2011-02-01 03:05:18 +00:00
Matthew Hoops
6ae0198ae8 MOHAWK: Add detection for the Mac LBSampler v3
svn-id: r55703
2011-02-01 03:00:42 +00:00
Matthew Hoops
e47ac9f937 MOHAWK: Add detection for Arthur's Computer Adventure
svn-id: r55702
2011-02-01 02:54:51 +00:00
Matthew Hoops
403a33b11c MOHAWK: Add detection for The Berenstain Bears Get in a Fight
svn-id: r55701
2011-02-01 02:47:24 +00:00
Alyssa Milburn
e2d3521d7d MOHAWK: LB detection/path updates.
Mark the v2.9x games as v3, mark Rugrats as v4, add detection for
CarmenTQ and add its install directory to the path.

svn-id: r55698
2011-01-31 23:10:18 +00:00
Alyssa Milburn
309cb47572 MOHAWK: LB anim sound improvements.
The parent animation now keeps track of sounds, and animations don't
emit a done event while their sounds are still playing.

svn-id: r55688
2011-01-31 18:03:27 +00:00
Alyssa Milburn
c7808b9091 MOHAWK: Handle kLBAnimOpSetTempoDiv better.
svn-id: r55668
2011-01-30 22:42:37 +00:00
Bastien Bouclet
77d2110101 MOHAWK: Implement Stoneship telescope
svn-id: r55665
2011-01-30 20:37:59 +00:00