Commit Graph
242 Commits
Author SHA1 Message Date
Travis Howell 2a5aaf9fc2 Add HE70+ version of seekFilePos opcode.
svn-id: r17450
2005-04-08 11:10:01 +00:00
Travis Howell 328c588eab Ooops
svn-id: r17449
2005-04-08 07:50:46 +00:00
Travis Howell c2aff3bf46 A few off by 1's.
svn-id: r17448
2005-04-08 07:49:06 +00:00
Travis Howell 5bd6380b20 Set array data
svn-id: r17446
2005-04-08 05:19:10 +00:00
Travis Howell 59703e4a57 HE99+ games store the base name is array 129, which is set on startup.
svn-id: r17444
2005-04-08 00:38:12 +00:00
Travis Howell 682df447a3 The reverse actor layering only applies to pajama3
svn-id: r17432
2005-04-07 10:54:36 +00:00
Max Horn 3d5b5f2ad8 Moved createResource, resourceStats, expireResources to ResourceManager
svn-id: r17420
2005-04-06 17:31:35 +00:00
Max Horn 26e0ec1d24 itoa is not ANSI C and not portable. TODO: Implement the %b case
svn-id: r17419
2005-04-06 17:24:18 +00:00
Travis Howell 03be8dc46e Add missing code for decodeScriptString cases.
svn-id: r17416
2005-04-06 15:01:46 +00:00
Travis Howell f230fe65e8 Add 8 sound channel support for HE games
-Allows sound looping to work

Added support for WAVE format musuc used in later HE100 games.

svn-id: r17372
2005-04-04 11:43:25 +00:00
Travis Howell 27cba7619e More sprite renames
svn-id: r17342
2005-04-03 02:24:28 +00:00
Gregory Montoir 7b88503437 initial implementation of o72_arrayOps_127 and o90_sortArray
svn-id: r17337
2005-04-02 17:19:44 +00:00
Travis Howell d80f9ccd40 Add support for clipping of wizImages.
Add support for altering wizImages.
Various renames.

svn-id: r17322
2005-04-01 08:51:13 +00:00
Travis Howell cdd21c361b Remove resource type argument in wizImage functions, it is always rtImage.
Rename sprite flags/functions
Remove unused sprite flags
Switch sprite flags back to hex. for easier comparison

svn-id: r17319
2005-04-01 06:30:46 +00:00
Travis Howell fc59dcae3e Return correct object x/y position
svn-id: r17308
2005-03-31 12:58:11 +00:00
Eugene Sandulenko 7ae3da082e Support for direct reading from NES ROM:
o extend MemoryReadStream with XOR facility
  o implement MemoryWriteStream
  o _fileHandle now is a reference to BaseScummFile class and is created on the fly
  o implement ScummNESFile class which is basically extract_mm_nes utility
  o update NES MM md5's due to above changes

NOTE: to run MM NES now you need to remove *.LFL files and (probably) rename
ROM to standard conventional name 'Maniac Mansion (XXX).nes'

svn-id: r17300
2005-03-30 21:59:12 +00:00
Travis Howell 6bb533f936 Cleanup
svn-id: r17292
2005-03-30 11:49:53 +00:00
Travis Howell 22affb0382 Check class of object number, not loop.
Cleanup.

svn-id: r17272
2005-03-28 11:38:04 +00:00
Travis Howell 11e1e246cc findObject in HE72+ only checks object bounds
findObject in He70/71 only needs additional polygon check

svn-id: r17270
2005-03-28 10:02:22 +00:00
Travis Howell 8e84ee694c Add HE90 version of kernelGet/Set opcode and move HE90 specific cases over.
svn-id: r17200
2005-03-23 00:16:51 +00:00
Eugene Sandulenko 8102efa7a3 Add three new HE sports games. Baseball is most playable now.
Add some unhandled KernelGet/SetFunctions used by new titles.

