aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/kernel/kernel_script.cpp
AgeCommit message (Collapse)Author
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-05SWORD25: Marked more functions as unusedmd5
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
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-19SWORD25: Enforced code formatting rules in rest of the engineEugene Sandulenko
svn-id: r53626
2010-10-15SWORD25: Fix infinite recursionTorbjö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-15SWORD25: Do not use Kernel::GetService directly anymoreMax Horn
svn-id: r53477
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: Clean compile!Eugene Sandulenko
Under MinGW, with OpenGL and tinyxml. svn-id: r53225
2010-10-12SWORD25: Mass-astyle.Eugene Sandulenko
svn-id: r53222
2010-10-12SWORD25: Converted Lua interface classesPaul Gilbert
svn-id: r53195
2010-10-12SWORD25: Removed leftover include referencesEugene Sandulenko
svn-id: r53192
2010-10-12SWORD25: get rid of custom md5.cpp and Windows-specific debug stuffEugene Sandulenko
All version ID generation is useless for ScummVM as we have our own clear versions. Thus removing all of that. svn-id: r53191
2010-10-12SWORD25: Replacing headers with ScummVM ones plus original (C)Eugene Sandulenko
svn-id: r53188
2010-10-12SWORD25: Compilation fixesEugene Sandulenko
Majority of files now compile under Windoze. svn-id: r53182
2010-10-12SWORD25: Fixed rest of the include pathsEugene Sandulenko
svn-id: r53181
2010-10-12SWORD25: Importing original sourcesEugene Sandulenko
svn-id: r53171