Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-03-13 | JANITORIAL: Replace (x ? false : true) by !(x). | Christoph Mallon | |
2011-07-10 | SWORD25: Removed custom endianness code in persistence code | Eugene Sandulenko | |
This is first step towards making saves portable. Binary footprint left intact, so the saves are compatible. | |||
2011-06-29 | SWORD25: Implement persistence functions for soundengine | Eugene Sandulenko | |
Now sound is properly saved/restored. Implemented savegame versioning. Compatibility with old saves pertained. | |||
2011-06-20 | ALL: Remove trailing whitespaces | Max Horn | |
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//' | |||
2011-05-26 | SWORD25: Fix making multiple saves at the same time. | Alyssa Milburn | |
This adds a missing seek. Thanks to [md5] for guessing the cause. | |||
2011-05-25 | ALL: initialise -> initialize | Matthew Hoops | |
2011-05-23 | SWORD25: Remove obsolete FORBIDDEN_SYMBOL_ALLOW_ALL defines | Max Horn | |
2011-05-17 | SWORD25: Name the random source | Max Horn | |
2011-05-14 | SWORD25: Fix format string warning. | eriktorbjorn | |
2011-05-13 | SWORD25: Stop linking directly against zlib. | md5 | |
Also, don't compress game data in newer saves, as the whole saved game is compressed anyway | |||
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-05 | SWORD25: Marked more functions as unused | md5 | |
2011-05-05 | SWORD25: Remove thumbnails from the cache when saving a new game | md5 | |
2011-05-05 | SWORD25: Initial code for showing savegame thumbnails | md5 | |
There is currently a bug and only the thumbnail of the first save slot is shown | |||
2011-05-05 | SWORD25: Removed the saved game filename from the savegame meta info struct | md5 | |
2011-05-05 | SWORD25: Added some FIXMEs in the save game and thumbnail code | md5 | |
Also, translated some comments | |||
2011-05-02 | SWORD25: Fix compilation, caused by zlib.h including unistd.h | Johannes Schickel | |
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-14 | SWORD25: Always create the MoviePlayer, even without USE_THEORADEC. | Alyssa Milburn | |
2011-02-02 | SWORD25: Cache related changes | Filippos Karapetis | |
- Increase the resource cache limits - Added a check before forcing resources to be freed - Only force free image and animation resources, with a warning. It seems like there is a bug in the resource reference code and several bitmap resources are not freed - added a FIXME - Clarify that initializeAnimationResource() is used with XML resources svn-id: r55736 | |||
2011-02-02 | SWORD25: Added a cache minimum and maximum limit, so that the resources ↵ | Filippos Karapetis | |
loaded will always be inside these limits. Resources can now be forcefully unlocked when the upper limit is reached svn-id: r55722 | |||
2011-01-28 | SWORD25: Marked several unused LUA callbacks as dummy functions. Some cleanup. | Filippos Karapetis | |
svn-id: r55597 | |||
2011-01-28 | SWORD25: Removed some more unused/unimplemented debug code | Filippos Karapetis | |
svn-id: r55595 | |||
2011-01-28 | SWORD25: Resources are now cleaned up correctly | Filippos Karapetis | |
The original checked the total amount of memory occupied by all resources. This has been changed to a maximum number of simultaneous resources instead, so the game resources are no longer leaked. Also disabled the unused or debug functions getUsedMemory(), setMaxMemoryUsage(), setMaxMemoryUsage(), isLogCacheMiss(), setLogCacheMiss(). Performed some cleanup on code related to the above. svn-id: r55594 | |||
2011-01-28 | SWORD25: Disabled the mechanism which precaches all of the game's resources ↵ | Filippos Karapetis | |
on startup. This reduced the initial memory used by 100MB for me, though the game keeps allocating new resources in each scene without deleting them, because of the missing functionality in getUsedMemory(). This change also slightly reduces the loading time on game startup. svn-id: r55593 | |||
2011-01-24 | SWORD25: Removed the logErrorLn and logWarningLn wrappers | Filippos Karapetis | |
svn-id: r55488 | |||
2011-01-23 | SWORD25: Replaced BS_ASSERT() with assert() | Filippos Karapetis | |
svn-id: r55464 | |||
2011-01-23 | SWORD25: Removed the custom log class and replaced it with ↵ | Filippos Karapetis | |
warning/error/debugC calls svn-id: r55462 | |||
2010-11-28 | SWORD25: Fix warning: deref type-punned pointer breaks strict-aliasing rules | Max Horn | |
svn-id: r54550 | |||
2010-11-19 | COMMON: Split common/stream.h into several headers | Max Horn | |
svn-id: r54385 | |||
2010-10-28 | SWORD25: Comment out unused static variable. | Johannes Schickel | |
svn-id: r53909 | |||
2010-10-28 | SWORD25: Standardised savegame filenames, start on advanced engine features | Paul Gilbert | |
svn-id: r53901 | |||
2010-10-28 | SWORD25: Start to rename read/write methods of *PersistenceBlock classes | Max Horn | |
All should be renamed to reduce risk of accidental incorrect use. svn-id: r53899 | |||
2010-10-28 | SWORD25: Get rid of CallbackRegistry | Max Horn | |
svn-id: r53898 | |||
2010-10-25 | SWORD25: Add FIXME about savegame names; cleanup | Max Horn | |
svn-id: r53839 | |||
2010-10-25 | SWORD25: Simplify FS 'wrapper' code a bit, add FIXME comments | Max Horn | |
The save system of this engine currently partially bypasses the SaveFileManager API, by (abusing) the fact that the Lua engine allows creating files in arbitrary places (it exposes fopen, fread, fwrite etc.). This is used to create a 'config.lua' configuration file. This makes it non-portable. In addition, the filenames used for the savestates ("0.b25s") do not comply with our naming conventions for engine savestates. It should be possible to overcome all this, but it might require hacking the Lua engine; or we could try to replace some of the BS2.5 script functions with our own, dynamically. svn-id: r53838 | |||
2010-10-25 | SWORD25: Get rid of most of the 'kernel service/superclass' code | Max Horn | |
svn-id: r53835 | |||
2010-10-25 | SWORD25: Get rid of classes ScummVMWindow and Window | Max Horn | |
svn-id: r53832 | |||
2010-10-24 | SWORD25: Remove some dead code; cleanup | Max Horn | |
svn-id: r53760 | |||
2010-10-24 | SWORD25: Replace ResourceManager's hash table by a Common::HashMap | Max Horn | |
svn-id: r53759 | |||
2010-10-24 | SWORD25: Get rid of kernel/string.h | Max Horn | |
svn-id: r53758 | |||
2010-10-20 | SWORD25: Added description field to savegames | Paul Gilbert | |
This stores the date and time of when the game was saved, since ScummVM doesn't support getting a file's age like the original engine did. svn-id: r53638 | |||
2010-10-20 | SWORD25: Fix to correctly write game state to savegame files | Paul Gilbert | |
svn-id: r53637 | |||
2010-10-19 | SWORD25: Enforced code formatting rules in rest of the engine | Eugene Sandulenko | |
svn-id: r53626 | |||
2010-10-19 | SWORD25: Fix engine exit when running without theoradec | Eugene Sandulenko | |
svn-id: r53622 | |||
2010-10-19 | SWORD25: Simplify log listener code (and get rid of another global constructor) | Max Horn | |
svn-id: r53610 | |||
2010-10-19 | SWORD25: Some code cleanup | Max Horn | |
svn-id: r53608 | |||
2010-10-19 | SWORD25: Move BS_ServiceInfo to service_ids.h and turn it into a POD struct | Max Horn | |
svn-id: r53607 | |||
2010-10-19 | SWORD25: Optimize ReverseArray, move it to only place it is used | Max Horn | |
svn-id: r53606 | |||
2010-10-19 | SWORD25: Fix cppcheck warnings in BS_Log::LogPrefix | Paul Gilbert | |
The LogPrefix method isn't currently used, but I'm fixing it just in case it's ever used again svn-id: r53602 |