svn-id: r17198
2005-03-22 20:57:14 +00:00
Travis Howell f50af11b5d Add HE72 version of file rename opcode
svn-id: r17175
2005-03-17 11:06:43 +00:00
Travis Howell 4361ef655e HE72+ games use slightly different code for subtitle color.
svn-id: r17174
2005-03-17 10:53:29 +00:00
Eugene Sandulenko 154c4af8dc Mass-renamed all variables of Actor object according to our current code
formatting standards. Earlier we had half of vars named with leading
underscore and half without it.

Now code in actor.cpp is considerably more readable.

svn-id: r17068
2005-03-11 01:10:06 +00:00
Travis Howell a913095ee0 Add HE specific versions of findResource/findResourceData.
Required by WizImage functions, which sometimes alter data.

svn-id: r17060
2005-03-10 11:06:37 +00:00
Travis Howell f7770e3cfe Add last change to o60_opeFile too.
svn-id: r17057
2005-03-10 00:50:54 +00:00
Travis Howell 248bee4d24 Change o72_openFile to always use saved game path for writing.
svn-id: r17056
2005-03-10 00:46:26 +00:00
Travis Howell d2dab23510 Add HE100 difference in opcode.
svn-id: r17033
2005-03-08 03:52:02 +00:00
Travis Howell 8cc18e6797 Minor cleanup
svn-id: r17025
2005-03-07 06:37:56 +00:00
Travis Howell 1e07216b85 Cases are different.
svn-id: r17023
2005-03-07 04:21:11 +00:00
Travis Howell 958d68e893 Need to adjust HE7 filename for mustard too.
svn-id: r16982
2005-03-03 05:09:39 +00:00
Travis Howell 78e3fc9415 Add missing actor redraws
svn-id: r16980
2005-03-03 03:06:30 +00:00
Travis Howell e85baf02d1 Correct palSlot range
svn-id: r16979
2005-03-03 02:51:15 +00:00
Travis Howell bad34c12cd Add two more VARs for HE89+
Minor cleanup

svn-id: r16977
2005-03-02 23:14:06 +00:00
Travis Howell e913602100 Fix array read from files in HE72+
svn-id: r16970
2005-03-02 08:42:42 +00:00
Travis Howell cf0aac1506 Add more safety checks.
svn-id: r16939
2005-02-27 00:42:52 +00:00
Gregory Montoir cc5e406cb5 defined some flags for HE wiz ; it should make the code more readable
svn-id: r16901
2005-02-24 20:20:35 +00:00
Travis Howell 99f54b437d Minor cleanup
svn-id: r16860
2005-02-22 13:54:38 +00:00
Eugene Sandulenko c49642bb8b o Added 5 updated Russian freddi-related titles.
o Fixed ScummEngine_v72he::o72_openFile() so autogenerated names also
  checked for substitution.
o New case 0 in o100_actorOps() used by Russian updated freddicove. Number
  of stack items weren't checked against disassembly

svn-id: r16792
2005-02-14 21:19:00 +00:00
Travis Howell 39b83ba8cf Add addiotnal decode type in later HE games.
svn-id: r16791
2005-02-14 13:44:19 +00:00
Travis Howell cc708339ea Merge two opcode, move two opcodes back to HE70.
svn-id: r16731
2005-02-02 12:05:00 +00:00
Travis Howell 0c827c0fcf Add comment
svn-id: r16712
2005-01-31 00:27:31 +00:00
Travis Howell 09d0d6c26d Changes for Macintosh filenames.
svn-id: r16711
2005-01-31 00:16:11 +00:00
Travis Howell bebad400d6 Check sound queue for music in HE games.
Avoid extra sound channel.

svn-id: r16706
2005-01-30 11:03:49 +00:00
Eugene Sandulenko 66c524f0ee Add support for Humongous Mac titles in native format. Please test :)
svn-id: r16693
2005-01-29 17:58:47 +00:00
Max Horn cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn 47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Travis Howell ad0b8f1de5 Unused includes
svn-id: r16236
2004-12-21 06:09:40 +00:00
Travis Howell e81daf7840 Unused var
svn-id: r16235
2004-12-21 05:57:36 +00:00
Travis Howell 4ecd5edab6 Sync HE100
svn-id: r16234
2004-12-21 05:55:03 +00:00