Commit Graph

602 Commits

Author SHA1 Message Date
Max Horn
b56b84b145 Use kVerbVirtScreen were appropriate; removed unused param from initVirtScreen
svn-id: r17828
2005-04-26 15:52:55 +00:00
Max Horn
3a4dafeaa3 desaturatePalette is V8 specific
svn-id: r17827
2005-04-26 15:42:35 +00:00
Max Horn
c9cdee2d97 Removed the ugly saveOrLoadCursorImages hack and instead properly overload ScummEngine::saveOrLoad; did the same for the V7 IMuseDigital save/load code
svn-id: r17818
2005-04-26 13:33:17 +00:00
Max Horn
3931115b9a Split loadRoomSubBlocks into a 'static' part (loadRoomSubBlocks) and a 'dynamic' part (initRoomSubBlocks)
svn-id: r17811
2005-04-26 10:58:49 +00:00
Max Horn
b43e1e960f Map is only needed in intern.h
svn-id: r17776
2005-04-23 16:09:22 +00:00
Travis Howell
261a02beec HE98+ includes extra VAR checks at this point.
Fixes salesmen freeze in freddi4.

svn-id: r17727
2005-04-21 03:29:31 +00:00
Max Horn
7b93b0e079 Moved v2 verb code into class ScummEngine_v2
svn-id: r17725
2005-04-20 23:53:29 +00:00
Max Horn
7963bb4cb9 Renamed _mouseButStat -> _mouseAndKeyboardStat (that's what it really is); moved _audioNames to class IMuseDigital
svn-id: r17723
2005-04-20 23:33:35 +00:00
Max Horn
c04ad861fe Moved some more VARs; added comments to some of the vars which explain where they are used
svn-id: r17722
2005-04-20 23:13:11 +00:00
Max Horn
b724929466 Split initScummVars and overload it; this makes it possible to define more VARS in subclasses
svn-id: r17721
2005-04-20 20:34:44 +00:00
Max Horn
d2624d8e08 cleanup
svn-id: r17718
2005-04-20 19:59:18 +00:00
Max Horn
c46ea8bc40 Replaced the platform specific GF_FOO switches (using _platform instead now)
svn-id: r17716
2005-04-20 18:21:30 +00:00
Max Horn
005efe61aa Added ScummEngine::_platform; eventually, this should replave GF_FMTOWNS, GF_AMIGA, etc. (everybody is welcome to work on this :-)
svn-id: r17710
2005-04-20 09:53:13 +00:00
Eugene Sandulenko
89ca4bf716 Since lost/smaller use default windows cursor we setup our own
svn-id: r17705
2005-04-20 03:13:06 +00:00
Travis Howell
54f59d761c Re-order to fill in the gaps.
svn-id: r17703
2005-04-20 01:59:09 +00:00
Travis Howell
a77a0656ea Switch to uint for safety.
svn-id: r17702
2005-04-20 01:49:01 +00:00
Travis Howell
f360102741 Update comment
svn-id: r17701
2005-04-20 01:44:52 +00:00
Travis Howell
ea8d2a0fd0 Correction to last commits.
svn-id: r17700
2005-04-20 01:42:55 +00:00
Travis Howell
fa3688e80f No longer required
svn-id: r17699
2005-04-20 01:38:48 +00:00
Travis Howell
b916eb1975 Add some palette different in HE80+ games.
svn-id: r17674
2005-04-19 04:12:49 +00:00
Max Horn
96e40213ef New virtual method getObjectIdFromOBIM
svn-id: r17660
2005-04-17 23:19:16 +00:00
Max Horn
c4e7f403f8 Split out some index reading code into a new method readIndexBlock()
svn-id: r17659
2005-04-17 22:59:43 +00:00
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
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
ee62127ace Add mouse state VAR for HE 72+ games.
svn-id: r17631
2005-04-16 14:59:15 +00:00
Travis Howell
57711d54fe puttmoon GID no longer used.
svn-id: r17614
2005-04-16 10:16:31 +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
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
475ee92117 Moved some room loading stuff into a new source file
svn-id: r17496
2005-04-10 01:23:33 +00:00
Max Horn
78f2f279c4 Got rid of _dynamicRoomOffsets
svn-id: r17494
2005-04-10 00:33:31 +00:00
Max Horn
d7c1017fe4 Pedantic cleanup
svn-id: r17490
2005-04-09 20:26:51 +00:00
Max Horn
81e34e9110 Overload getStringAddress in subclasses; moved V6-V8 specific res stuff to resource.cpp
svn-id: r17489
2005-04-09 20:22: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
Travis Howell
61cfe81278 Actor layering only matches in freddicove
svn-id: r17461
2005-04-08 23:54:34 +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
Max Horn
3d5b5f2ad8 Moved createResource, resourceStats, expireResources to ResourceManager
svn-id: r17420
2005-04-06 17:31:35 +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
5b53b4a463 Cleaning up the charset loading code some more
svn-id: r17367
2005-04-04 00:12:41 +00:00
Max Horn
789cad236c Splitting more methods into multiple overloaded versions
svn-id: r17366
2005-04-03 23:53:34 +00:00
Max Horn
3feadcac28 Turned readRoomsOffsets into a virtual method
svn-id: r17363
2005-04-03 22:56:02 +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
Max Horn
9f01b54bcf Turned setupRoomObject into a virtual method
svn-id: r17326
2005-04-01 13:05:40 +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
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