Max Horn
adc21c1ac3
Move _numActors to a more sensible place, and make it protected; fix confirmFOODialog() method names to comply with our guidelines
...
svn-id: r17658
2005-04-17 22:40:45 +00:00
Max Horn
e0adf9db17
oops, again
...
svn-id: r17648
2005-04-17 11:24:42 +00:00
Max Horn
a19ab36dff
oops
...
svn-id: r17647
2005-04-17 11:23:55 +00:00
Travis Howell
ee62127ace
Add mouse state VAR for HE 72+ games.
...
svn-id: r17631
2005-04-16 14:59:15 +00:00
Max Horn
90217a59af
Improved auto-detection if MD5 is not known / MD5 support is disabled
...
svn-id: r17622
2005-04-16 12:41:56 +00:00
Travis Howell
57711d54fe
puttmoon GID no longer used.
...
svn-id: r17614
2005-04-16 10:16:31 +00:00
Eugene Sandulenko
4532652b39
Fix bug #1182206 "Maniac Mansion (NES) doesn't run anymore after Apr 10 commit"
...
svn-id: r17585
2005-04-13 13:32:58 +00:00
Travis Howell
4b7999b6fa
Ooops, was not used.
...
svn-id: r17582
2005-04-13 10:40:06 +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
Eugene Sandulenko
bdbd56406c
Patches #1164217 "Updated GS Support + Percussion Remapping Patch" and
...
#1181750 "Updated Native MIDI documentation". Thanks _tom a lot.
svn-id: r17571
2005-04-13 00:11:49 +00:00
Travis Howell
d67cfd4be9
Ooops
...
svn-id: r17533
2005-04-11 04:33:28 +00:00
Travis Howell
e36bc81511
Sort alternative file list again and remove duplicate.
...
svn-id: r17532
2005-04-11 04:07:10 +00:00
Travis Howell
82da226c8e
Re-order md5s for multiple version games.
...
Easier to read and update.
svn-id: r17531
2005-04-11 04:02:48 +00:00
Max Horn
8df392cabe
Fix for bug #1167146 (properly fix the monkey vs. monkey1 issue by using the substResFileNameTable table)
...
svn-id: r17524
2005-04-10 17:20:24 +00:00
Max Horn
eb10589c83
Add a comment which clarifies that monkeyVGA and loomCD are V5 games, but we still set _version=4 for them, because it is convenient
...
svn-id: r17521
2005-04-10 16:54:16 +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
Max Horn
063fa83483
Init music engine within setupMusic(), even for V1 and V2 games
...
svn-id: r17498
2005-04-10 01:31:31 +00:00
Max Horn
475ee92117
Moved some room loading stuff into a new source file
...
svn-id: r17496
2005-04-10 01:23:33 +00:00
Max Horn
cfe85b8618
Don't call allocateArrays from readMAXS, rather call it explicitly after calling readMAXS; init _palManipCounter in the proper place (only needed when restarting); free palManip data on exit
...
svn-id: r17495
2005-04-10 00:51:47 +00:00
Max Horn
78f2f279c4
Got rid of _dynamicRoomOffsets
...
svn-id: r17494
2005-04-10 00:33:31 +00:00
Max Horn
d271b58aa7
Got rid of GF_NEW_OPCODES
...
svn-id: r17488
2005-04-09 20:13:30 +00:00
Max Horn
34098ae3c7
Simplify the substResFileName system a bit
...
svn-id: r17475
2005-04-09 11:59:43 +00:00
Eugene Sandulenko
6aa5087ab0
I really need _substResFileNameIndex passed into ScummEngine constructor.
...
Put a workaround now.
svn-id: r17464
2005-04-09 02:44:37 +00:00
Jonathan Gray
24c92d0091
Remove usage of vsprintf in favour of vsnprintf and make
...
more use of STRINGBUFLEN. Some ports may need a new stub for
this, discussed with Chrilith.
svn-id: r17463
2005-04-09 01:52:44 +00:00
Travis Howell
61cfe81278
Actor layering only matches in freddicove
...
svn-id: r17461
2005-04-08 23:54:34 +00:00
Eugene Sandulenko
249134ede3
Add NES platform
...
svn-id: r17454
2005-04-08 20:49:13 +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
c11827c219
Split readMAXS between HE versions
...
svn-id: r17435
2005-04-07 11:43:38 +00:00
Travis Howell
810861fdf5
Move hePalettes allocation to HE99.
...
svn-id: r17434
2005-04-07 11:15:10 +00:00
Travis Howell
682df447a3
The reverse actor layering only applies to pajama3
...
svn-id: r17432
2005-04-07 10:54:36 +00:00
Travis Howell
6ced0d698a
Add WIP on hePalette.
...
svn-id: r17431
2005-04-07 10:43:51 +00:00
Eugene Sandulenko
668c889c8e
Patch from Quietust
...
o Remove unused _system variables in player_v2a and player_v3a
o Sound player for MM NES :) Now we're playing chiptunes.
svn-id: r17425
2005-04-07 07:29:19 +00:00
Max Horn
2911c2aeb8
oops
...
svn-id: r17421
2005-04-06 17:42:39 +00:00
Max Horn
3d5b5f2ad8
Moved createResource, resourceStats, expireResources to ResourceManager
...
svn-id: r17420
2005-04-06 17:31:35 +00:00
Travis Howell
c66e6bb001
This section of startScene only exists in scumm5 onwards.
...
svn-id: r17409
2005-04-06 05:04:39 +00:00
Travis Howell
840a7ee846
Add correct fix for bug #556496
...
svn-id: r17406
2005-04-06 02:11:07 +00:00
Travis Howell
aeec229615
getScriptSlot() must start from slot 1, required for nukeArrays() in HE games.
...
svn-id: r17383
2005-04-05 11:06:03 +00:00
Max Horn
0c1f2aa161
Removed GF_SMALL_NAMES
...
svn-id: r17368
2005-04-04 00:16:58 +00:00
Max Horn
1419f0d5ef
Split readResTypeList into a normal and a GF_OLD_BUNDLE version; added comments to many of the GF_ feature flags; removed GF_DRAWOBJ_OTHER_ORDER (it was only use by Sam&Max, I switched that to a direct check for Sam&Max)
...
svn-id: r17362
2005-04-03 22:10:10 +00:00
Max Horn
b507231f71
ScummEngine_v4 used to be a subclass of ScummEngine_v3, now it is the other way around; added a new class ScummEngine_v3old, for GF_OLD_BUNDLE games; took advantage of the new inheritance structure and turned various methods into virtual methods which then are overriden in subclasses
...
svn-id: r17346
2005-04-03 15:06:08 +00:00
Travis Howell
b5f281e9d8
Cleanup
...
svn-id: r17333
2005-04-02 14:24:43 +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
Max Horn
3ea3c42242
Extended comment on _CLUT_offs a bit
...
svn-id: r17315
2005-03-31 23:14:09 +00:00
Max Horn
bed1629642
Made findResourceSmall local to resource.cpp; simplified _EPAL_offs (since we don't use it nor save it at this time, this is harmless); added a comment about _CLUT_offs ugliness
...
svn-id: r17314
2005-03-31 23:11:39 +00:00
Max Horn
ac247c9b94
Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
...
svn-id: r17311
2005-03-31 21:39:31 +00:00
Eugene Sandulenko
f4c50eff95
Switch to headerless PRG data for MM NES for better compatibility.
...
svn-id: r17302
2005-03-30 23:25:49 +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
Eugene Sandulenko
dbfeb393aa
Patch from Quietust for MM NES
...
o Fix number of global objects
o Camera-related differences
o Proper user states
o Updated MD5 for new 00.lfl
svn-id: r17268
2005-03-27 21:21:05 +00:00
Max Horn
abcf7bf2de
Tie the AKOS code into the new costume infrastructure, too
...
svn-id: r17259
2005-03-27 01:07:22 +00:00
Max Horn
446be21239
Started to overhaul the costume infrastructure a bit, properly separating the NES costume code in the process (sorry if I broke stuff for the NES folks, but I figure it is better to get this done properly now before we have to untangle the mess later)
...
svn-id: r17257
2005-03-27 00:23:38 +00:00