Commit graph

261 commits

Author SHA1 Message Date
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
a5378976d0 Print out save version and stored MD5 on debug level 2.
svn-id: r20028
2006-01-14 16:33:24 +00:00
Gregory Montoir
f6c6196295 Get rid of unused variables and removed them from the save data ; FloodFill.unk1C and _curExecScript.
Concerning _curExecScript, I checked several interpreters (even one with windex compiled in), the only function where it's used is runAllScripts.

svn-id: r19977
2006-01-10 21:39:14 +00:00
Travis Howell
832c9a1b49 Update Commodore 64 palette table.
Cleanup.

svn-id: r19673
2005-11-20 08:29:17 +00:00
Travis Howell
49db1e9447 SCUMM 6 games use VAR_VOICE_MODE too, based on Sam & Max win32 disasm.
Minor cleanup.

svn-id: r19604
2005-11-15 22:50:14 +00:00
Max Horn
fdeacb2d24 Fix for bug #1350645 (Playtime corrupted if save name is >=32 chars)
svn-id: r19498
2005-11-07 22:57:31 +00:00
Travis Howell
7cef807757 Fix subtitle regressions.
svn-id: r19423
2005-11-04 09:57:13 +00:00
Gregory Montoir
c84d1ada32 To match the original v7/v8 interpreters, use BlastTexts to display the subtitles. This allows to fix the bug #1092993. As this is quite an important change, regressions may appear. You've been warned :)
svn-id: r19398
2005-11-02 21:47:44 +00:00
Gregory Montoir
8eaa89863a in v7/v8, remapPaletteColor() ignores color 255
in v7, remapPaletteColor() ignores colors setup by initCycle()

svn-id: r19380
2005-11-01 02:43:54 +00:00
Max Horn
6b36c763d1 Fix link error with --disable-he
svn-id: r19270
2005-10-23 19:29:23 +00:00
Max Horn
578dc7914e Gee, should pay more attention and read comments I myself added years ago...
svn-id: r19248
2005-10-22 23:49:29 +00:00
Max Horn
117192363c V7 savegames actually aren't supported; fix comment
svn-id: r19247
2005-10-22 23:47:39 +00:00
Max Horn
899eb271c6 Got rid of 'ref' code (or rather: hack) in the save/load system
svn-id: r19246
2005-10-22 23:42:12 +00:00
Max Horn
b9b49c3b55 Reduce header dependencies (for quicker recompiles)
svn-id: r19245
2005-10-22 23:08:14 +00:00
Max Horn
3f20bdb34a No need to pass savegameVersion to saveOrLoad, the serializer already knows it
svn-id: r19244
2005-10-22 22:54:59 +00:00
Travis Howell
3374e399b5 Load/Save palette correctly in HE99 games.
Save actor shadows in HE games.

svn-id: r19231
2005-10-22 04:08:48 +00:00
Max Horn
b5e63f5bfb Turn class Sound into a Serializable
svn-id: r19225
2005-10-21 23:04:58 +00:00
Max Horn
ffc5e1718f Started to make the save/load system slightly more object oriented
svn-id: r19224
2005-10-21 23:01:13 +00:00
Travis Howell
ba780d65df HE games require _arraysSlots and sound resource 1 to be saved.
Breaks all old saved games for HE games only.

svn-id: r19179
2005-10-19 12:15:36 +00:00
Gregory Montoir
a38bc21581 Added flood fill support. Pajama2 puzzle seems to be ok now
svn-id: r19158
2005-10-18 19:17:19 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Max Horn
bb8afe3839 Added ResourceManager::isLocked; made ResourceManager::flags protected; moved some stuff around
svn-id: r19137
2005-10-17 15:00:23 +00:00
Gregory Montoir
3e03ca6855 Slightly better that way.
svn-id: r19085
2005-10-14 19:51:56 +00:00
Gregory Montoir
fe6b21129d Fixed the 'Failed to save game state' warning in HE90. _numBitVariables is equal to 0 there, so Serializer::saveLoadArrayOf() is called with len=0 which calls GzipSaveFile::write() with dataSize=0, which leads to GzipSaveFile::_ioError being set.
svn-id: r19084
2005-10-14 19:32:58 +00:00
Eugene Sandulenko
bd4340f21a Add possibility to see exact md5s of your game and save when they don't
match. It's on debuglevel 1.

svn-id: r19069
2005-10-13 23:20:41 +00:00
Marcus Comstedt
57e1c6451d Improved savefile error handling:
* New flush() method in WriteStream class to flush pending I/O, in order
  to detect any I/O errors

* Use of flush() and ioFailed() added to scumm engine save function

* Dreamcast backend extended to support the new checks

svn-id: r19066
2005-10-13 18:50:53 +00:00
Johannes Schickel
56c9058706 Updated info savegame chunk:
- now we save the date and time(although in localtime) in the same
	  format as we pass it to the dialog
	  (See "ATTN: Porters. Notes about time() implementation and thumbnails"
	  on -devel)
	- old format is kept for compatibility for
	  older ScummVM versions

svn-id: r19036
2005-10-12 17:59:12 +00:00
Max Horn
cc08602770 Patch #1259034 (Scumm Savegame Informations)
svn-id: r18920
2005-10-01 21:13:38 +00:00
Gregory Montoir
14ac8d9d21 cleanup
svn-id: r18734
2005-09-02 11:24:16 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Travis Howell
9543d99fc4 Fix load/save game regression in HE90+ games.
svn-id: r18281
2005-05-28 10:44:27 +00:00
Max Horn
de52d556d4 Fix bad endian bug in thumbnails code
svn-id: r18256
2005-05-26 10:07:37 +00:00
Travis Howell
28e156df83 Add Sprite class and move over related functions.
svn-id: r18230
2005-05-23 09:30:43 +00:00
Eugene Sandulenko
b9e8e40805 Turn Wiz struct into class as requested.
svn-id: r18224
2005-05-23 02:00:49 +00:00
Travis Howell
0b1094ef04 Add patch from cyx for:
1094340 - COMI: Frightening the gravedigger, he goes white.
905833 - COMI: Palette in Theater controls

svn-id: r18211
2005-05-21 15:45:09 +00:00
Eugene Sandulenko
cba94db699 Add C64 palette.
Fix Zak C64. Now it is playable.

svn-id: r18148
2005-05-18 00:46:30 +00:00
Eugene Sandulenko
3588b96d4f Added --disable-hq and --disable-scumm-7-8 options. Also improved
DISABLE_HE so more HE-specific code gets excluded.

svn-id: r18099
2005-05-14 22:56:41 +00:00
Travis Howell
93be3e16d8 Add configure option to disable HE 70+ games.
svn-id: r18091
2005-05-14 14:06:37 +00:00
Travis Howell
d987a58529 Didn't need to break HE70 saved games after all.
activity/freddi (he71) only use 13 actors.

svn-id: r18079
2005-05-13 08:37:12 +00:00
Torbjörn Andersson
e23b62cfdf Comment typo.
svn-id: r18078
2005-05-13 06:32:27 +00:00
Travis Howell
a6b445b531 Broke HE70 saved games too, due to activity.
svn-id: r18052
2005-05-11 14:34:19 +00:00
Max Horn
72f4c03b0b Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
svn-id: r18038
2005-05-10 23:17:38 +00:00
Max Horn
c33cc2ce85 Last part of patch #1163026 (Thumbnails for ScummEngine)
svn-id: r17982
2005-05-09 00:09:01 +00:00
Max Horn
fc016e8e8a Added a few more comments
svn-id: r17829
2005-04-26 16:43:20 +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
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