aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/monitor.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-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-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-10DREAMWEB: Fix crash when entering short console passwordWillem Jan Palenstijn
_inputLine is not a string, so it shouldn't be cast to Common::String. This fixes bug #3525602.
2012-03-03DREAMWEB: Simplify some uses of randomNumber()Torbjörn Andersson
Our random number generator isn't restricted to producing numbers between 0 and 255. We can just ask it for the desired range.
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-23DREAMWEB: Remove shared temp graphics variables.Alyssa Milburn
Instead, have a different variable for each use.
2012-02-08DREAMWEB: Remove uneeded duplicate function "printUnderMon".D G Turner
2011-12-29DREAMWEB: Correct monitor header message alignment in floppy versions.D G Turner
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: 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: 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-27DREAMWEB: Streamline graphics file accessWillem Jan Palenstijn
2011-12-27DREAMWEB: Streamline text file handlingWillem Jan Palenstijn
2011-12-27DREAMWEB: Remove mapStore segmentWillem Jan Palenstijn
2011-12-27DREAMWEB: Move kSubtitles out of data blob.D G Turner
2011-12-27DREAMWEB: Move kQuitRequested out of data blob.D G Turner
2011-12-27DREAMWEB: Move operand1, currentfile out of dataWillem Jan Palenstijn
2011-12-27DREAMWEB: Clean up monitor functionsWillem Jan Palenstijn
2011-12-27DREAMWEB: The monsource global is no longer used. Also, added a missing ↵Filippos Karapetis
comment in dirFile()
2011-12-27DREAMWEB: Cleanup of getKeyAndLogo(), dirFile() and read()Filippos Karapetis
2011-12-26DREAMWEB: Improved 'getKeyAndLogo' function signature.D G Turner
This removes a remaining al usage.
2011-12-26DREAMWEB: Ported 'dirfile' to C++D G Turner
Needs some checking of es:di usage and work to remove _operand1 to dreambase.h
2011-12-26DREAMWEB: Convert searchForStringWillem Jan Palenstijn
2011-12-26DREAMWEB: Move some functions to DreamBase, remove dead codeFilippos Karapetis
2011-12-26Revert "DREAMWEB: Remove dead code and move most functions to DreamBase"Filippos Karapetis
This reverts commit 4c66f74b58e9a2c191f22a37f485047dd19be131. 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-26DREAMWEB: Remove dead code and move most functions to DreamBaseFilippos Karapetis
2011-12-26DREAMWEB: Move inputline out of data blobWillem Jan Palenstijn
2011-12-26DREAMWEB: Convert 'parser'Willem Jan Palenstijn
2011-12-26DREAMWEB: Ported 'read' to C++D G Turner
2011-12-26DREAMWEB: Cleanup searchForFiles()Filippos Karapetis
2011-12-26DREAMWEB: Port 'dircom' to C++, move rootdir out of the data blob and fix a ↵Filippos Karapetis
regression in searchForFiles()
2011-12-26DREAMWEB: Cleanup searchForFiles()Filippos Karapetis
2011-12-26DREAMWEB: Ported 'searchforfiles' to C++D G Turner
2011-12-26DREAMWEB: Rename workToScreenCPP to workToScreenMax Horn
2011-12-24DREAMWEB: Move more functions to DreamBaseWillem Jan Palenstijn
2011-12-23DREAMWEB: Move backgrounds, zoom space, initial vars out of buffersWillem Jan Palenstijn
2011-12-23DREAMWEB: Convert fadeDownMon, fadeUpMon, initialMonCols to C++Max Horn
Note that the two fade methods are currently unused; the only calls to them are commented out in the asm version of the code. This change also removes showGroup()
2011-12-18DREAMWEB: Rewrite signOn into C++, and remove the users and passwords from ↵Filippos Karapetis
the data blob Note that the string processing logic in signOn is a bit different from the original, but the end result is the same (with cleaner code)
2011-12-18DREAMWEB: Port 'getkeyandlogo' to C++Filippos Karapetis
2011-12-18DREAMWEB: Port 'showkeys' to C++Filippos Karapetis
2011-12-18DREAMWEB: Move backdrop.cpp and more to DreamBase; remove some dead codeMax Horn
2011-12-18DREAMWEB: Fix multiple regressions in checkInside and loadCartWillem Jan Palenstijn
2011-12-18DREAMWEB: Port 'lookininterface' to C++Filippos Karapetis
2011-12-14DREAMWEB: Move more stuff to DreamBaseMax Horn
2011-12-14DREAMWEB: Convert makeCaps to C++, fix bug in delCharMax Horn