aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/kernel
AgeCommit message (Collapse)Author
2013-10-08SWORD25: Fix potential buffer overrun. CID 1003865Eugene Sandulenko
2013-09-29SWORD25: Specifying int size to make Amiga happyEugene Sandulenko
2013-09-29SWORD25: Fix Amiga compilationEugene Sandulenko
2013-09-28SWORD25: Further fixes for Amiga compilationEugene Sandulenko
2013-09-28SWORD25: Fix Amiga compilationEugene Sandulenko
2012-03-13JANITORIAL: Replace (x ? false : true) by !(x).Christoph Mallon
2011-07-10SWORD25: Removed custom endianness code in persistence codeEugene Sandulenko
This is first step towards making saves portable. Binary footprint left intact, so the saves are compatible.
2011-06-29SWORD25: Implement persistence functions for soundengineEugene Sandulenko
Now sound is properly saved/restored. Implemented savegame versioning. Compatibility with old saves pertained.
2011-06-20ALL: Remove trailing whitespacesMax 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-26SWORD25: Fix making multiple saves at the same time.Alyssa Milburn
This adds a missing seek. Thanks to [md5] for guessing the cause.
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-23SWORD25: Remove obsolete FORBIDDEN_SYMBOL_ALLOW_ALL definesMax Horn
2011-05-17SWORD25: Name the random sourceMax Horn
2011-05-14SWORD25: Fix format string warning.eriktorbjorn
2011-05-13SWORD25: 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-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-05SWORD25: Marked more functions as unusedmd5
2011-05-05SWORD25: Remove thumbnails from the cache when saving a new gamemd5
2011-05-05SWORD25: Initial code for showing savegame thumbnailsmd5
There is currently a bug and only the thumbnail of the first save slot is shown
2011-05-05SWORD25: Removed the saved game filename from the savegame meta info structmd5
2011-05-05SWORD25: Added some FIXMEs in the save game and thumbnail codemd5
Also, translated some comments
2011-05-02SWORD25: Fix compilation, caused by zlib.h including unistd.hJohannes Schickel
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-14SWORD25: Always create the MoviePlayer, even without USE_THEORADEC.Alyssa Milburn
2011-02-02SWORD25: Cache related changesFilippos 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-02SWORD25: 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-28SWORD25: Marked several unused LUA callbacks as dummy functions. Some cleanup.Filippos Karapetis
svn-id: r55597
2011-01-28SWORD25: Removed some more unused/unimplemented debug codeFilippos Karapetis
svn-id: r55595
2011-01-28SWORD25: Resources are now cleaned up correctlyFilippos 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-28SWORD25: 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-24SWORD25: Removed the logErrorLn and logWarningLn wrappersFilippos Karapetis
svn-id: r55488
2011-01-23SWORD25: Replaced BS_ASSERT() with assert()Filippos Karapetis
svn-id: r55464
2011-01-23SWORD25: Removed the custom log class and replaced it with ↵Filippos Karapetis
warning/error/debugC calls svn-id: r55462
2010-11-28SWORD25: Fix warning: deref type-punned pointer breaks strict-aliasing rulesMax Horn
svn-id: r54550
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-10-28SWORD25: Comment out unused static variable.Johannes Schickel
svn-id: r53909
2010-10-28SWORD25: Standardised savegame filenames, start on advanced engine featuresPaul Gilbert
svn-id: r53901
2010-10-28SWORD25: Start to rename read/write methods of *PersistenceBlock classesMax Horn
All should be renamed to reduce risk of accidental incorrect use. svn-id: r53899
2010-10-28SWORD25: Get rid of CallbackRegistryMax Horn
svn-id: r53898
2010-10-25SWORD25: Add FIXME about savegame names; cleanupMax Horn
svn-id: r53839
2010-10-25SWORD25: Simplify FS 'wrapper' code a bit, add FIXME commentsMax 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-25SWORD25: Get rid of most of the 'kernel service/superclass' codeMax Horn
svn-id: r53835
2010-10-25SWORD25: Get rid of classes ScummVMWindow and WindowMax Horn
svn-id: r53832
2010-10-24SWORD25: Remove some dead code; cleanupMax Horn
svn-id: r53760
2010-10-24SWORD25: Replace ResourceManager's hash table by a Common::HashMapMax Horn
svn-id: r53759
2010-10-24SWORD25: Get rid of kernel/string.hMax Horn
svn-id: r53758
2010-10-20SWORD25: Added description field to savegamesPaul 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-20SWORD25: Fix to correctly write game state to savegame filesPaul Gilbert
svn-id: r53637
2010-10-19SWORD25: Enforced code formatting rules in rest of the engineEugene Sandulenko
svn-id: r53626
2010-10-19SWORD25: Fix engine exit when running without theoradecEugene Sandulenko
svn-id: r53622