Max Horn
36778c8221
DREAMWEB: Remove unnecessary DreamWebEngine:: uses
2011-12-28 23:56:30 +01:00
Max Horn
9f99fb5f8a
DREAMWEB: Use ObjectType enums in more places
2011-12-28 23:53:54 +01:00
Max Horn
dc4af2afc2
DREAMWEB: Added commandOnlyCond() method
2011-12-28 23:06:49 +01:00
Max Horn
bfd891d571
DREAMWEB: Mark some member vars as only being used in keypad.cpp; cleanup
2011-12-28 23:06:49 +01:00
Willem Jan Palenstijn
32e5778d1f
DREAMWEB: Fix crash when loading a room without reels
2011-12-28 20:11:36 +01:00
Max Horn
e2c006f793
DREAMWEB: Remove global file handle
2011-12-28 19:59:53 +01:00
Willem Jan Palenstijn
ea6546ae25
DREAMWEB: Clean up checkCoords
2011-12-28 19:55:06 +01:00
Max Horn
c6dfac9b0a
DREAMWEB: Move more methods to keypad.cpp, reorder them to match ASM
2011-12-28 19:36:17 +01:00
Filippos Karapetis
e2aaba4a69
Merge pull request #154 from fingolfin/dreamweb-cleanup
...
Dreamweb: Mark structs packed, minor tweaks
2011-12-28 10:29:53 -08:00
Filippos Karapetis
6a5c75a439
DREAMWEB: Changed hasSpeech() to also take account of the audio settings
...
This fixes an assert in the madman sequence
2011-12-28 20:26:15 +02:00
Filippos Karapetis
972ebc0c75
DREAMWEB: Allow skipping the mad man sequence with the ESC key
2011-12-28 20:15:08 +02:00
Filippos Karapetis
eaed1b725a
DREAMWEB: Replaced most isCD calls with calls checking for speech
...
This is quite useful for devices with limited storage, where the user
can use the CD version without its speech files
2011-12-28 18:54:17 +02:00
Willem Jan Palenstijn
63da2ac271
DREAMWEB: Clean up some constants
2011-12-28 16:48:10 +01:00
Max Horn
13e252ebd0
DREAMWEB: Add 'packed' attribute to structs that need it
...
... and probably also to some that don't need it; since it seems better to
err on the wrong side here for now, I did not check every struct as to whether
it really needs this. On the long run, it would be better if the code did not
rely on any kind of packing anyway.
2011-12-28 16:36:18 +01:00
Max Horn
8f2b8e821f
DREAMWEB: Cleanup
2011-12-28 16:36:17 +01:00
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
Willem Jan Palenstijn
77b8491b8b
DREAMWEB: Remove unused Sprite fields
2011-12-28 15:19:59 +01:00
Willem Jan Palenstijn
4e207dbc7a
DREAMWEB: Clean up Sprite::_updateCallback
2011-12-28 15:19:59 +01:00
Filippos Karapetis
6e95c6d690
DREAMWEB: Fix a regression in monkSpeaking (y should be unchanged)
2011-12-28 16:18:08 +02: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
89fb830be6
DREAMWEB: Implemented the floppy version of monkSpeaking()
2011-12-28 15:59:58 +02:00
Filippos Karapetis
2f634e9b2c
DREAMWEB: Remove obsolete README
2011-12-28 15:15:31 +02:00
Filippos Karapetis
198900069e
DREAMWEB: Remove some now-redundant references to the DreamWeb namespace
2011-12-28 15:12:30 +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
Filippos Karapetis
1d4337ebb5
DREAMWEB: Remove some unused globals
2011-12-28 05:27:16 +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
5e915afcd4
DREAMWEB: Remove unused functions
2011-12-27 23:09:47 +01: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
8ed39a2b9e
DREAMWEB: Fix uninitialized variable
2011-12-27 23:01:07 +01:00
Filippos Karapetis
d0a302fb06
DREAMWEB: Add the ability to blacklist unused constants in tasm-recover
2011-12-27 19:53:41 +02: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