Commit Graph

761 Commits

Author SHA1 Message Date
Filippos Karapetis
49f209a4d2 MOHAWK: Silence MSVC warnings 2011-07-09 14:34:59 +03:00
Alyssa Milburn
e4fc8e85ed MOHAWK: Implement stringLen and substring LBCode functions. 2011-07-07 16:23:34 +02:00
Alyssa Milburn
33a85af915 MOHAWK: Handle cursor changes in kLBNotifyChangeMode. 2011-07-07 16:23:11 +02:00
Alyssa Milburn
f0bef196b1 MOHAWK: Maintain ordered list of LB items. 2011-07-07 16:23:10 +02:00
Matthew Hoops
559c278b09 MOHAWK: Allow setting LB cursors by name 2011-07-05 13:09:27 -04:00
Alyssa Milburn
628cc40e8f MOHAWK: Fix build. 2011-07-03 18:28:22 +02:00
Alyssa Milburn
a1e9cecd39 MOHAWK: Implement the remaining LBCode arithmetic operators. 2011-07-03 18:19:32 +02:00
Alyssa Milburn
57d4bad11c MOHAWK: Handle subpages in the LB console's changePage. 2011-07-03 18:18:00 +02:00
Alyssa Milburn
d7f50b925e MOHAWK: Fix associativity of LBCode operators. 2011-07-03 14:18:17 +02:00
Bastien Bouclet
8e80f5690d MOHAWK: Misc Mechanical fixes. Many thanks to Patrick Monnerat for the patch.
- Adds break statements where missing in Mechanical::toggleVar() and Mechanical::setVarValue()
- Restore proper numbering of Achenar and Sirrus panel state variables, which were wrongly swapped.
- When bird is singing, play sound continuously.
- When operating the fortress elevator, keep the engine sound active while the elevator is moving.
2011-07-02 22:01:46 +02:00
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