Filippos Karapetis
d7335d69e3
DREAMWEB: Move the roomsCanGo array out of the data blob
2011-12-26 13:59:20 +02:00
Max Horn
04a147921f
DREAMWEB: Rename workToScreenCPP to workToScreen
2011-12-26 01:41:56 +01:00
Willem Jan Palenstijn
bbdbffc107
DREAMWEB: Move changes out of buffers
2011-12-23 23:46:38 +01:00
Max Horn
b2fcdd6c86
DREAMWEB: Move rest of saveload.cpp to DreamBase
2011-12-23 10:18:02 +01:00
Max Horn
ef98df5895
DREAMWEB: cleanup
2011-12-23 03:43:19 +02:00
Max Horn
cdc6bc421b
DREAMWEB: Turn RectWithCallback into template
...
Also moves checkCoords to DreamBase, adding a nasty cast to it. This is a
temporary HACK, which allows moving functions that use checkCoords to
DreamBase one at a time, instead of all at once (and at the same time as
checkCoords). This can be undone once everything using checkCoords has been
moved to DreamBase.
2011-12-23 03:39:44 +02:00
Max Horn
d033566f6d
DREAMWEB: Move most of saveload.cpp to DreamBase
2011-12-23 03:31:01 +02:00
Willem Jan Palenstijn
60ece632b8
DREAMWEB: Remove reelRoutines from data blob
2011-12-18 16:54:16 +01:00
Willem Jan Palenstijn
4178ad6b68
DREAMWEB: Fix ReelRoutine terminator saving/loading
2011-12-18 12:38:53 +01:00
Filippos Karapetis
5d1e1fbbbc
DREAMWEB: Spacing
2011-12-18 13:16:25 +02:00
Filippos Karapetis
09eaef6bcd
DREAMWEB: Remove regression from b0a42f1 (duplicate saved reel data)
2011-12-18 13:08:27 +02:00
Filippos Karapetis
08fec8fa34
DREAMWEB: Add meta information to saved games
...
This information includes savegame versioning and the saved game's
date/time, played time and game thumbnail. This information is stored
into an unused data block of the original save format, so the
generated ScummVM saves are (hopefully) fully compatible with the
original ones and can be loaded in the original interpreter
2011-12-18 02:55:22 +02:00
Willem Jan Palenstijn
46caa77164
DREAMWEB: Add disabled reelRoutine conversion work
2011-12-17 22:28:54 +01:00
Willem Jan Palenstijn
b0a42f115e
DREAMWEB: Use serializer for ReelRoutines
2011-12-17 21:30:54 +01:00
Filippos Karapetis
f8bfe84c44
DREAMWEB: Remove dead code
2011-12-17 20:06:55 +02:00
Filippos Karapetis
af1c8d774d
DREAMWEB: Fix two off-by-one errors in saveGame(), rewrite scanForNames() to use listSavefiles() and use Common::strlcopy instead of strncpy
2011-12-17 19:30:06 +02:00
Max Horn
9ebcaa33e7
DREAMWEB: Move even more stuff to DreamBase
2011-12-15 13:45:43 +01:00
Willem Jan Palenstijn
fcf2aa8e2f
DREAMWEB: Move Savenames out of opaque data blob
2011-12-11 15:57:03 +01:00
Willem Jan Palenstijn
05a2713874
DREAMWEB: Convert checkInput
2011-12-11 15:45:53 +01:00
Willem Jan Palenstijn
11adaf6d69
DREAMWEB: Convert 'showNames'
2011-12-11 15:33:34 +01:00
Willem Jan Palenstijn
b8d18d8ba8
DREAMWEB: Fix namesToOld/oldToNames
...
They only saved the first four savegame descriptions. (Bug from the
original game.)
2011-12-11 15:10:11 +01:00
Max Horn
6b226d5943
DREAMWEB: Do savefile reading directly in loadPosition() / scanForNames()
2011-12-11 10:02:50 +01:00
Max Horn
3d753794e6
DREAMWEB: Move savefile creation into DreamGenContext::savePosition
...
Also, make sure the save file is properly finalized before being closed.
2011-12-11 10:01:28 +01:00
Max Horn
dfeb31e187
DREAMWEB: Add DreamWebEngine::getSavegameFilename
2011-12-11 10:01:28 +01:00
Max Horn
51b724fa43
DREAMWEB: Remove DreamGenContext::closeFile, stop using kHandle
2011-12-11 10:01:28 +01:00
Filippos Karapetis
447f0c6643
DREAMWEB: Use the C++ version of workScreen() in C++ code
2011-12-09 18:18:32 +02:00
Max Horn
bd71a3bcec
DREAMWEB: Replace cs by data (outside of dreamgen.cpp)
2011-12-07 11:07:10 +01:00
Max Horn
0193ef590d
DREAMWEB: Cleanup end of namespace comments
2011-12-06 21:49:41 +01:00
Bertrand Augereau
0f6f912992
DREAMWEB: 'loadSaveBox' ported to C++
2011-12-05 00:45:42 +01:00
Willem Jan Palenstijn
1fb892878f
DREAMWEB: Move temporary room for loading out of data segment
2011-12-03 20:39:06 +01:00
Willem Jan Palenstijn
a38018c5f4
DREAMWEB: Convert 'loadOld' and clean up 'doLoad' calls
2011-12-03 16:57:42 +01:00
Willem Jan Palenstijn
720f3587cb
DREAMWEB: Move 'loadOld' from dreamgen
2011-12-03 16:57:42 +01:00
Willem Jan Palenstijn
23576c8f15
DREAMWEB: Clean up
2011-12-03 16:56:37 +01:00
Willem Jan Palenstijn
a64c89e7dd
DREAMWEB: Don't use Madeuproomdat as a global when not necessary
2011-12-03 16:07:48 +01:00
Willem Jan Palenstijn
15856843a4
DREAMWEB: Create and use FileHeader struct
2011-12-03 15:47:33 +01:00
Willem Jan Palenstijn
fba69d5839
DREAMWEB: Convert 'scanForNames'
2011-12-03 15:19:51 +01:00
Willem Jan Palenstijn
ebeab9f442
DREAMWEB: Move 'scanForNames' out of dreamgen
2011-12-03 15:05:57 +01:00
Willem Jan Palenstijn
908ba272f8
DREAMWEB: Move roomData out of opaque data segment
2011-12-03 14:55:54 +01:00
Bertrand Augereau
38ec14b15b
DREAMWEB: 'segRef' was redundant with 'getSegment' (thanks to Max for noting this)
2011-12-02 16:29:16 +01:00
D G Turner
349cbc527f
DREAMWEB: Fix compilation due to dreamgen.* function renaming.
2011-12-01 19:43:43 +00:00
Willem Jan Palenstijn
33e323ed05
DREAMWEB: Reduce code completion for scummvm save/load gui
2011-11-26 18:22:54 +01:00
Willem Jan Palenstijn
eef8e4de22
DREAMWEB: Convert 'loadposition'
2011-11-26 18:22:54 +01:00
Willem Jan Palenstijn
c22ed1dab0
DREAMWEB: Convert 'saveposition'
...
Also inline and remove 'saveseg', 'savefilewrite', 'makeheader'.
2011-11-26 18:22:45 +01:00
Willem Jan Palenstijn
de40ec5e93
DREAMWEB: Move 'loadposition' and 'saveposition' from dreamgen
2011-11-26 18:21:15 +01:00
Willem Jan Palenstijn
18b8d25696
DREAMWEB: Convert 'actualload'
2011-11-26 18:21:15 +01:00
Willem Jan Palenstijn
8c830ce1b9
DREAMWEB: Convert 'actualsave'
2011-11-26 18:21:15 +01:00
Willem Jan Palenstijn
77cb6d1375
DREAMWEB: Move 'actualsave' and 'actualload' from dreamgen
2011-11-26 18:21:15 +01:00
Bertrand Augereau
0b6042eadd
DREAMWEB: 'showdiscops' ported to C++
2011-11-26 18:31:54 +01:00
Bertrand Augereau
397761c2c1
DREAMWEB: 'showmainops' ported to C++
2011-11-21 18:10:19 +01:00
Bertrand Augereau
9141df3bec
DREAMWEB: Misc cleanings in saveload.cpp
2011-11-21 17:56:49 +01:00