aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/structs.h
AgeCommit message (Collapse)Author
2017-11-11DREAMWEB: Fix out-of-bounds read of frame animation dataColin Snover
The game reads until it sees 0xFF, which is not until frame 14 for some animations in the first interactive room of the game. This happened to work previously because the struct is packed so it would read into the b31.. members, but this was still technically an out-of-bounds read.
2014-02-18DREAMWEB: Make GPL headers consistent in themselves.Johannes Schickel
2012-02-23DREAMWEB: Dynamically allocate GraphicsFile::_frames.Alyssa Milburn
This avoids extra memory usage due to the previous commit.
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-28DREAMWEB: Clean up checkCoordsWillem Jan Palenstijn
2011-12-28DREAMWEB: Add 'packed' attribute to structs that need itMax Horn
... 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-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: 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-28DREAMWEB: Move all saved variables to a GameVars structWillem Jan Palenstijn
The data segment is now completely unused.
2011-12-27DREAMWEB: Remove setdat, freedat segmentsWillem Jan Palenstijn
2011-12-27DREAMWEB: Convert exText into TextFileWillem Jan Palenstijn
2011-12-27DREAMWEB: Streamline graphics file accessWillem Jan Palenstijn
2011-12-27DREAMWEB: Streamline text file handlingWillem Jan Palenstijn
2011-12-27DREAMWEB: Create MapFlags struct, remove backdrops segmentWillem Jan Palenstijn
2011-12-27DREAMWEB: Remove dead codeFilippos Karapetis
2011-12-27DREAMWEB: Remove more unused/unnecessary variablesFilippos Karapetis
2011-12-26DREAMWEB: Move openInvList, ryanInvList out of buffersWillem Jan Palenstijn
2011-12-26DREAMWEB: Cleaned up findFirstPath(), fixed a regression and moved it to ↵Filippos Karapetis
DreamBase
2011-12-25DREAMWEB: Move some functions to DreamBaseFilippos Karapetis
2011-12-25DREAMWEB: Convert 'checkobjectsize' to C++Filippos Karapetis
Also, renamed getOpenedSizeCPP() to getSlotCount(). Special thanks to wjp for his help and for examining the behavior of a fallback case.
2011-12-23DREAMWEB: Move sprite table out of buffersWillem Jan Palenstijn
2011-12-23DREAMWEB: Move rainlist out of buffersWillem Jan Palenstijn
2011-12-23DREAMWEB: Fix regression from moving ReelRoutines out of dataWillem Jan Palenstijn
The struct People still had an old-style pointer to a ReelRoutine. Fix this by converting People to use a real ReelRoutine * and moving the PeopleList from the buffers segment to a Common::List. Thanks to digitall for the assistance with tracking this down.
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: Remove reelRoutines from data blobWillem Jan Palenstijn
2011-12-18DREAMWEB: Port 'setpickup' to C++ and added an enum for the object typesFilippos Karapetis
2011-12-17DREAMWEB: Add disabled reelRoutine conversion workWillem Jan Palenstijn
2011-12-17DREAMWEB: Name some DynObject/SetObject fieldsWillem Jan Palenstijn
Also change getAnyAd() behaviour to be consistent between Free/Ex and Set objects, diverging from the original.
2011-12-12DREAMWEB: Remove a lot of unused variablesFilippos Karapetis
2011-12-06DREAMWEB: Cleanup end of namespace commentsMax Horn
2011-12-05DREAMWEB: Untangle namespacesWillem Jan Palenstijn
2011-12-04DREAMWEB: kIcons1 and kIcons2 ownership transferred from the VM to the engineBertrand Augereau
2011-12-03DREAMWEB: Convert 'atmospheres'Willem Jan Palenstijn
2011-12-03DREAMWEB: CR at last lineBertrand Augereau
2011-12-03DREAMWEB: Don't use Madeuproomdat as a global when not necessaryWillem Jan Palenstijn
2011-12-03DREAMWEB: Create and use FileHeader structWillem Jan Palenstijn
2011-12-03DREAMWEB: Move roomData out of opaque data segmentWillem Jan Palenstijn
2011-12-01DREAMWEB: Ported 'sparky' to C++Bertrand Augereau
2011-12-01DREAMWEB: Naming of ReelRoutine membersBertrand Augereau
2011-11-27DREAMWEB: Add utility function ObjPos::containsWillem Jan Palenstijn
2011-11-26DREAMWEB: Fix Room structWillem Jan Palenstijn
Room::name is a zero terminated 8.3 filename, so 13 bytes long.
2011-11-26DREAMWEB: Ceaning in 'startloading'Bertrand Augereau
2011-11-22DREAMWEB: Sound structureBertrand Augereau
2011-11-18DREAMWEB: Add some sprite-related comments and namesWillem Jan Palenstijn
2011-11-17DREAMWEB: Cleaning in room loadingBertrand Augereau
2011-11-16DREAMWEB: Clean up 'dodoor'Willem Jan Palenstijn
2011-11-14DREAMWEB: Unhardcode checkcoords tablesWillem Jan Palenstijn
This patch makes __dispatch_call (even more) superfluous, but does not yet remove it.
2011-09-02DREAMWEB: 'checkpathison' ported to C++Bertrand Augereau