Commit graph

133 commits

Author SHA1 Message Date
Matthew Hoops
214d8f1e3e MOHAWK: Introduce a new CursorManager for LB v2+ (they do not use exe cursors)
svn-id: r55554
2011-01-26 19:13:53 +00:00
Alyssa Milburn
b79743b221 MOHAWK: Read kLBEventNotified data after commands.
This fixes some pages in Maggie's Farmyard Adventure, at least.
Thanks to clone2727 for testing this.

svn-id: r55538
2011-01-25 17:35:53 +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
Alyssa Milburn
30f8365502 MOHAWK: Add a basic LBCode implementation.
This is enough for the Rugrats Adventure Game to play the introduction
videos, but is still in a very preliminary state.

svn-id: r55215
2011-01-12 19:11:27 +00:00
Alyssa Milburn
2b7acd6919 MOHAWK: Always restart anims on kLBOpTogglePlay.
This may not be the right place for this, but for now it fixes several bugs
where animations didn't play after they'd already been played once.

svn-id: r55191
2011-01-09 18:26:51 +00:00
Alyssa Milburn
0d1955700e MOHAWK: Set needsRedraw when changing LB palettes.
svn-id: r55169
2011-01-08 17:27:02 +00:00
Matthew Hoops
8a77f49a59 MOHAWK: Cleanup some spacing, formatting, and naming
svn-id: r55109
2011-01-03 20:40:07 +00:00
Alyssa Milburn
4c0b02fe21 MOHAWK: LB CD-ROM title prefixes aren't Windows-specific
svn-id: r55036
2010-12-25 18:45:48 +00:00
Alyssa Milburn
85da9de3bf MOHAWK: detect/load the Rugrats Adventure Game
svn-id: r55035
2010-12-25 18:45:29 +00:00
Alyssa Milburn
7e5ffb2bcf MOHAWK: Remove sound.h include from resource.h
svn-id: r54988
2010-12-21 18:16:20 +00:00
Alyssa Milburn
3d81fc1522 MOHAWK: Move readString into the LB engine class
svn-id: r54935
2010-12-16 16:53:26 +00:00
Alyssa Milburn
0082f8ec8b MOHAWK: parse LB subentries correctly
svn-id: r54901
2010-12-13 20:19:34 +00:00
Alyssa Milburn
03777f1867 MOHAWK: Use named constants for LB control modes
svn-id: r54897
2010-12-13 00:03:15 +00:00
Alyssa Milburn
679f67b2e7 MOHAWK: Use named constants for LB timing modes
svn-id: r54896
2010-12-12 23:59:46 +00:00
Alyssa Milburn
0650934337 MOHAWK: Handle chained LB commands
svn-id: r54895
2010-12-12 23:11:23 +00:00
Alyssa Milburn
1d61c9a508 MOHAWK: Handle kLBGlobalDisable
svn-id: r54893
2010-12-12 23:00:46 +00:00
Alyssa Milburn
c089fb22cd MOHAWK: More work on LB script parsing
svn-id: r54892
2010-12-12 23:00:15 +00:00
Alyssa Milburn
467b30f1a2 MOHAWK: Refactor/improve LB script entry parsing
svn-id: r54888
2010-12-12 19:01:46 +00:00
Alyssa Milburn
a97c90c903 MOHAWK: Always run kLBEventMouseUpIn, for now
svn-id: r54887
2010-12-12 19:01:27 +00:00
Alyssa Milburn
4d5ab0cff2 MOHAWK: Handle LB load phase
svn-id: r54886
2010-12-12 19:01:10 +00:00
Alyssa Milburn
9e483b79ce MOHAWK: Skip CD-ROM titles in LB paths
svn-id: r54885
2010-12-12 19:00:53 +00:00
Alyssa Milburn
d88476e677 MOHAWK: parse LB script named targeting modes
svn-id: r54874
2010-12-12 00:18:49 +00:00
Alyssa Milburn
85c8960d8b MOHAWK: Improve LB script parsing
svn-id: r54871
2010-12-11 23:48:29 +00:00
Alyssa Milburn
7c97a86a9a MOHAWK: Add size check when reading LB messages
svn-id: r54870
2010-12-11 19:53:44 +00:00
Alyssa Milburn
60c844efd3 MOHAWK: Add yet more fallbacks for LB page loading
svn-id: r54869
2010-12-11 19:53:28 +00:00
Alyssa Milburn
4393ef1bd5 MOHAWK: Fix LBPaletteItem to handle variable-size palettes
svn-id: r54846
2010-12-09 21:25:21 +00:00
Alyssa Milburn
0257f2a217 MOHAWK: Implement LBMovieItem
svn-id: r54845
2010-12-09 21:25:05 +00:00
Alyssa Milburn
eecc2bcb12 MOHAWK: Don't redraw the screen every frame in LB
svn-id: r54844
2010-12-09 21:24:46 +00:00
Alyssa Milburn
5db43d641e MOHAWK: Use named constants for LB opcodes, add warnings when unimplemented
svn-id: r54833
2010-12-08 15:45:40 +00:00
Alyssa Milburn
8241b1b321 MOHAWK: Implement/stub more LB 3 notifications
svn-id: r54832
2010-12-08 15:45:22 +00:00
Alyssa Milburn
d571279d99 MOHAWK: Handle LB event-run opcodes
svn-id: r54825
2010-12-07 22:59:16 +00:00
Alyssa Milburn
1c21ba1fc0 MOHAWK: Run kLBEventMouseTrackIn in handleMouseDown
svn-id: r54824
2010-12-07 22:59:01 +00:00
Alyssa Milburn
fecaa5655e MOHAWK: Rename LBAction to LBEvent, fix event targeting
svn-id: r54823
2010-12-07 22:58:45 +00:00
Filippos Karapetis
813d96ec20 MOHAWK: Silenced warning
svn-id: r54800
2010-12-06 19:58:22 +00:00
Alyssa Milburn
99bc2c7a28 MOHAWK: fix LBLiveTextItem::handleMouseDown
svn-id: r54798
2010-12-06 13:50:11 +00:00
Alyssa Milburn
402831b8ca MOHAWK: finish kLBSetPlayInfo reading
svn-id: r54797
2010-12-06 13:49:56 +00:00
Alyssa Milburn
5ee7a44cf6 MOHAWK: fix kLBNotifyChangeMode where there's no mode change
svn-id: r54795
2010-12-05 23:02:12 +00:00
Alyssa Milburn
8dc80912f3 MOHAWK: implement kLBNotifyChangeMode
svn-id: r54794
2010-12-05 22:58:13 +00:00
Alyssa Milburn
237925e5fd MOHAWK: improve LBPaletteItem support
svn-id: r54793
2010-12-05 22:11:07 +00:00
Alyssa Milburn
7c9dc9f117 MOHAWK: handle LB 2/3 kLBNotifyChangeMode, kLBActionNotified matching
svn-id: r54792
2010-12-05 22:10:50 +00:00
Alyssa Milburn
433a10e773 MOHAWK: handle -1 phase for LB 2/3 items
svn-id: r54791
2010-12-05 22:10:20 +00:00
Alyssa Milburn
899f6a9e88 MOHAWK: remove 'internal error' errors
svn-id: r54790
2010-12-05 22:10:00 +00:00
Alyssa Milburn
f84b027e50 MOHAWK: read and use LB 2/3 conditions/commands
svn-id: r54778
2010-12-05 16:19:52 +00:00
Alyssa Milburn
9e6fe3bd88 MOHAWK: add runCommand/checkCondition routines for LB 2/3
svn-id: r54777
2010-12-05 16:19:35 +00:00
Alyssa Milburn
4a8d68f3d3 MOHAWK: implement setGlobalEnable and setGlobalVisible for LB
svn-id: r54771
2010-12-04 23:48:31 +00:00
Alyssa Milburn
e37257fe39 MOHAWK: fix LB menu mode with subpages
svn-id: r54770
2010-12-04 23:48:14 +00:00
Alyssa Milburn
5928532f0b MOHAWK: fix LiveText items without phrases
svn-id: r54769
2010-12-04 23:47:59 +00:00
Alyssa Milburn
8ed8adeeba MOHAWK: tidy up LB hardcoded UI click functions, add poetry mode support
svn-id: r54768
2010-12-04 23:47:43 +00:00
Alyssa Milburn
27799e354e MOHAWK: move shared setPalette/copyImage routines into GraphicsManager
svn-id: r54743
2010-12-02 21:25:15 +00:00
Alyssa Milburn
eb729b5f2e MOHAWK: implement kLBAnimOpDelay
svn-id: r54742
2010-12-02 21:24:55 +00:00