Willem Jan Palenstijn
143363d5b6
DREAMWEB: Improve subtitle durations in madman scene
2012-02-12 23:57:25 +01:00
Willem Jan Palenstijn
3fc8b7227b
DREAMWEB: Fix missing subtitle lines in speech+subtitle mode
...
This is done by adding a (very ugly) way to force the previous timed-temp
line off screen, so the next one can be shown.
2012-02-12 23:57:09 +01:00
Willem Jan Palenstijn
3abb3ad757
DREAMWEB: Fix duplicate line in monk end sequence
2012-02-12 23:56:37 +01:00
D G Turner
0d6b4df014
DREAMWEB: Remove uneeded duplicate function "printUnderMon".
2012-02-08 17:18:35 +00:00
Torbjörn Andersson
c456d6d29a
DREAMWEB: Rewrite a comment, since the old one could be misread
...
I read it as "this is how the original code expects save slots to
be initialized", but I guess it could be read as "the original
engine had 21 save slots". Which it didn't.
2012-01-12 00:00:26 +01:00
Torbjörn Andersson
0998c64c20
DREAMWEB: Change selectSaveLoadPage()'s command type to be unique
...
At Filippos's and wjp's suggestion. I don't really understand what
it does (other than printing the mouse over text), so I had simply
copied and pasted from another function.
2012-01-11 23:38:37 +01:00
Torbjörn Andersson
0a5df02134
DREAMWEB: Extend the number of saveslots from 7 to 21 in the original
...
save/load dialogs.
2012-01-08 19:36:59 +01:00
Willem Jan Palenstijn
d09be37c69
DREAMWEB: Minor clean up
2011-12-29 14:39:53 +01:00
Willem Jan Palenstijn
73ebccc30a
DREAMWEB: Allow quit during ending
2011-12-29 14:39:43 +01:00
D G Turner
f592849653
DREAMWEB: Correct monitor header message alignment in floppy versions.
2011-12-29 08:09:29 +00:00
D G Turner
59458c9b15
DREAMWEB: Simplify finalization call in dreamweb main function.
...
Thanks to Fingolfin for the suggestion.
2011-12-29 02:58:19 +00:00
D G Turner
311e1c495c
DREAMWEB: Minor clean up and removal of goto usage in dreamweb().
2011-12-28 23:37:16 +00:00
Max Horn
93ee179641
DREAMWEB: Minor cleanup
2011-12-29 00:00:44 +01:00
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