aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/dreamweb.h
AgeCommit message (Collapse)Author
2018-07-09DREAMWEB: Simplify the character kerning checksFilippos Karapetis
2018-07-09DREAMWEB: Fix speech during the monk cutscene in non-English versionsFilippos Karapetis
Fixes bugs #6288 and #6417
2017-11-12DREAMWEB: Use accurate memory reclamation for Ex transfersColin Snover
When the Ex memory regions are close to full, it is possible for the game to fail to purge objects and then crash with an OOM error even if it isn't actually out of memory. This patch calculates the amount of free memory truly needed when allocating to Ex memory to allow exactly the entire frame & text regions to be used, instead previously where a hard-coded amount of free space to maintain was used, which guaranteed that the entire memory region could not actually be used by the game. This change may be masking some underlying memory leak, or it may just be that near the end of the game the game naturally comes close to reaching the maximum memory region size. For the moment, I am assuming the latter. This commit also adds some assertion checks to the memory transfer functions to make sure the regions don't quietly overflow in other cases, since pickupConts performs transfers in a manner that doesn't ensure enough free memory exists for them to be successful. Fixes Trac#6820.
2016-05-17ALL: Change main engine header guard defines to <directory>_<engine>_HEugene Sandulenko
Recently we started to use this as new semantics, although in the past we used simly <engine>_H. Now these guard defines are consistent with rest of the files which are used in the engines.
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2014-02-19DREAMWEB: Some British to American englishStrangerke
2014-02-18DREAMWEB: Make GPL headers consistent in themselves.Johannes Schickel
2013-12-06DREAMWEB: Add missing getDebugger() for engine API.D G Turner
2013-11-09DREAMWEB: Remove dead function enableSavingOrLoading() (which fixes CID 1003402)Strangerke
2013-02-26DREAMWEB: Make some static arrays constThierry Crozat
2013-02-26DREAMWEB: Add localised commands in the network terminalThierry Crozat
The original interpreter only used english commands in the terminal even when playing one of the localised version (and even though everything else in the terminal was localised). This adds the possibility to either use the English commands or the localised ones. Localized commands have been added for French, German (thanks to SimSaw, who also proposed that idea) and Italian (thanks to Maff).
2012-11-30DREAMWEB: Fix usage of defines, rather than values for screen size.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-11-15DREAMWEB: Add an extra line showing the available terminal commandsFilippos Karapetis
This is possible, since the game is freeware now. It is very helpful when playing the game in order to avoid referring to the manual. The extra help text is shown when the player uses the 'help' command inside the game terminal. Also, the list of games where copy protection is skipped has been reordered alphabetically in the README
2012-09-14DREAMWEB: Increase _operand1 buffer sizeTorbjörn Andersson
Theoretically, it should be almost as big as _inputLine, so let's make them the exact same size just for simplicity. This fixes crashes for me when trying to use very long parameters to the monitor's READ command, and could possibly fix a bug reported in the German version where you supposedly have to read "kurzmitteilung".
2012-07-03JANITORIAL: Remove extra semicolonsOri Avtalion
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-05-08DREAMWEB: Add _speechDirName to remove duplication of Directory name.D G Turner
2012-04-16DREAMWEB: Minor style fixesThierry Crozat
2012-04-15DREAMWEB: Support opening data files from ES and FR CD versionThierry Crozat
2012-03-04DREAMWEB: Clean up the palette brightness codeFilippos Karapetis
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-24DREAMWEB: Add datafile name prefix to engine and modify showPCX() to it.D G Turner
This new variable removes the need for duplicates strings of the form "DREAMWEB.*" spread throughout the dreamweb engine, replacing them with a common const string on the engine holding the datafile name prefix. This will reduce binary size and it should also simplify adding support for foreign language variants, where the datafile name prefix is changed. To demostrate usage and prove this, showPCX() is migrated to using this.
2012-02-23Merge pull request #189 from fingolfin/cleanupEugene Sandulenko
ALL: Cleanup
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-22DREAMWEB: Avoid including advancedDetector.h from dreamweb.hMax 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.
2012-02-08DREAMWEB: Remove uneeded duplicate function "printUnderMon".D G Turner
2012-01-08DREAMWEB: Extend the number of saveslots from 7 to 21 in the originalTorbjörn Andersson
save/load dialogs.
2011-12-29DREAMWEB: Minor clean upWillem Jan Palenstijn
2011-12-28DREAMWEB: Minor clean up and removal of goto usage in dreamweb().D G Turner
2011-12-28DREAMWEB: Added commandOnlyCond() methodMax Horn
2011-12-28DREAMWEB: Mark some member vars as only being used in keypad.cpp; cleanupMax Horn
2011-12-28DREAMWEB: Remove global file handleMax Horn
2011-12-28DREAMWEB: Clean up checkCoordsWillem Jan Palenstijn
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: Rename getEitherAdCPP to getEitherAd, use obj type enumsMax Horn
2011-12-28DREAMWEB: Remove unused Sprite fieldsWillem Jan Palenstijn
2011-12-28DREAMWEB: Clean up Sprite::_updateCallbackWillem Jan Palenstijn
2011-12-28DREAMWEB: Completely remove all of the runtime, and move everything into ↵Filippos Karapetis
DreamWebEngine Also, remove dead code (allocateMem/deallocateMem)
2011-12-27DREAMWEB: Streamline graphics file accessWillem Jan Palenstijn