Travis Howell
7c3cfae122
Minor cleanup.
...
svn-id: r17840
2005-04-27 14:47:10 +00:00
Travis Howell
f5189c323b
Minor clean up, HE games should always copy strings directly.
...
svn-id: r17838
2005-04-27 14:26:52 +00:00
Travis Howell
23fa40d56c
Add misisng r.
...
svn-id: r17795
2005-04-25 04:35:42 +00:00
Travis Howell
637e86e5b4
Remove out dated comment.
...
svn-id: r17784
2005-04-24 04:51:36 +00:00
Travis Howell
c61d834c6e
Always set file path separately in o72_openFile() so upper and lower case filenames are checked.
...
svn-id: r17761
2005-04-23 01:50:42 +00:00
Travis Howell
e6bd008e30
Add support for reading/writing to external config file in HE games.
...
svn-id: r17746
2005-04-22 07:12:29 +00:00
Travis Howell
dd046c184e
There are Macintosh specific versions of HE72 games.
...
svn-id: r17733
2005-04-21 10:24:13 +00:00
Travis Howell
9cbc561eda
Correct argument order.
...
Fixes glitches in freddi4/spyozon.
svn-id: r17728
2005-04-21 05:14:19 +00:00
Travis Howell
f960d3006e
Fix cut and paste rror.
...
svn-id: r17704
2005-04-20 03:12:53 +00:00
Travis Howell
6783d3e301
HACK no longer required.
...
svn-id: r17686
2005-04-19 10:16:12 +00:00
Travis Howell
d391c2f837
Adjust again, for sound header differences.
...
svn-id: r17668
2005-04-18 11:44:01 +00:00
Travis Howell
8d01148b79
Sound size should only include sound data.
...
svn-id: r17667
2005-04-18 11:19:54 +00:00
Travis Howell
d4ba67a497
Use correct music offsets for HE games, only a few demos use wrong tunes now.
...
Get all music details for HE games from one function only.
svn-id: r17662
2005-04-18 07:18:33 +00:00
Travis Howell
7d7e2a11a2
Debug no longer needed.
...
svn-id: r17655
2005-04-17 14:27:17 +00:00
Travis Howell
c673f5250e
Fix buffer overflow regression.
...
Use same buffer sizes as original.
svn-id: r17654
2005-04-17 14:20:44 +00:00
Travis Howell
caae2f00de
Add separate function for loading palette from choosen room.
...
Avoid pointer problems.
svn-id: r17653
2005-04-17 12:55:42 +00:00
Travis Howell
036a985f94
Ooops
...
svn-id: r17633
2005-04-16 15:26:19 +00:00
Travis Howell
1507203d93
VAR78 needs to be set in HE80+ games
...
Active sound channels VAR exists in HE80 too.
svn-id: r17632
2005-04-16 15:21:19 +00:00
Travis Howell
471a58680d
Filter out extra path setting and useless setting when writing INIs details in HE games.
...
svn-id: r17629
2005-04-16 14:45:21 +00:00
Travis Howell
a9ff09b066
Adjust for footdemo, which triggers assert.
...
svn-id: r17612
2005-04-16 05:36:01 +00:00
Travis Howell
a3882f3af7
Add HE7.2 difference in o_getResourceSize().
...
Add support for checking size of music resource.
svn-id: r17595
2005-04-14 06:06:59 +00:00
Travis Howell
d8467268c4
Off by one.
...
svn-id: r17583
2005-04-13 11:03:23 +00:00
Travis Howell
d3ea799f23
_stringBuffer can have mutple strings, ie in pajama2 startup.
...
Add safety check for buffer size.
svn-id: r17581
2005-04-13 10:34:47 +00:00
Travis Howell
b8d3bec568
Read/write INI entries from config file in HE games.
...
svn-id: r17580
2005-04-13 06:53:38 +00:00
Travis Howell
eed70f3dba
Cleanup
...
svn-id: r17564
2005-04-12 07:52:15 +00:00
Travis Howell
dea27e2c63
Work in progress on opcodeE0 for HE games.
...
Cleanup.
svn-id: r17560
2005-04-12 02:29:50 +00:00
Max Horn
871e278f8b
Reduce dependencies on scumm/util.h; modified ScummNESFile a bit so that it complies a bit better with our code formatting rules
...
svn-id: r17508
2005-04-10 12:59:17 +00:00
Travis Howell
240a6f7406
Switch back to warning, since it is used in maze
...
svn-id: r17481
2005-04-09 15:12:26 +00:00
Travis Howell
b12942a8e7
Correct stack list order.
...
chase/lost/smaller use correct level numbers now.
svn-id: r17480
2005-04-09 15:07:44 +00:00
Torbjörn Andersson
1566fb527f
Fixed typo in comment.
...
svn-id: r17476
2005-04-09 13:04:12 +00:00
Max Horn
34098ae3c7
Simplify the substResFileName system a bit
...
svn-id: r17475
2005-04-09 11:59:43 +00:00
Travis Howell
4f08551643
Add comment to TODO
...
Check that string pointer exists, before reading data.
Don't attempt to play speech in soccer2004, since it uses compression.
svn-id: r17470
2005-04-09 07:25:41 +00:00
Travis Howell
efa83b0dbb
Correct arguments order, works now.
...
svn-id: r17466
2005-04-09 04:52:44 +00:00
Travis Howell
61cfe81278
Actor layering only matches in freddicove
...
svn-id: r17461
2005-04-08 23:54:34 +00:00
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