Commit Graph
67 Commits
Author SHA1 Message Date
Cameron Cawley e7cb7113cd MOHAWK: Use SeekableReadStreamEndianWrapper 2022-11-29 00:06:49 +01:00
eientei 0c2d9c2e90 MOHAWK: Hacks to get the Wanderful sampler working 2022-07-05 21:40:25 +03:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh e808737662 MOHAWK: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Alexandre Detiste 6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Paul Gilbert 005561d305 COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
Paul Gilbert 7e42ae4eec MOHAWK: Revert incorrect format specifier changes 2021-07-07 22:07:10 -07:00
Paul Gilbert baccbedf50 GRAPHICS: Changed surface classes sizes from uint16 to int16 2021-07-04 18:24:27 -07:00
Eugene Sandulenko 1e3f7fe797 MOHAWK: Added unsupported greeneggs 2.0. Bugreport #12500
The game has more opcodes used than the previously added entries,
thus it frequently stops with unimplimented stuff.
2021-05-05 23:34:14 +02:00
Orgad Shaneh 51bcbd2fa4 MOHAWK: Fix Clang warning
warning: definition of implicit copy assignment operator for 'LBValue' is deprecated because it has a user-declared copy constructor
2021-03-15 13:25:40 +00:00
D G Turner 1072fca204 MOHAWK: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-02 00:16:10 +00:00
Bastien Bouclet a992dcc91a MOHAWK: LB: Mark some switch fall-throughs as intentional
Fall-throughs are used as a way to handle optional parameters in this
function.
2018-04-22 08:17:50 +02:00
Matthew Hoops 4025c20ea4 MOHAWK: Fix parsing the Arthur's Computer Adventure globals section 2015-07-04 12:35:37 -04:00
Alyssa Milburn 273f4ae945 MOHAWK: Implement xpos/ypos for LB. 2015-07-03 17:42:48 +02:00
Alyssa Milburn 97fcc16a4d MOHAWK: Implement deleteVar for LB. 2015-07-03 17:38:00 +02:00
Alyssa Milburn 327899c7d2 MOHAWK: Implement width/height for LB. 2015-07-03 17:32:14 +02:00
Johannes Schickel abd9e92086 MOHAWK: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Alyssa Milburn 02d81911cd MOHAWK: Add LB function name aliases. 2013-04-19 00:48:41 +02:00
Alyssa Milburn 73d6294619 MOHAWK: Some LB bytecode improvements. 2013-04-19 00:36:45 +02:00
Alyssa Milburn 541a0b8c69 MOHAWK: Implement LB's kTokenEval. 2013-04-19 00:32:49 +02:00
Max Horn 4f8665fc83 COMMON: Move isFoo functions to namespace Common, add doxygen comments 2012-02-20 16:18:27 +01:00
Max Horn 658080deed ALL: Avoid using is* macros from ctype.h
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Alyssa Milburn 99d3b7b5c3 MOHAWK: Stub LB clone command. 2011-12-08 23:23:35 +01:00
Alyssa Milburn 64c5a12d60 MOHAWK: Fix LBCode goto notify. 2011-12-08 23:18:08 +01:00
Alyssa Milburn ef22475988 MOHAWK: Implement LB getProperty/setProperty. 2011-12-08 23:15:48 +01:00
Alyssa Milburn 3be628735b MOHAWK: Implement LB exec,return. 2011-12-02 00:06:58 +01:00
Alyssa Milburn 2657d14636 MOHAWK: Implement LB add,addAt,setAt. 2011-12-02 00:05:45 +01:00
Alyssa Milburn 82ff40c548 MOHAWK: Implement LBCode::itemIsLoaded. 2011-12-02 00:03:01 +01:00
Alyssa Milburn 9b00b3d5b7 MOHAWK: LB list improvements, implement &= operator. 2011-12-02 00:01:06 +01:00
Alyssa Milburn 446822369b MOHAWK: Implement LB move/moveTo. 2011-12-01 23:59:15 +01:00
Alyssa Milburn 43d6d49e2e MOHAWK: Handle LB conversion from string to point/rect. 2011-12-01 23:55:40 +01:00
Alyssa Milburn 553d32a818 MOHAWK: Implement LBCode::cmdMousePos. 2011-12-01 23:52:47 +01:00
Alyssa Milburn d015a37e00 MOHAWK: Fix parameterless calls when parsing LB scripts. 2011-12-01 23:51:52 +01:00
Alyssa Milburn 1e9ea08495 MOHAWK: Fix LBCode seek/seekToFrame. 2011-11-27 21:02:13 +01:00
Alyssa Milburn e4bdea7c17 MOHAWK: Stub LB's min/max/abs. 2011-11-27 00:11:34 +01:00
Alyssa Milburn 9f56876165 MOHAWK: Add the start of support for LBXDataFile. 2011-11-26 23:50:45 +01:00
Alyssa Milburn dc02f67127 MOHAWK: Add some basic LB list support. 2011-11-26 23:45:40 +01:00
Alyssa Milburn 581aca66fa MOHAWK: Parse true/false in LB scripts. 2011-11-26 20:49:02 +01:00
Alyssa Milburn 61bac6ed15 MOHAWK: Convert between rects/points in LB code (thanks clone2727). 2011-11-25 23:03:18 +01:00
Alyssa Milburn c74b364b21 MOHAWK: Implement LB's makePt. 2011-11-20 16:32:23 +01:00
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 a1e9cecd39 MOHAWK: Implement the remaining LBCode arithmetic operators. 2011-07-03 18:19:32 +02:00
Alyssa Milburn d7f50b925e MOHAWK: Fix associativity of LBCode operators. 2011-07-03 14:18:17 +02:00
Alyssa Milburn 925347bd4d MOHAWK: Don't allocate zero-size array. 2011-07-02 01:27:19 +02:00
Alyssa Milburn 35ef5ea28c MOHAWK: Try implementing LBCode eval, random and seek. 2011-07-02 00:23:04 +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