Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-01-28 | SWORD25: Removed some more unused/unimplemented debug code | Filippos Karapetis | |
svn-id: r55595 | |||
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: Fix some invalid writes / crashes | Sven Hesse | |
On my system, sizeof(png_uint_32) == 8, while sizeof(int) == 4. svn-id: r55504 | |||
2011-01-24 | SWORD25: Cleanup | Filippos Karapetis | |
svn-id: r55501 | |||
2011-01-24 | SWORD25: Fix linker breakage from DECLARE_SINGLETON() in renderObjectRegistry.h. | David Turner | |
svn-id: r55490 | |||
2011-01-24 | SWORD25: Documented a FIXME | Filippos Karapetis | |
svn-id: r55489 | |||
2011-01-24 | SWORD25: Removed the logErrorLn and logWarningLn wrappers | Filippos Karapetis | |
svn-id: r55488 | |||
2011-01-23 | SWORD25: Fix GCC Compilation Warnings. | David Turner | |
svn-id: r55482 | |||
2011-01-23 | SWORD25: Fix format string warnings. | Torbjörn Andersson | |
svn-id: r55465 | |||
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 | |||
2011-01-16 | SWORD25: Fix main menu button text colour | Torbjörn Andersson | |
In the other cases I've found in the code, the colour components are stored in the order B, G, R and A. Assume that's the case here too. I hope that is correct. It doesn't seem to break anything obvious. svn-id: r55255 | |||
2010-11-19 | COMMON: Split common/stream.h into several headers | Max Horn | |
svn-id: r54385 | |||
2010-11-17 | ENGINES: Change 'colour' to 'color' | Max Horn | |
Only changed this in engines where 'color' was/is already used almost exclusively svn-id: r54288 | |||
2010-11-16 | COMMON: Simplify DECLARE_SINGLETON macro | Max Horn | |
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258 | |||
2010-11-03 | SWORD25: cleanup | Max Horn | |
svn-id: r54045 | |||
2010-11-02 | SWORD25: Convert printf to debugN | Max Horn | |
svn-id: r54040 | |||
2010-11-01 | SWORD25: Replace art_warn/art_die by warning/error | Max Horn | |
svn-id: r54002 | |||
2010-10-30 | ALL: Add code to help stop people from accidentally using "bad" APIs | Max Horn | |
A new header file common/forbidden.h is included by scummsys.h and it re-#defines numerous symbols like fopen(), fread(), system(), etc. with garbage, in order to provoke compile errors in any code using them. If a .cpp file really *must* use any of these (e.g. because it is a backend file), then these redefinitions can be disabled by #defining FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever this is done, an explanatory comment should be added. Note that this system cannot catch all "bad" usages (notably the Lua code in the sword25 engine), as it can only work if scummsys.h is included. svn-id: r53961 | |||
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: Disable script triggered screenshots | Max Horn | |
svn-id: r53840 | |||
2010-10-25 | SWORD25: Get rid of most of the 'kernel service/superclass' code | Max Horn | |
svn-id: r53835 | |||
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-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-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-15 | COMMON: Add XMLParser::parseIntegerKey variant accepting a Common::String | Max Horn | |
Almost all places where we used XMLParser::parseIntegerKey were using it like this: XMLParser::parseIntegerKey(str.c_str(), ...) Since this makes the code harder to read, I overloaded the method to also accept Commmon::String directly. Also removed all .c_str() invocations where necessary. svn-id: r53479 | |||
2010-10-15 | SWORD25: Typo, cleanup | Max Horn | |
svn-id: r53478 | |||
2010-10-15 | SWORD25: Do not use Kernel::GetService directly anymore | Max Horn | |
svn-id: r53477 | |||
2010-10-15 | SWORD25: Adapted a few things to our code formatting conventions; translated ↵ | Max Horn | |
rest of graphicengine.h to german svn-id: r53476 | |||
2010-10-15 | SWORD25: Fix a few global constructor warnings | Max Horn | |
svn-id: r53475 | |||
2010-10-13 | SWORD25: Get rid of (deprecated) access to libpng io_ptr | Max Horn | |
Unfortunately I cannot test this, so watch our for regressions. svn-id: r53451 | |||
2010-10-13 | SWORD25: Fix empty loop body & conversion warnings | Max Horn | |
svn-id: r53450 |