aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/kernel/kernel.cpp
AgeCommit message (Collapse)Author
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-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-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-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
2010-10-19SWORD25: Some code cleanupMax Horn
svn-id: r53608
2010-10-19SWORD25: Move BS_ServiceInfo to service_ids.h and turn it into a POD structMax Horn
svn-id: r53607
2010-10-13SWORD25: Don't even compile theora related code when that lib is not presentMax Horn
svn-id: r53428
2010-10-13SWORD25: Renamed ENABLE_THEORADEC to USE_THEORADEC (like in configure)Filippos Karapetis
svn-id: r53418
2010-10-13SWORD25: Renamed ENABLE_THEORA to ENABLE_THEORADEC (like in configure)Filippos Karapetis
svn-id: r53417
2010-10-13SWORD25: Added a ENABLE_THEORA define inside fmv/theora_decoder.hFilippos 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-13SWORD25: Get rid of Kernel::GetMicroTicks()Max Horn
svn-id: r53403
2010-10-13SWORD25: Enforced code naming conventions in script/*Eugene Sandulenko
svn-id: r53391
2010-10-12SWORD25: unsigned int -> uintEugene Sandulenko
svn-id: r53309
2010-10-12SWORD25: removed BS_ prefix from rest of the classes.Eugene Sandulenko
The things which are intentionally left with the prefix: BS_LOG, BS_ASSERT, BS_Rect, BS_String. svn-id: r53261
2010-10-12SWORD25: eliminated BS_ prefix in all but kernel/Eugene Sandulenko
svn-id: r53259
2010-10-12SWORD25: Mass-eliminating of BS_ prefix in fmv/ and gfx/Eugene Sandulenko
svn-id: r53258
2010-10-12SWORD25: Fix warningsEugene Sandulenko
svn-id: r53254
2010-10-12SWORD25: Fix couple more warningsEugene Sandulenko
svn-id: r53236
2010-10-12SWORD25: Mass-astyle.Eugene Sandulenko
svn-id: r53222
2010-10-12SWORD25: Replacing headers with ScummVM ones plus original (C)Eugene Sandulenko
svn-id: r53188
2010-10-12SWORD25: Converted kernel/kernel.cpp to compile under ScummVMPaul Gilbert
This commit creates a skeleton detection and engine class, as well as code necessary to call the kernel initiation. The kernel/kernel.cpp has been converted to compile under ScummVM, along with all dependant header files. svn-id: r53184
2010-10-12SWORD25: Fixed rest of the include pathsEugene Sandulenko
svn-id: r53181
2010-10-12SWORD25: Removed cpuinfo.cpp fileEugene Sandulenko
svn-id: r53173
2010-10-12SWORD25: Importing original sourcesEugene Sandulenko
svn-id: r53171