467 Commits

Author SHA1 Message Date
Max Horn
5109e82c35 Refactor HE actor post/pre-processing code a bit (some more cleanup for HE90 could probably be done, but I'll leave that to the HE folks for now :-)
svn-id: r17847
2005-04-28 00:45:06 +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
Max Horn
3a4dafeaa3 desaturatePalette is V8 specific
svn-id: r17827
2005-04-26 15:42:35 +00:00
Travis Howell
26ace23092 Save addtion HE opcodes specific variables.
svn-id: r17824
2005-04-26 15:13:04 +00:00
Max Horn
aa330e827c Clean up HE save/load code, at the cost of savegame compatibility (v71he and upwards)
svn-id: r17821
2005-04-26 14:01:38 +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
Travis Howell
2df1161e0c Add stubs for the two smacker related opcodes in HE games.
Makes it easier to test new titles.

svn-id: r17806
2005-04-26 06:47:42 +00:00
Max Horn
554ecd57cb Don't use Common::Map for the object table at all; rather use bsearch on a fixed size table.
svn-id: r17777
2005-04-23 16:52:11 +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
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
Gregory Montoir
8d76879849 cleanup
svn-id: r17740
2005-04-21 19:27:17 +00:00
Travis Howell
d7f263ff1a Add palette function for HE99+ games.
svn-id: r17737
2005-04-21 16:02:37 +00:00
Travis Howell
098e0cce58 Add palette function foe He99+ games.
svn-id: r17736
2005-04-21 15:40:40 +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
Travis Howell
94e554a670 Rename sprite field for HE games.
svn-id: r17706
2005-04-20 05:24:02 +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
d391c2f837 Adjust again, for sound header differences.
svn-id: r17668
2005-04-18 11:44:01 +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
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
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
Gregory Montoir
dbfd703d51 Updated comment
svn-id: r17590
2005-04-13 19:48:49 +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
Travis Howell
973b4073c9 Sync.
svn-id: r17561
2005-04-12 02:35:59 +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
Gregory Montoir
863007c5fb added processWizImage mode 10
svn-id: r17545
2005-04-11 17:59:55 +00:00
Travis Howell
0c5253c1eb Add a few extra sprite correction and functions, based off HE100.
svn-id: r17536
2005-04-11 07:40:14 +00:00
Travis Howell
b40fa83d41 Add initial rmap support for wizImages.
svn-id: r17497
2005-04-10 01:25: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
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
Gregory Montoir
16061e0f42 minor corrections and cleanup
svn-id: r17471
2005-04-09 08:55:26 +00:00
Travis Howell
73d1d63f15 Add opcode for chase, playable now.
svn-id: r17469
2005-04-09 06:39:20 +00:00
Travis Howell
2d40caf7ad Add opcode stub for chase
svn-id: r17468
2005-04-09 06:26:12 +00:00
Travis Howell
dbc4d13b3d load/save sprite data in HE90+ games.
svn-id: r17459
2005-04-08 23:27:36 +00:00
Travis Howell
2a5aaf9fc2 Add HE70+ version of seekFilePos opcode.
svn-id: r17450
2005-04-08 11:10:01 +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
6ced0d698a Add WIP on hePalette.
svn-id: r17431
2005-04-07 10:43:51 +00:00
Travis Howell
19ff0b0085 Add hePalette function.
svn-id: r17424
2005-04-06 23:56:50 +00:00
Travis Howell
eeb70bdfd2 Writing into wizImage no longer crashes.
svn-id: r17386
2005-04-05 14:42:36 +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
Travis Howell
74c124628a Muddled ifs
svn-id: r17373
2005-04-04 11:47:38 +00:00
Max Horn
789cad236c Splitting more methods into multiple overloaded versions
svn-id: r17366
2005-04-03 23:53:34 +00:00