5808 Commits

Author SHA1 Message Date
Max Horn
b407f0040e Fix comment (copy & paste are evil)
svn-id: r17833
2005-04-27 07:57:28 +00:00
Travis Howell
e05d6e8331 Add feature flag for HE games which appear to have localized versions.
Allows accurate filtering of filename in subtitles.

svn-id: r17832
2005-04-27 05:05:10 +00:00
Travis Howell
3065bab0cb Add some basic support for pjgames.
svn-id: r17831
2005-04-27 04:47:02 +00:00
Max Horn
fc016e8e8a Added a few more comments
svn-id: r17829
2005-04-26 16:43:20 +00:00
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
ab53558315 Fixed incorrect use of kMainVirtScreen
svn-id: r17826
2005-04-26 15:41:15 +00:00
Travis Howell
e88ed2908e Save _hePalettes in HE99+ games.
svn-id: r17825
2005-04-26 15:31:51 +00:00
Travis Howell
26ace23092 Save addtion HE opcodes specific variables.
svn-id: r17824
2005-04-26 15:13:04 +00:00
Max Horn
4239ac7407 Since we don't store _CLUT_offs anymore, we can clean up the code related to it now
svn-id: r17823
2005-04-26 14:24:29 +00:00
Max Horn
973cb9a281 Make use of the new loadRoomSubBlocks (which only loads static room data now) in the save/load code; this also means we have to save a bit less data, and reduce code duplication
svn-id: r17822
2005-04-26 14:18:34 +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
9d07432375 Comment corrections
svn-id: r17820
2005-04-26 13:47:47 +00:00
Max Horn
0ca7d3a61e Added/corrected some comments; moved NES costume init code to a more appropriate place, and cleaned it up
svn-id: r17819
2005-04-26 13:43:01 +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
9421c2a9b9 Call setupVolumes in a more appropriate part of the save/load code
svn-id: r17817
2005-04-26 13:22:46 +00:00
Max Horn
00f73aeeca Reduce dependencies on saveload.h
svn-id: r17816
2005-04-26 13:17:11 +00:00
Max Horn
5586ce3243 Use an intermediate variable, to ease debugging
svn-id: r17815
2005-04-26 13:16:18 +00:00
Max Horn
e811cb091b Perform some clipping (some old savegames had bad usage bits in the same and caused a crash for me due to lack of clipping)
svn-id: r17814
2005-04-26 13:16:02 +00:00
Max Horn
f03e73c621 Added some comments
svn-id: r17813
2005-04-26 11:10:27 +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
3cc0d1b142 Removed dead code
svn-id: r17809
2005-04-26 09:21:54 +00:00
Travis Howell
62216f9cc2 Enable Blue's demo, for testing only.
svn-id: r17808
2005-04-26 07:52:37 +00:00
Travis Howell
e61728168d Always skip smacker files in HE games.
svn-id: r17807
2005-04-26 07:44:14 +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
Travis Howell
a0f56739cd Add Macintosh version of puttrace
svn-id: r17803
2005-04-26 04:22:08 +00:00
Travis Howell
93279ff29e Minor cleanup
svn-id: r17800
2005-04-25 10:22:38 +00:00
Travis Howell
8e36728526 No music file in lost/smaller.
svn-id: r17799
2005-04-25 05:59:01 +00:00
Travis Howell
9380304832 Read index of music file in HE games at startup.
Only reliable way to always get correct music tracks.

svn-id: r17798
2005-04-25 05:44:12 +00:00
Travis Howell
23fa40d56c Add misisng r.
svn-id: r17795
2005-04-25 04:35:42 +00:00
Travis Howell
967fd877b1 Remove excess ;
svn-id: r17794
2005-04-25 03:45:37 +00:00
Max Horn
ce3cd9b194 Changed the semantics of debug level 0 from off back to something more similiar to how it used to be (default debug level now is -1)
svn-id: r17788
2005-04-24 12:21:53 +00:00
Travis Howell
29532320c1 Corection a few more heversion checks, caused music regression.
svn-id: r17785
2005-04-24 10:26:31 +00:00
Travis Howell
637e86e5b4 Remove out dated comment.
svn-id: r17784
2005-04-24 04:51:36 +00:00
Travis Howell
2a14ff0a1a Use new ConfigFile class for read/writeConfigFile in HE games.
svn-id: r17782
2005-04-24 03:52:56 +00:00
Max Horn
ef760277e6 This code should be revised...
svn-id: r17778
2005-04-23 17:02:38 +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
88dfc9891e decompressWizImage shouldn't be called directly by charset renderer in HE games.
Fix palette issues with charset type 0 in HE games

svn-id: r17774
2005-04-23 14:32:40 +00:00
Max Horn
8fddaada1d Simplified debuglevel handling:
- it's only honored in the global level of the config file
 - all checks for it go through gDebugLevel now, which is made global
 - the '-d' switch is handled in a slightly saner and consistent way
 - removed 'debuglevel' from the config format documentation; we do
   not want to encourage the avarage user to use it

svn-id: r17769
2005-04-23 13:52:27 +00:00
Travis Howell
760017e462 Should be HE61 now.
svn-id: r17765
2005-04-23 11:06:17 +00:00
Travis Howell
cc526f0a01 Simpler check, since VAR_NEW_ROOM is no longer set in small header games.
svn-id: r17764
2005-04-23 09:53:56 +00:00
Travis Howell
24f2ca3d34 Adjust for last cvs change.
svn-id: r17762
2005-04-23 01:57:46 +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
Max Horn
88d0b6cc44 Only modify gDebugLevel, not the transient config
svn-id: r17754
2005-04-22 20:04:25 +00:00
Max Horn
969ef3dac9 * Added new virtual base class 'Stream', ReadStream and
WriteStream are now subclasses of it.
* Added new methods eos(), ioFailed(), clearIOFailed() to
  all streams. This allows better error checking.
* SaveFile classes take advantage of these new standard
  stream APIS
* Removed File::gets()
* Added SeekableReadStream::readLine() (replaces File::gets)
* Added WriteStream::writeString, for convenience

svn-id: r17752
2005-04-22 17:40:09 +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
45bc8afad0 Fix header check when using external wizImage files.
svn-id: r17745
2005-04-22 03:30:58 +00:00
Eugene Sandulenko
a81fbc04d9 Move HE activity on its place
svn-id: r17743
2005-04-22 00:14:56 +00:00
Eugene Sandulenko
059d1c4d20 Add HE activity pack
svn-id: r17742
2005-04-22 00:03:25 +00:00