Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-28 | SWORD25: Simplify InputEngine::(un)persist | Max Horn | |
svn-id: r53897 | |||
2010-10-27 | SWORD25: Fix keyboard state handling | Max Horn | |
Previously, you could get the game into a state where it would think a key was constantly being pressed. E.g. by pressing 'p' several times quickly in a row, the game would end in a state where it endlessly toggled between pause mode and regular mode. svn-id: r53878 | |||
2010-10-27 | SWORD25: Use ScummVM keycodes | Max Horn | |
This should enable use of F-keys in BS25. Most of the KEY_* constants are not used by the scripts anyway. svn-id: r53877 | |||
2010-10-27 | SWORD25: Fix out of bounds writes when pressing keys like ctrl or F-keys | Max Horn | |
This fixes a crash one got by quitting via the GMM. svn-id: r53876 | |||
2010-10-25 | SWORD25: Disable script triggered screenshots | Max Horn | |
svn-id: r53840 | |||
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: 'Implement' RTL support & add TODOs about missing feature support | Max Horn | |
svn-id: r53837 | |||
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-24 | SWORD25: Simplify & optimize PNG reading code | Max Horn | |
The interlaced part is untested since I do not know any place in the game where interlaced data is used. svn-id: r53757 | |||
2010-10-24 | SWORD25: Get rid of colorFormat parameter in PNGLoader API | Max Horn | |
Only CF_ARGB32 was supported anyway. svn-id: r53756 | |||
2010-10-24 | SWORD25: Merge classes PNGLoader, ImageLoader and ImageLoaderManager | Max Horn | |
This looses some flexibility when it comes to supporting other image formats. But since the game does not use other image formats, this seems rather irrelevant, compared to how much simpler the code now is. svn-id: r53755 | |||
2010-10-24 | SWORD25: Merge B25SLoader into PNGLoader | Max Horn | |
svn-id: r53754 | |||
2010-10-24 | SWORD25: Add ImageLoaderManager, get rid of last globally constructed object | Max Horn | |
This also gets rid of an evil use of atexit. svn-id: r53753 | |||
2010-10-24 | SWORD25: Remove outdated comments | Max Horn | |
svn-id: r53752 | |||
2010-10-23 | SWORD25: Register LUA callbacks insider registerScriptBindings() methods | Max Horn | |
Previously, the constructor of an anonymous global object was used to do this, for no apparent reason. However, maybe there was a hidden reason which I missed, so this change might cause regressions. I.e., please test. svn-id: r53735 | |||
2010-10-23 | SWORD25: Get rid of global SharedPtr instances | Max Horn | |
svn-id: r53734 | |||
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: Enforce code naming conventions in gfx/* | Eugene Sandulenko | |
svn-id: r53625 | |||
2010-10-19 | SWORD25: Enforce code naming conventions in gfx/image/imageloader* | Eugene Sandulenko | |
svn-id: r53623 | |||
2010-10-19 | SWORD25: Fix engine exit when running without theoradec | Eugene Sandulenko | |
svn-id: r53622 | |||
2010-10-19 | SWORD25: Enforce code naming conventions in gfx/graphicengine* | Eugene Sandulenko | |
svn-id: r53621 | |||
2010-10-19 | SWORD25: Properly implement GraphicEngine::fill() | Eugene Sandulenko | |
Now all transitions and dimming out screen at exit dialog is supported. svn-id: r53620 | |||
2010-10-19 | SWORD25: Fix for Valgrind identified memory leak | Paul Gilbert | |
svn-id: r53611 | |||
2010-10-19 | SWORD25: Simplify log listener code (and get rid of another global constructor) | Max Horn | |
svn-id: r53610 | |||
2010-10-19 | SWORD25: Destroy singletons upon engine exit (untested, may lead to crash ↵ | Max Horn | |
upon exit) svn-id: r53609 | |||
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: Work around for bug in Mac OS X 10.2 SDK | Max Horn | |
svn-id: r53604 | |||
2010-10-19 | SWORD25: Added operator= to Polygon class | Paul Gilbert | |
This fixes a corruption where vertice arrays were being copied directly and destroyed prematurely svn-id: r53603 | |||
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-19 | SWORD25: Fix cppcheck warning | Torbjörn Andersson | |
svn-id: r53600 | |||
2010-10-18 | SWORD25: Since ssize_t might not be available on all platforms use size_t ↵ | Johannes Schickel | |
for the pointer cast now. svn-id: r53594 | |||
2010-10-18 | SWORD25: Fix compilation on 64bit arches by casting a pointer to ssize_t ↵ | Johannes Schickel | |
instead of int. This should be no permanent solution. I added a small fixme comment near the cast so it won't be forgotten. svn-id: r53593 | |||
2010-10-18 | SWORD25: Use const_cast to cast away constness. | Johannes Schickel | |
This fixes a few warnings/errors in the LUA code. I added some FIXMEs at the places where the casts happen, since usually this casting indicates bad design. svn-id: r53592 | |||
2010-10-18 | SWORD25: Fix warning | Eugene Sandulenko | |
svn-id: r53569 | |||
2010-10-18 | SWORD25: Renamed Lua .c files to .cpp and make it compilable | Eugene Sandulenko | |
svn-id: r53568 | |||
2010-10-18 | SWORD25: Fix Valgrind reported uninitialised errors | Paul Gilbert | |
svn-id: r53565 | |||
2010-10-18 | SWORD25: Fix for Valgrind identified errors | Paul Gilbert | |
svn-id: r53563 | |||
2010-10-16 | SWORD25: Use C-style comments in C files | Ori Avtalion | |
svn-id: r53538 | |||
2010-10-16 | SWORD25: Update svn keywords | Ori Avtalion | |
svn-id: r53537 | |||
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 | ENGINES: Enhance namespace comments a bit | Max Horn | |
svn-id: r53484 |