Alyssa Milburn
925347bd4d
MOHAWK: Don't allocate zero-size array.
2011-07-02 01:27:19 +02:00
Matthew Hoops
5ba4e839b5
MOHAWK: Add the Mac version of Arthur's Reading Race
2011-07-01 18:33:14 -04:00
Alyssa Milburn
1d6df12446
MOHAWK: Always create a code object for every LBPage.
2011-07-02 00:23:37 +02:00
Alyssa Milburn
35ef5ea28c
MOHAWK: Try implementing LBCode eval, random and seek.
2011-07-02 00:23:04 +02:00
Alyssa Milburn
aceb1470cb
MOHAWK: Use LBCode instead of running scripts in LBItem.
2011-07-02 00:18:26 +02:00
Alyssa Milburn
1b2b9e7604
MOHAWK: Add LBCode::parseCode.
...
This allows script strings to be parsed into LB bytecode.
2011-07-02 00:16:55 +02:00
Alyssa Milburn
d2035b34e0
MOHAWK: Allow creation of LBCode instances without an associated BCOD.
2011-07-02 00:11:44 +02:00
Alyssa Milburn
2667b502d7
MOHAWK: Add LBCode::resolveItem helper function.
2011-07-02 00:04:24 +02:00
Alyssa Milburn
689099f9b5
MOHAWK: Fix/add bounds checking in LBCode::nextToken.
2011-07-02 00:03:49 +02:00
Matthew Hoops
d3717c1274
MOHAWK: Fix tMOV resources at the end of a file
...
Thanks to fuzzie for noticing
2011-06-30 15:51:15 -04:00
Alyssa Milburn
3384f4bf82
MOHAWK: Don't leak bitlStream (spotted by clone2727).
2011-06-28 22:00:20 +02:00
Matthew Hoops
8cd81da14e
MOHAWK: Cleanup Riven save code
2011-06-28 14:32:50 -04:00
Matthew Hoops
ddd83da48b
MOHAWK: Add archive functions to get type/id lists
...
This will be needed for CarmenTQ
2011-06-28 13:54:14 -04:00
Matthew Hoops
cc818b444c
MOHAWK: Use matchString instead of equalsIgnoreCase for resource names
...
A regression from 71c4329
2011-06-28 13:51:03 -04:00
Matthew Hoops
71c4329d86
MOHAWK: Rework archive handling
...
A new base class has been introduced (aptly named "Archive"), which is much cleaner than inheriting from MohawkArchive. In addition, the underlying resource retrieving code has been merged to reduce dupliplication.
2011-06-28 12:10:28 -04:00
Alyssa Milburn
ede71596ba
MOHAWK: Better sanity checks in LB scripting.
2011-06-28 15:34:09 +02:00
Alyssa Milburn
c2e9319fa8
MOHAWK: Handle kLBOpRunData properly.
2011-06-28 15:32:25 +02:00
Alyssa Milburn
c2319a3a81
MOHAWK: Make LB's readString/readRect more generic.
2011-06-28 15:28:26 +02:00
Bastien Bouclet
771345da3a
MOHAWK: Made some Myst common opcodes match the original better
...
Plus some minor cleanup
2011-06-25 15:22:21 +02:00
Alyssa Milburn
dde622174c
MOHAWK: Don't crash when getting odd types from LB target expressions.
...
(Thanks to [md5] for pointing it out.)
2011-06-25 09:51:50 +02:00
Alyssa Milburn
2b03a3a0e6
MOHAWK: Handle ++/-- operators in LBCode.
2011-06-24 21:10:49 +02:00
Alyssa Milburn
685934ee4a
MOHAWK: Partial support for newer LB targeting types.
2011-06-24 21:01:56 +02:00
Alyssa Milburn
d7a5ba3b2f
MOHAWK: Allow matching LBValue items by their name.
2011-06-24 21:01:04 +02:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Eugene Sandulenko
94ad45b058
Merge pull request #30 from tsoliman/configure-enhancement-warning-clean
...
Configure enhancement warning clean
2011-06-17 10:19:57 -07:00
Scott Thomas
e670a2a65c
MOHAWK: Add detection for Zoombinis v2.0.
2011-06-17 19:42:19 +09:30
Tarek Soliman
efd85e1792
MOHAWK: flag all WIP games with ADGF_UNSTABLE
...
Where in Time is Carmen Sandiego?
Myst
Riven: The Sequel to Myst
The following games are flagged according to the compatibility list
zoombini
csworld
csamtrak
carmentq
carmentqc
maggiesfa
jamesmath
treehouse
1stdegree
csusa
arthurrace
catinthehat
rugrats
lbsampler >=V3
arthurcomp
2011-06-16 13:37:58 -05:00
D G Turner
6bb745c16e
MOHAWK: Fix Memory Leak in PE Cursor Loading.
2011-06-16 01:24:58 +01:00
Max Horn
d9a996e6ef
DETECTOR: Change ADFileBasedFallback::desc to ADGameDescription pointer
2011-06-14 18:52:12 +02:00
Max Horn
01f806c2db
DETECTOR: Treat file based fallback like any other fallback method
2011-06-14 18:52:11 +02:00
Max Horn
7c992d6598
DETECTOR: Merge ADParams into AdvancedMetaEngine
2011-06-14 18:17:01 +02:00
Matthew Hoops
a495632e07
MOHAWK: Finish implementation of Riven's stopSound() opcode
2011-06-14 10:46:48 -04:00
Matthew Hoops
5174832e31
MOHAWK: Finish implementation of Riven's storeMovieOpcode opcode
2011-06-14 10:36:49 -04:00
Max Horn
b1965f9a3f
MOHAWK: Switch to alternate AdvancedMetaEngine, avoid ADParams
2011-06-10 22:15:43 +02:00
Max Horn
4827cc914a
ENGINES: Change incorrect use of 'target' to 'gameid'
2011-06-10 22:15:40 +02:00
Alyssa Milburn
b766faa7a6
MOHAWK: Add a bunch of LB detection entries.
2011-06-04 19:34:41 +02:00
Max Horn
477d6233c3
ENGINES: Change 2nd param of Engine::saveGameState to Common::String
2011-06-02 18:31:59 +02:00
Matthew Hoops
eea482fa43
ALL: behaviour -> behavior
2011-05-25 10:50:46 -04:00
Max Horn
b86da6028f
MOHAWK: Fix warning about uninitialized var
2011-05-25 16:32:38 +02:00
Bastien Bouclet
da3f670898
MOHAWK: Compensate movie encoding difference between Myst ME and Myst original, to fix a crash in the clock tower.
2011-05-19 22:06:37 +02:00
Max Horn
9ac184bfba
MOHAWK: Name the RandomSource used for myst
2011-05-17 12:17:27 +02:00
Max Horn
4cbe4ede66
COMMON: Registers RandomSources in constructor with the event recorder
...
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +02:00
Thierry Crozat
3c59e37035
ENGINES: Unify engine names
...
This unifies the engine names in MetaEngine::getName() and the
credits. In particular drop "Engine" or "engine" from the names when
it was present and use expanded names in credits when the
MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-16 00:11:32 +01:00
Bastien Bouclet
9f05f8805d
MOHAWK: Fix loading a Myst savegame from the launcher.
2011-05-15 17:41:55 +02:00
Bastien Bouclet
af9dc7a29c
MOHAWK: Display a black screen while changing stack. Default to an empty cursor.
2011-05-15 17:41:54 +02:00
Bastien Bouclet
e0e28aaeb2
MOHAWK: Implement "Show Map" feature for Myst ME
2011-05-15 17:41:54 +02:00
Bastien Bouclet
d72037fb72
MOHAWK: Play a sound when dropping a page
2011-05-15 17:41:54 +02:00
Bastien Bouclet
efac5c42d7
MOHAWK: Fix background music restarting when changing cards in original Myst
2011-05-14 19:54:34 +02:00
Bastien Bouclet
c7f3a4f578
MOHAWK: Implement page drop button for Myst
2011-05-14 19:54:32 +02:00
Bastien Bouclet
0127a888fb
MOHAWK: Fix Myst backgrounds being draw one pixel too low on some cards.
...
Happened in Myst's Generator cave.
2011-05-14 19:54:30 +02:00
Bastien Bouclet
7cc82487d3
MOHAWK: When running scripts in Myst, add delays when necessary between draws to mimic older hardware.
2011-05-14 14:10:45 +02:00
Bastien Bouclet
8db0bb9274
MOHAWK: Implement Mechanical opcodes 115, 116, 117, 118, 119 and 120. Fortress rotation simulator controls.
...
QuickTime Custom framerate and backwards playback is required for the actual simulation to be implemented (opcode 206).
2011-05-14 11:38:51 +02:00
Bastien Bouclet
3537456eb5
MOHAWK: Implement Mechanical opcodes 109, 110, 111, 112, 113 and 114. Fortress rotation controls.
...
QuickTime Custom framerate and backwards playback is required for the actual rotation to be implemented (opcode 205).
2011-05-14 10:51:55 +02:00
Alyssa Milburn
3ed095434f
MOHAWK: Stub another two LB script functions.
2011-05-13 23:03:47 +02:00
Alyssa Milburn
80249e3445
MOHAWK: Add/improve LB debug output a little.
2011-05-13 23:02:44 +02:00
Alyssa Milburn
15856a1843
MOHAWK: Add basic LBProxyItem support.
2011-05-13 23:02:06 +02:00
Bastien Bouclet
4f5ecc4861
MOHAWK: Implement Mechanical opcodes 101, 103 and 202. Singing Bird.
2011-05-12 20:53:53 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Matthew Hoops
1f39e0b6c6
MOHAWK: Use new MacCursor code instead of convertCrsrCursor()
2011-05-05 19:35:31 -04:00
Matthew Hoops
d6c1e70033
MOHAWK: Add detection for the seussabc Mac demo
2011-05-02 11:24:04 -04:00
Johannes Schickel
71bdb86e02
Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
...
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16
Conflicts:
graphics/png.cpp
2011-05-01 16:54:45 +02:00
Alyssa Milburn
712c3bc201
MOHAWK: Fix CSTime-only builds.
2011-04-30 11:07:22 +02:00
Ori Avtalion
bf15946816
MOHAWK: Remove duplicate #include
2011-04-28 21:05:40 +03:00
Ori Avtalion
ca23658908
MOHAWK: Fix compilation when only default engines are enabled
2011-04-28 21:03:24 +03:00
Ori Avtalion
81e3f6f027
MOHAWK: Fix compilation
2011-04-28 20:24:24 +03: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
Ori Avtalion
cd6ee0589d
JANITORIAL: Format forward declarations to follow convention
2011-04-28 12:20:34 +03:00
Alyssa Milburn
de531a39e0
NOHAWK: Add detection for Just Grandma and Me 1.0.
2011-04-28 10:57:08 +02:00
Alyssa Milburn
d3ca972ab4
MOHAWK: Add detection for The Berenstain Bears In The Dark.
2011-04-24 12:10:07 +02:00
Alyssa Milburn
60a2124571
MOHAWK: Add detection for Arthur's Birthday.
2011-04-24 12:01:35 +02:00
Littleboy
b9262bd70c
MOHAWK: Silence MSVC warning (bug #3290528 )
2011-04-22 14:45:14 -04:00
Bastien Bouclet
44e79c70fa
MOHAWK: Don't initialize a null pointer, to make VS2010 happy.
2011-04-21 08:05:00 +02:00
Alyssa Milburn
5563b25faf
MOHAWK: Speed up drawRLE8 a bit.
2011-04-18 16:12:57 +02:00
Johannes Schickel
ca240b4936
MOHAWK: Do not access Surface::bytesPerPixel anymore.
2011-04-17 20:58:07 +02:00
Johannes Schickel
fedd4d7809
MOHAWK: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
2011-04-17 16:30:02 +02:00
Alyssa Milburn
848b0d1b0b
MOHAWK: Stupid padding fix.
2011-04-13 19:12:25 +02:00
Matthew Hoops
deb46ab38b
AUDIO: Split the Intel DVI ADPCM into its own class
...
IMA is really just the definition on how to decode a sample from a nibble, DVI is just a way for those nibbles to be stored in the stream.
2011-04-13 09:45:13 -04:00
Alyssa Milburn
e000ed22d5
MOHAWK: LB's 'self' is case-insensitive
2011-04-13 10:11:20 +02:00
Max Horn
0ce2ca4e00
COMMON: Replace MKID_BE by MKTAG
...
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02:00
D G Turner
214f93e6aa
MOHAWK: Add Default Values to LB NotifyEvent Constructor.
...
This silences a number of warnings about possible uninitialized
parameter use.
2011-04-11 23:21:46 +01:00
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