aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/use.cpp
AgeCommit message (Collapse)Author
2014-02-20DREAMWEB: Slight formatting fix.Johannes Schickel
2014-02-19DREAMWEB: Some British to American englishStrangerke
2014-02-18DREAMWEB: Make GPL headers consistent in themselves.Johannes Schickel
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-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-02-23DREAMWEB: Remove shared temp graphics variables.Alyssa Milburn
Instead, have a different variable for each use.
2011-12-28DREAMWEB: Remove unnecessary DreamWebEngine:: usesMax Horn
2011-12-28DREAMWEB: Move more methods to keypad.cpp, reorder them to match ASMMax 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: 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: 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 remaining use functions to DreamBaseWillem Jan Palenstijn
2011-12-27DREAMWEB: Remove dead codeFilippos Karapetis
2011-12-27DREAMWEB: Clean up monitor functionsWillem Jan Palenstijn
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: Remove the now unused ASM style versions of getanyad, getexad, ↵Filippos Karapetis
getfreead and getsetad
2011-12-26DREAMWEB: Move even more use-related functions to DreamBaseWillem Jan Palenstijn
2011-12-26DREAMWEB: Rename workToScreenCPP to workToScreenMax Horn
2011-12-25DREAMWEB: Remove getDestInfo() from locationPicFilippos Karapetis
This allows to move some more functions into DreamBase
2011-12-25DREAMWEB: Port 'locationpic', 'reexfrominv' to C++Filippos Karapetis
2011-12-25DREAMWEB: Move some functions to DreamBaseFilippos Karapetis
2011-12-24DREAMWEB: Move more functions to DreamBaseWillem Jan Palenstijn
2011-12-24DREAMWEB: Move many use-related functions to DreamBaseWillem Jan Palenstijn
2011-12-24DREAMWEB: Convert getObTextStartWillem Jan Palenstijn
2011-12-24DREAMWEB: Minor cleanupWillem Jan Palenstijn
2011-12-24DREAMWEB: Use the C++ versions of getAnyAd and makeWorn in some placesFilippos Karapetis
This allows us to remove the ASM style version of makeWorn()
2011-12-23DREAMWEB: Convert resetLocation and purgeALocation to C++Max Horn
2011-12-23DREAMWEB: cleanupMax Horn
2011-12-23DREAMWEB: Turn RectWithCallback into templateMax Horn
Also moves checkCoords to DreamBase, adding a nasty cast to it. This is a temporary HACK, which allows moving functions that use checkCoords to DreamBase one at a time, instead of all at once (and at the same time as checkCoords). This can be undone once everything using checkCoords has been moved to DreamBase.
2011-12-18DREAMWEB: Move backdrop.cpp and more to DreamBase; remove some dead codeMax Horn
2011-12-18DREAMWEB: Fix regression in useWinchWillem Jan Palenstijn
2011-12-18DREAMWEB: Port 'setpickup' to C++ and added an enum for the object typesFilippos Karapetis
2011-12-17DREAMWEB: Fix regression in slabdoorbWillem Jan Palenstijn
2011-12-17DREAMWEB: Work around runtime limitationWillem Jan Palenstijn
The WordRef accessor writes back its value too late. Example: in the call printDirect(data.word(kLastxpos), .....) the destructor isn't called until after printDirect returns. This destroys the modifications to lastXPos that printDirect makes.
2011-12-17DREAMWEB: Port 'usestereo' to C++Filippos Karapetis
2011-12-17DREAMWEB: Port 'checkinside' to C++Filippos Karapetis
2011-12-17DREAMWEB: Rewrote useCashCard() in C++ and got rid of moneyPoke() and its ↵Filippos Karapetis
associated offsets in the data blob
2011-12-16DREAMWEB: Port 'isryanholding' to C++Filippos Karapetis
2011-12-16DREAMWEB: Move more things to DreamBase; cleanup some codeMax Horn
2011-12-16DREAMWEB: Convert useGun to C++Max Horn
2011-12-15DREAMWEB: Convert notHeldError to C++, move stuff to DreamBaseMax Horn
2011-12-15DREAMWEB: Convert a bunch of stuff to C++Max Horn
Specifically, I started with openOb() and withWhat() which allowed to remove offset_commandline and offset_openchangesize. A clean conversion of these required a conversion of printMessage2 and getOpenedSize.
2011-12-15DREAMWEB: Port 'usehandle', 'usealtar' to C++Filippos Karapetis
2011-12-15DREAMWEB: Port 'findsetobject' and 'findexobject' to C++ and simplify compare()Filippos Karapetis