Commit graph

579 commits

Author SHA1 Message Date
Max Horn
ca7da4cffc DREAMWEB: Rename a member of SetObject & DynObject to objId
SetObject::name and DynObject::id are stored at the exact same offset,
and have the exact same meaning (see also objectMatches()). Now they
also have the same name, objId.
2011-12-28 16:36:16 +01:00
Max Horn
c10ea611e8 DREAMWEB: Rename getEitherAdCPP to getEitherAd, use obj type enums 2011-12-28 16:36:16 +01:00
Filippos Karapetis
1c17b277eb DREAMWEB: Mark all of the differences between the floppy and CD versions
- Add TODOs for the CD checks in setupTimedTemp() and startTalk()
- The current doSomeTalk() is for the CD version only
- Implement a difference of the CD version in intro
2011-12-28 16:16:41 +02:00
Filippos Karapetis
279746fcf0 DREAMWEB: Completely remove all of the runtime, and move everything into DreamWebEngine
Also, remove dead code (allocateMem/deallocateMem)
2011-12-28 15:07:17 +02:00
Willem Jan Palenstijn
57e940f678 DREAMWEB: Move all saved variables to a GameVars struct
The data segment is now completely unused.
2011-12-28 13:12:22 +01:00
Filippos Karapetis
26f1643e86 DREAMWEB: Remove a lot of unused/duplicate constants and move some of them to dreambase.h 2011-12-28 12:15:52 +02:00
Filippos Karapetis
fe98fbe972 DREAMWEB: Move all zoom-related functions to vgagrafx.cpp, and remove a lot of unused global constants 2011-12-28 11:38:18 +02:00
Filippos Karapetis
ed72efe05b DREAMWEB: Remove more global variables 2011-12-28 05:47:09 +02:00
D G Turner
1ff19e19e7 DREAMWEB: Move checkCoords templated implementation to Dreambase header.
The PSP (MIPS) toolchain generates differing symbols for this template
and thus fails to link. By moving the implementation to the defining
header, this should fix this.
2011-12-28 02:49:27 +00:00
Willem Jan Palenstijn
4c2d2684ea DREAMWEB: Mass-move variables out of data
This has been done by an automated search/replace, culling unused
variables in the process. The remaining variables in data are all stored
in savegames.
2011-12-28 02:36:52 +01:00
D G Turner
a09fdaa0b1 DREAMWEB: Move 4 volume related variables out of data blob. 2011-12-28 01:31:24 +00:00
D G Turner
5492307982 DREAMWEB: Move 'speechloaded' flag out of data blob. 2011-12-28 00:40:00 +00:00
D G Turner
93173a11ca DREAMWEB: Move 'wongame' flag out of data blob. 2011-12-28 00:04:12 +00:00
D G Turner
56191e3928 DREAMWEB: Move 3 sound related variables out of data blob. 2011-12-27 23:49:35 +00:00
Willem Jan Palenstijn
914bf3d519 DREAMWEB: Remove setdat, freedat segments 2011-12-27 23:05:27 +01:00
Willem Jan Palenstijn
15a1f41e8a DREAMWEB: Remove reels segment 2011-12-27 23:04:58 +01:00
Willem Jan Palenstijn
d9aed2e00b DREAMWEB: Convert room text into TextFiles 2011-12-27 23:03:40 +01:00
Willem Jan Palenstijn
a7cdc342b3 DREAMWEB: Convert reel segments into GraphicsFiles 2011-12-27 23:03:05 +01:00
Willem Jan Palenstijn
f729742f87 DREAMWEB: Convert exText into TextFile 2011-12-27 23:02:33 +01:00
Willem Jan Palenstijn
e54196f37f DREAMWEB: Remove Extras segment 2011-12-27 23:02:33 +01:00
Willem Jan Palenstijn
90cb52b7f6 DREAMWEB: Streamline graphics file access 2011-12-27 23:01:58 +01:00
Willem Jan Palenstijn
08be0411b1 DREAMWEB: Streamline text file handling 2011-12-27 18:40:25 +01:00
Willem Jan Palenstijn
df7bb24184 DREAMWEB: Create MapFlags struct, remove backdrops segment 2011-12-27 18:01:33 +01:00
Willem Jan Palenstijn
7bae1022ed DREAMWEB: Remove mapData segment 2011-12-27 17:56:50 +01:00
Willem Jan Palenstijn
39a0153fbf DREAMWEB: Remove mapStore segment 2011-12-27 17:56:50 +01:00
Filippos Karapetis
4c9a600618 DREAMWEB: Remove dead code 2011-12-27 10:43:44 +02:00
D G Turner
0155e88d10 DREAMWEB: Move kRoomssample out of data blob.
N.B. Last commit was kForeignRelease, not kSubtitles.
2011-12-27 04:39:50 +00:00
D G Turner
5256919434 DREAMWEB: Move kSubtitles out of data blob. 2011-12-27 04:12:16 +00:00
D G Turner
7db571812a DREAMWEB: Move kSubtitles out of data blob. 2011-12-27 03:34:54 +00:00
D G Turner
5cfa1899bd DREAMWEB: Move kQuitRequested out of data blob. 2011-12-27 03:08:43 +00:00
Filippos Karapetis
3ff26ba84f DREAMWEB: Move all of the functions to DreamBase and remove stubs.h 2011-12-27 03:00:00 +02:00
Filippos Karapetis
4027e635d5 DREAMWEB: Remove dead code 2011-12-27 02:42:33 +02:00
Filippos Karapetis
a75d39895b DREAMWEB: Move some functions to DreamBase, remove dead code 2011-12-26 22:47:14 +02:00
Filippos Karapetis
1ba4f0a1a8 Revert "DREAMWEB: Remove dead code and move most functions to DreamBase"
This reverts commit 4c66f74b58.

