Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2010-10-15 | SWORD25: Fix infinite recursion | Torbjörn Andersson | |
If I understand this, we don't need to call Kernel::GetInstance() when we are already in the Kernel class. In this particular case, _RegisterScriptBindings() is called from the Kernel constructor, so it gets called again and again because _Instance hasn't yet been set. svn-id: r53512 | |||
2010-10-15 | SWORD25: Do not use Kernel::GetService directly anymore | Max Horn | |
svn-id: r53477 | |||
2010-10-13 | SWORD25: Semi-colon cleanup. | Johannes Schickel | |
svn-id: r53446 | |||
2010-10-13 | SWORD25: Check if _LogFile has been created before flushing. | Torbjörn Andersson | |
svn-id: r53445 | |||
2010-10-13 | Fixed ifdef. I'm too tired today :/ | Filippos Karapetis | |
svn-id: r53440 | |||
2010-10-13 | SWORD25: Hopefully fix compilation when libtheora is not present | Filippos Karapetis | |
svn-id: r53439 | |||
2010-10-13 | SWORD25: Renamed getInstance() -> instance() | Max Horn | |
svn-id: r53430 | |||
2010-10-13 | SWORD25: Don't even compile theora related code when that lib is not present | Max Horn | |
svn-id: r53428 | |||
2010-10-13 | SWORD25: Renamed ENABLE_THEORADEC to USE_THEORADEC (like in configure) | Filippos Karapetis | |
svn-id: r53418 | |||
2010-10-13 | SWORD25: Renamed ENABLE_THEORA to ENABLE_THEORADEC (like in configure) | Filippos Karapetis | |
svn-id: r53417 | |||
2010-10-13 | SWORD25: Added a ENABLE_THEORA define inside fmv/theora_decoder.h | Filippos Karapetis | |
This define can be used to disable building of the Theora decoder, and thus makes libtheora optional (therefore resolving an item in the Sword25 TODO). Disabling the Theora decoder will effectively disable the game's videos Note that running the game with the Theora decoder disabled is still untested svn-id: r53416 | |||
2010-10-13 | SWORD25: Force cast to uint instead of unsigned long long | Sven Hesse | |
As per Fingolfin's request, because apparently there's no long long in the C++ standard; and ScummVM's hashmap needs uint. svn-id: r53413 | |||
2010-10-13 | SWORD25: Resolve ambigous write() call on 64 bit systems | Sven Hesse | |
svn-id: r53410 | |||
2010-10-13 | SWORD25: Cast the pointer to unsigned long long | Sven Hesse | |
...Instead of to uint, which fails on my 64 bit system where pointers are 64 bit, but normal ints 32 bit wide. svn-id: r53409 | |||
2010-10-13 | SWORD25: Fixed signed/unsigned bug | Filippos Karapetis | |
svn-id: r53407 | |||
2010-10-13 | SWORD25: Get rid of kernel/bs_stdint.h | Max Horn | |
svn-id: r53405 |