237 Commits

Author SHA1 Message Date
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
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
5586ce3243 Use an intermediate variable, to ease debugging
svn-id: r17815
2005-04-26 13:16: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
e79c168d35 split SaveFileManager::openSavefile and class SaveFile into two, each, one for loading and one for saving
svn-id: r17517
2005-04-10 15:13:40 +00:00
Travis Howell
dbc4d13b3d load/save sprite data in HE90+ games.
svn-id: r17459
2005-04-08 23:27:36 +00:00
Max Horn
3d5b5f2ad8 Moved createResource, resourceStats, expireResources to ResourceManager
svn-id: r17420
2005-04-06 17:31:35 +00:00
Torbjörn Andersson
23e4199699 Clear the text surface when loading a saved game, otherwise any text that
was displayed before loading the game will remain.

I hope this is the correct fix.

svn-id: r17382
2005-04-05 07:53:46 +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
Max Horn
6d62b11af7 typo
svn-id: r17276
2005-03-28 20:17:21 +00:00
Eugene Sandulenko
a9c2e6ecbf MM NES fixes:
o Fixed crash when in-game GUI was displayed
  o Support for save/load
  o Savegame version bumped

svn-id: r17232
2005-03-25 22:11:08 +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
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
deca135252 Use better variable names...
svn-id: r17160
2005-03-15 21:20:44 +00:00
Travis Howell
bf9bdd6c2e Allow EGA option in Amiga/Atari ST games.
Restore correct palette after reloading saved game.

svn-id: r17020
2005-03-07 00:53:30 +00:00
Torbjörn Andersson
27bcd6e47a When restoring older savegames, fill the script slot 'cycle' fields with
what I hope is a sensible value. This fixes a regression with a MonkeyVGA
savegame I had where none of the scripts that should have been running
were since all 'cycle' fields were 0.

svn-id: r16969
2005-03-02 07:11:58 +00:00
Travis Howell
36705d4344 Add support for script cycles used by HE90+ games.
svn-id: r16958
2005-02-28 13:23:10 +00:00
Max Horn
b6ea449335 Renamed _localScriptList to _localScriptOffsets for clarity
svn-id: r16691
2005-01-29 15:49:57 +00:00
Max Horn
cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Torbjörn Andersson
f974b48a41 Fixed bug #1093845 after discussing with Fingolfin.
svn-id: r16449
2005-01-06 15:57:12 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Travis Howell
3cd3ac5030 Missed line
svn-id: r16232
2004-12-21 05:24:36 +00:00