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
Max Horn
9a4bc8ce16
Patch #1117443 (Experimental plugin code revision)
...
svn-id: r17231
2005-03-25 17:55:57 +00:00
Max Horn
df129b198c
Some more cleanup
...
svn-id: r17227
2005-03-25 01:59:47 +00:00
Max Horn
47ee0ce884
Moved _roomStrips to class Gdi; put some GFX pre-room init code into the new method Gdi::roomChanged(); some more cleanup
...
svn-id: r17226
2005-03-25 01:52:20 +00:00
Max Horn
c86b18716b
Started some cleanup work on class Gdi (in particular, I try to limit that class to GFX decoding only, and moved the screen rendering code out of it)
...
svn-id: r17225
2005-03-25 01:27:28 +00:00
Max Horn
7ed1c19f6c
Cleanup: collect the C64 specific render data into a struct inside class Gdi
...
svn-id: r17224
2005-03-25 00:56:03 +00:00
Max Horn
980576a4b6
Do not use (non-const) local static variables
...
svn-id: r17221
2005-03-25 00:37:14 +00:00
Eugene Sandulenko
33952c09cb
Correct positioning of inventory and verbs in MM NES.
...
Started to tackle inventory.
svn-id: r17219
2005-03-24 21:34:35 +00:00
Eugene Sandulenko
2226aa6bc9
Add support for russian spyfox2 and spyfox3
...
svn-id: r17218
2005-03-24 12:33:53 +00:00
Eugene Sandulenko
9ab0962f6d
Lots of MM NES changes from Quietust and me
...
o Swap palette entries 0x00 and 0x1D in all necessary places. This gets
rid of gray background
o added a function NES_loadCostumeSet(int n) in order to do #1 for sprites
o Widen screen to 256 pixels and center narrow rooms in it
o Partial fix for subtitle rendering, now at least first line is
rendered with identation
svn-id: r17212
2005-03-24 03:22:32 +00:00
Travis Howell
a72a1ef827
Patch from Quietust:
...
-update md5 checksums for NES maniac
svn-id: r17204
2005-03-23 05:59:24 +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
097a3a0aac
Cleanup
...
svn-id: r17192
2005-03-22 00:46:48 +00:00