Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2010-10-15 | Add doxygen comment for namespaces of several engines. | Max Horn | |
This is an empty template which ideally engine maintainers would update and complete with concrete information... svn-id: r53481 | |||
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-15 | SWORD25: Fix unloading of movies so the menu animation properly loops | Paul Gilbert | |
svn-id: r53474 | |||
2010-10-14 | SWORD25: Attempt to optimize movie rendering | Eugene Sandulenko | |
Current code makes about 5 blits of each frame which is a huge overhead. This code is an attempt to make that 1. Doesn't work yet as the rendering pipe keeps blitting invisible pictures. svn-id: r53459 | |||
2010-10-13 | SWORD25: Remove lua.c since it is not needed | Eugene Sandulenko | |
svn-id: r53452 | |||
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: Check if _LogFile has been created before flushing. | Torbjörn Andersson | |
svn-id: r53445 | |||
2010-10-13 | SWORD25: Don't compile lua.c | Matthew Hoops | |
lua.c has its own main function which we don't want. Compiling this in for me gives me a Lua console on startup (which probably isn't a good thing). svn-id: r53442 | |||
2010-10-13 | Fixed ifdef. I'm too tired today :/ | Filippos Karapetis | |
svn-id: r53440 | |||
2010-10-13 | SWORD25: Hopefully fix compilation when libtheora is not present | Filippos Karapetis | |
svn-id: r53439 | |||
2010-10-13 | SWORD25: Use $(CXX) -x c to build C files (hopefully this fixes compilation) | Filippos Karapetis | |
svn-id: r53438 | |||
2010-10-13 | SWORD25: Partially revert commit #53389 and add the custom rule for C files | Filippos Karapetis | |
again, so that LUA can be compiled. It's a hack but at least it allows compilation of C files for now svn-id: r53437 | |||
2010-10-13 | SWORD25: Invoke parent's class copy constructor | Max Horn | |
svn-id: r53432 | |||
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: Oops, atan2() takes two arguments | Filippos Karapetis | |
svn-id: r53429 | |||
2010-10-13 | SWORD25: Don't even compile theora related code when that lib is not present | Max Horn | |
svn-id: r53428 | |||
2010-10-13 | SWORD25: Extended Mac OSX compilation fix for sqrtf and atan2f | Filippos Karapetis | |
svn-id: r53426 | |||
2010-10-13 | SWORD25: Hopefully fixed compilation under Mac OSX, Solaris and mingw32 | Filippos Karapetis | |
Taken from sound/softsynth/mt32/tables.cpp lines 28-41 (thanks LordHoto) svn-id: r53425 | |||
2010-10-13 | SWORD25: Include common/scummsys.h in places where USE_THEORADEC is used | Filippos Karapetis | |
svn-id: r53423 | |||
2010-10-13 | SWORD25: Renamed ENABLE_THEORADEC to USE_THEORADEC (like in configure) | Filippos Karapetis | |
svn-id: r53418 | |||
2010-10-13 | SWORD25: Renamed ENABLE_THEORA to ENABLE_THEORADEC (like in configure) | Filippos Karapetis | |
svn-id: r53417 | |||
2010-10-13 | SWORD25: Added a ENABLE_THEORA define inside fmv/theora_decoder.h | Filippos 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-13 | SWORD25: Force cast to uint instead of unsigned long long | Sven Hesse | |
As per Fingolfin's request, because apparently there's no long long in the C++ standard; and ScummVM's hashmap needs uint. svn-id: r53413 |