aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/stubs.cpp
AgeCommit message (Collapse)Author
2012-11-30DREAMWEB: Change various loop variables to uint, rather than size_t.D G Turner
This is partly for readability and partly to avoid any possible portability issues i.e. though they should be the same, size_t is defined by system headers, whereas uint is defined within our build system. Also, replaced a array size calculation with our ARRAYSIZE macro.
2012-11-30DREAMWEB: Migrate object/inventory related functions out of stubs.D G Turner
2012-11-30DREAMWEB: Remove dead code functions and minor formatting cleanup.D G Turner
2012-11-29DREAMWEB: Further cleanup to keyboard input buffer code.D G Turner
Removed the buffer from being a global non-const variable. Also, the code changes should allow the buffer size to be increased by just changing the size of _keyBuffer if needed.
2012-11-29DREAMWEB: Simplify _lastHardKey usage and migrate to Common::KeyCode.D G Turner
This improves readability and should help with dealing with changes to fix bug #3590814 ("DREAMWEB: M key does not work in Network").
2012-07-01DREAMWEB: Fix minor regression with Ryan's watch.D G Turner
Using Ryan's watch within the game, the watch time always started at 19.30 from point of use, which did not seem correct. Checking with the original CD and Floppy interpreters under DOSBox showed they used the current system time, so this was incorrect. Bisection shows that this regression was introduced by commit 57e940f67896e0f085de23088754fe1682cd49db i.e. "DREAMWEB: Move all saved variables to a GameVars struct" and was probably a side effect of a minor call ordering change in the equivalent of setupInitialVars() with respect to the getTime() call. However, to ensure no further regressions, it was easier to fix this by replacing the initial value setting by a getTime() call.
2012-05-31DREAMWEB: Remove irrelevant additions in SFX id 62 usage.D G Turner
2012-05-31DREAMWEB: Objectify Sound functions & data into DreamWebSound class.D G Turner
This change should have no functional change, but makes the sound code more decoupled, modular and readable, prior to attempting a fix for bug #3528164 - "DREAMWEB: missing sound effects/music cues during main title".
2012-05-30DREAMWEB: Replaced vsync() function with waitForVSync().D G Turner
As a call to waitForVSync() was the only contents of vsync(), there should be no functional change.
2012-04-22DREAMWEB: Move all of the mouse cursor related code into a separate fileFilippos Karapetis
2012-04-15DREAMWEB: Support opening data files from ES and FR CD versionThierry Crozat
2012-03-27DREAMWEB: Slight cleanup of DreamWebEngine::animPointer()Filippos Karapetis
2012-03-04DREAMWEB: Clean up the palette brightness codeFilippos Karapetis
2012-02-24DREAMWEB: Migrate remaining minor functions to using datafile prefix variable.D G Turner
Currently, the usages associated with savegames have been omitted. These will probably need a different prefix constant as it is likely foreign variants still use "DREAMWEB.*" for savegames, while using a different prefix for the datafiles. We may even migrate away from this naming convention as this causes savegame collisions when multiple language variants are present, which could cause issues. The usages in the Room members of the constant g_roomData structure have also been omitted, as the members are copied into the savegame format, thus replacing these and fixing other accesses is not trivial.
2012-02-24DREAMWEB: Migrate loadTextFile() to using datafile prefix variable.D G Turner
2012-02-24DREAMWEB: Migrate loadGraphicsFile() to using datafile prefix variable.D G Turner
2012-02-24DREAMWEB: Migrate loadSounds() to using datafile prefix variable.D G Turner
2012-02-24DREAMWEB: Migrate loadTempText() to using datafile prefix variable.D G Turner
2012-02-23DREAMWEB: Dynamically allocate GraphicsFile::_frames.Alyssa Milburn
This avoids extra memory usage due to the previous commit.
2012-02-23DREAMWEB: Remove shared temp graphics variables.Alyssa Milburn
Instead, have a different variable for each use.
2012-02-16DREAMWEB: Document some locationsMax Horn
2012-02-12DREAMWEB: Fix missing subtitle lines in speech+subtitle modeWillem Jan Palenstijn
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.
2011-12-29DREAMWEB: Minor clean upWillem Jan Palenstijn
2011-12-29DREAMWEB: Simplify finalization call in dreamweb main function.D G Turner
Thanks to Fingolfin for the suggestion.
2011-12-28DREAMWEB: Minor clean up and removal of goto usage in dreamweb().D G Turner
2011-12-29DREAMWEB: Minor cleanupMax Horn
2011-12-28DREAMWEB: Use ObjectType enums in more placesMax Horn
2011-12-28DREAMWEB: Added commandOnlyCond() methodMax Horn
2011-12-28DREAMWEB: Fix crash when loading a room without reelsWillem Jan Palenstijn
2011-12-28DREAMWEB: Remove global file handleMax Horn
2011-12-28DREAMWEB: Clean up checkCoordsWillem Jan Palenstijn
2011-12-28DREAMWEB: Move more methods to keypad.cpp, reorder them to match ASMMax Horn
2011-12-28Merge pull request #154 from fingolfin/dreamweb-cleanupFilippos Karapetis
Dreamweb: Mark structs packed, minor tweaks
2011-12-28DREAMWEB: Replaced most isCD calls with calls checking for speechFilippos Karapetis
This is quite useful for devices with limited storage, where the user can use the CD version without its speech files
2011-12-28DREAMWEB: Clean up some constantsWillem Jan Palenstijn
2011-12-28DREAMWEB: CleanupMax Horn
2011-12-28DREAMWEB: Rename a member of SetObject & DynObject to objIdMax Horn
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-28DREAMWEB: Rename getEitherAdCPP to getEitherAd, use obj type enumsMax Horn
2011-12-28DREAMWEB: Mark all of the differences between the floppy and CD versionsFilippos Karapetis
- 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-28DREAMWEB: Completely remove all of the runtime, and move everything into ↵Filippos Karapetis
DreamWebEngine Also, remove dead code (allocateMem/deallocateMem)
2011-12-28DREAMWEB: Move all saved variables to a GameVars structWillem Jan Palenstijn
The data segment is now completely unused.
2011-12-28DREAMWEB: Remove a lot of unused/duplicate constants and move some of them ↵Filippos Karapetis
to dreambase.h
2011-12-28DREAMWEB: Move all zoom-related functions to vgagrafx.cpp, and remove a lot ↵Filippos Karapetis
of unused global constants
2011-12-28DREAMWEB: Remove more global variablesFilippos Karapetis
2011-12-28DREAMWEB: Move checkCoords templated implementation to Dreambase header.D G Turner
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-28DREAMWEB: Mass-move variables out of dataWillem Jan Palenstijn
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-28DREAMWEB: Move 4 volume related variables out of data blob.D G Turner
2011-12-28DREAMWEB: Move 'speechloaded' flag out of data blob.D G Turner
2011-12-28DREAMWEB: Move 'wongame' flag out of data blob.D G Turner
2011-12-27DREAMWEB: Move 3 sound related variables out of data blob.D G Turner