These functions aren't ready to be moved yet till the remaining two are
finished, and they're so crossreferenced that the safest thing to do is
revert this commit and break it down to smaller chunks
2011-12-26 22:31:50 +02:00
Filippos Karapetis
4c66f74b58 DREAMWEB: Remove dead code and move most functions to DreamBase 2011-12-26 22:10:20 +02:00
Willem Jan Palenstijn
b08804f360 DREAMWEB: Convert 'parser' 2011-12-26 20:46:37 +01:00
Willem Jan Palenstijn
cb3eee8635 DREAMWEB: Reduce dependency on globals and move functions to DreamBase 2011-12-26 20:03:52 +01:00
Willem Jan Palenstijn
c2a94132c8 DREAMWEB: Convert pickupConts 2011-12-26 18:42:28 +01:00
Willem Jan Palenstijn
15bb44dda1 DREAMWEB: Remove now unused Buffers segment 2011-12-26 17:42:19 +01:00
Willem Jan Palenstijn
017c1ed993 DREAMWEB: Update deallocatemem for moved sprite table 2011-12-26 17:42:19 +01:00
Filippos Karapetis
8c3488a973 DREAMWEB: Remove the now unused ASM style versions of getanyad, getexad, getfreead and getsetad 2011-12-26 16:54:03 +02:00
Willem Jan Palenstijn
2db59ab311 DREAMWEB: Move even more use-related functions to DreamBase 2011-12-26 13:02:18 +01:00
Filippos Karapetis
d7335d69e3 DREAMWEB: Move the roomsCanGo array out of the data blob 2011-12-26 13:59:20 +02:00
D G Turner
389afc4666 DREAMWEB: Port 'findpathofpoint' to C++ 2011-12-26 05:02:51 +00:00
Filippos Karapetis
d503838fd6 DREAMWEB: Moved the two rollEndCredits functions together in print.cpp and renamed them to rollEndCreditsGameWon and rollEndCreditsGameLost 2011-12-26 03:15:47 +02:00
Max Horn
a4643a0484 DREAMWEB: Move titles.cpp to DreamBase 2011-12-26 01:41:56 +01:00
Max Horn
04a147921f DREAMWEB: Rename workToScreenCPP to workToScreen 2011-12-26 01:41:56 +01:00
Max Horn
d015f5d446 DREAMWEB: Remove some dead code 2011-12-26 01:41:55 +01:00
Filippos Karapetis
95ffd7f4ce DREAMWEB: Port 'purgeanitem' to C++, some cleanup 2011-12-25 19:25:00 +02:00
Filippos Karapetis
eaf87bdfa7 DREAMWEB: Port 'emergencypurge' to C++ 2011-12-25 18:42:13 +02:00