Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-12 | DREAMWEB: Use accurate memory reclamation for Ex transfers | Colin 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. | |||
2014-02-18 | DREAMWEB: Make GPL headers consistent in themselves. | Johannes Schickel | |
2012-11-30 | DREAMWEB: Add some debugging output to emergencyPurge | Willem Jan Palenstijn | |
2012-11-30 | DREAMWEB: Make frame fixups more specific and add sanity checks | Willem Jan Palenstijn | |
This should detect (and trigger asserts on) the kind of ex frame data corruption in bug #3591088. | |||
2012-11-30 | DREAMWEB: Fix emergencyPurge checks | Willem Jan Palenstijn | |
It could re-delete previously deleted objects, causing ex data (frame/text) corruption. This is the likely cause of bug #3591088. Asm conversion error from eaf87bdfa7ac279f736c03b25af94ac1df3b31ce. | |||
2012-11-30 | DREAMWEB: 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-30 | DREAMWEB: Migrate object/inventory related functions out of stubs. | D G Turner | |
2012-11-30 | DREAMWEB: Remove dead code functions and minor formatting cleanup. | D G Turner | |
2012-09-26 | JANITORIAL: Remove trailing whitespaces. | Johannes Schickel | |
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//' | |||
2012-05-30 | DREAMWEB: 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. | |||
2011-12-28 | DREAMWEB: Use ObjectType enums in more places | Max Horn | |
2011-12-28 | DREAMWEB: Added commandOnlyCond() method | Max Horn | |
2011-12-28 | DREAMWEB: Clean up checkCoords | Willem Jan Palenstijn | |
2011-12-28 | Merge pull request #154 from fingolfin/dreamweb-cleanup | Filippos Karapetis | |
Dreamweb: Mark structs packed, minor tweaks | |||
2011-12-28 | DREAMWEB: Clean up some constants | Willem Jan Palenstijn | |
2011-12-28 | DREAMWEB: Rename a member of SetObject & DynObject to objId | Max 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-28 | DREAMWEB: Rename getEitherAdCPP to getEitherAd, use obj type enums | Max Horn | |
2011-12-28 | DREAMWEB: Completely remove all of the runtime, and move everything into ↵ | Filippos Karapetis | |
DreamWebEngine Also, remove dead code (allocateMem/deallocateMem) | |||
2011-12-28 | DREAMWEB: Move all saved variables to a GameVars struct | Willem Jan Palenstijn | |
The data segment is now completely unused. | |||
2011-12-28 | DREAMWEB: Remove more global variables | Filippos Karapetis | |
2011-12-28 | DREAMWEB: Mass-move variables out of data | Willem 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-27 | DREAMWEB: Convert room text into TextFiles | Willem Jan Palenstijn | |
2011-12-27 | DREAMWEB: Convert exText into TextFile | Willem Jan Palenstijn | |
2011-12-27 | DREAMWEB: Remove Extras segment | Willem Jan Palenstijn | |
2011-12-27 | DREAMWEB: Streamline graphics file access | Willem Jan Palenstijn | |
2011-12-27 | DREAMWEB: Move kQuitRequested out of data blob. | D G Turner | |
2011-12-27 | DREAMWEB: Move all of the functions to DreamBase and remove stubs.h | Filippos Karapetis | |
2011-12-27 | DREAMWEB: Move remaining use functions to DreamBase | Willem Jan Palenstijn | |
2011-12-26 | DREAMWEB: Move some functions to DreamBase, remove dead code | Filippos Karapetis | |
2011-12-26 | Revert "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-26 | DREAMWEB: Remove dead code and move most functions to DreamBase | Filippos Karapetis | |
2011-12-26 | DREAMWEB: Reduce dependency on globals and move functions to DreamBase | Willem Jan Palenstijn | |
2011-12-26 | DREAMWEB: Combine transferMap and transferInv | Willem Jan Palenstijn | |
2011-12-26 | DREAMWEB: Convert pickupConts | Willem Jan Palenstijn | |
2011-12-26 | DREAMWEB: Minor cleanup | Willem Jan Palenstijn | |
2011-12-26 | DREAMWEB: Move openInvList, ryanInvList out of buffers | Willem Jan Palenstijn | |
2011-12-26 | DREAMWEB: Fix regression in transferToEx | Willem Jan Palenstijn | |
2011-12-26 | DREAMWEB: Fix a regression in fillOpen() and remove the now unused ↵ | Filippos Karapetis | |
getOpenedSize() | |||
2011-12-26 | DREAMWEB: Convert findAllOpen, fillOpen | Willem Jan Palenstijn | |
2011-12-26 | DREAMWEB: Port 'transfertoex' to C++ | Filippos Karapetis | |
2011-12-26 | DREAMWEB: Cleanup identifyOb() | Filippos Karapetis | |
2011-12-26 | DREAMWEB: Port 'findpathofpoint' to C++ | D G Turner | |
2011-12-25 | Merge pull request #153 from fingolfin/dreamweb-cleanup | Filippos Karapetis | |
Dreamweb: Port rollEm() to C++, remove dead code | |||
2011-12-26 | DREAMWEB: Cleaned up findFirstPath(), fixed a regression and moved it to ↵ | Filippos Karapetis | |
DreamBase | |||
2011-12-26 | DREAMWEB: Rename workToScreenCPP to workToScreen | Max Horn | |
2011-12-26 | DREAMWEB: Remove some dead code | Max Horn | |
2011-12-25 | DREAMWEB: Ported 'findfirstpath' to C++. | D G Turner | |
This conversion could do with a bit more work to remove the es/ax/cx temp usage and clean up the code. | |||
2011-12-25 | DREAMWEB: Port 'findopenpos' to C++ | Filippos Karapetis | |
2011-12-25 | DREAMWEB: Port 'purgeanitem' to C++, some cleanup | Filippos Karapetis | |
2011-12-25 | DREAMWEB: Port 'outofopen' to C++ | Filippos Karapetis | |