Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2010-10-13 | SWORD25: Worked around crash in options dialog. | Torbjörn Andersson | |
I don't really know if this is correct, but aesthetically it goes well with how the scale factor is treated. svn-id: r53447 | |||
2010-10-13 | SWORD25: Semi-colon cleanup. | Johannes Schickel | |
svn-id: r53446 | |||
2010-10-13 | SWORD25: Convert object registries to singletons | Max Horn | |
svn-id: r53431 | |||
2010-10-13 | SWORD25: Renamed getInstance() -> instance() | Max Horn | |
svn-id: r53430 | |||
2010-10-13 | SWORD25: Silenced MSVC false positive about a potentially uninitialized variable | Filippos Karapetis | |
svn-id: r53412 | |||
2010-10-13 | SWORD25: Stop using class names as variable names | Filippos Karapetis | |
svn-id: r53408 | |||
2010-10-13 | SWORD25: Get rid of kernel/bs_stdint.h | Max Horn | |
svn-id: r53405 | |||
2010-10-13 | SWORD25: Get rid of Kernel::GetMicroTicks() | Max Horn | |
svn-id: r53403 | |||
2010-10-13 | SWORD25: Enforce code naming conventions in gfx/animation* | Eugene Sandulenko | |
svn-id: r53393 | |||
2010-10-13 | SWORD25: Enforced code naming conventions in math/* | Eugene Sandulenko | |
svn-id: r53392 | |||
2010-10-13 | SWORD25: Enforced code naming conventions in script/* | Eugene Sandulenko | |
svn-id: r53391 | |||
2010-10-13 | SWORD25: Enforced code naming conventions in sfx/ and reservice.h | Eugene Sandulenko | |
svn-id: r53390 | |||
2010-10-13 | SWORD25: Add path to art.h include | Eugene Sandulenko | |
svn-id: r53386 | |||
2010-10-13 | SWORD25: Stop polluting global namespace | Eugene Sandulenko | |
svn-id: r53385 |