Commit Graph

43 Commits

Author SHA1 Message Date
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
Bertrand Augereau
44a3522e4a DREAMWEB: Removed STACK_CHECKs in saveload.cpp 2011-11-21 17:54:51 +01:00
Bertrand Augereau
f7fd8e0d0a DREAMWEB: 'saveload' ported to C++ 2011-11-21 17:52:50 +01:00
Bertrand Augereau
a389f1e46e DREAMWEB: 'oldtonames' and 'namestoold' ported to C++ 2011-11-17 15:23:12 +01:00
Bertrand Augereau
fc7a36d911 DREAMWEB: Cleaning in room loading 2011-11-17 12:38:17 +01:00
Willem Jan Palenstijn
b53a299790 DREAMWEB: Unhardcode checkcoords tables
This patch makes __dispatch_call (even more) superfluous,
but does not yet remove it.
2011-11-14 21:44:10 +01:00
Sven Hesse
cd6708b397 DREAMWEB: Fix compile on non-GNU compilers
mempcpy is a GNU extension and the only difference to memcpy is the
return value, which this code happily ignores. So I assume it's a
typo.
2011-08-18 01:26:25 +02:00
Willem Jan Palenstijn
8a5c8f3320 DREAMWEB: Add/fix loading from launcher
This is very error-prone, and needs testing.
2011-08-18 00:29:17 +02:00
Willem Jan Palenstijn
7280a569cb DREAMWEB: Hook up ScummVM save/load menu
The ScummVM menu will be used if dreamweb_originalsaveload
is set to true. This is very error-prone, and needs testing.
2011-08-18 00:28:08 +02:00
Willem Jan Palenstijn
f3131e2dbf DREAMWEB: Move several load/save functions out of dreamgen 2011-08-18 00:28:08 +02:00