aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
AgeCommit message (Collapse)Author
2010-10-19SWORD25: Enforce code naming conventions in gfx/image/imageloader*Eugene Sandulenko
svn-id: r53623
2010-10-19SWORD25: Fix engine exit when running without theoradecEugene Sandulenko
svn-id: r53622
2010-10-19SWORD25: Enforce code naming conventions in gfx/graphicengine*Eugene Sandulenko
svn-id: r53621
2010-10-19SWORD25: Properly implement GraphicEngine::fill()Eugene Sandulenko
Now all transitions and dimming out screen at exit dialog is supported. svn-id: r53620
2010-10-19SWORD25: Fix for Valgrind identified memory leakPaul Gilbert
svn-id: r53611
2010-10-19SWORD25: Simplify log listener code (and get rid of another global constructor)Max Horn
svn-id: r53610
2010-10-19SWORD25: Destroy singletons upon engine exit (untested, may lead to crash ↵Max Horn
upon exit) svn-id: r53609
2010-10-19SWORD25: Some code cleanupMax Horn
svn-id: r53608
2010-10-19SWORD25: Move BS_ServiceInfo to service_ids.h and turn it into a POD structMax Horn
svn-id: r53607
2010-10-19SWORD25: Optimize ReverseArray, move it to only place it is usedMax Horn
svn-id: r53606
2010-10-19SWORD25: Work around for bug in Mac OS X 10.2 SDKMax Horn
svn-id: r53604
2010-10-19SWORD25: Added operator= to Polygon classPaul Gilbert
This fixes a corruption where vertice arrays were being copied directly and destroyed prematurely svn-id: r53603
2010-10-19SWORD25: Fix cppcheck warnings in BS_Log::LogPrefixPaul 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-19SWORD25: Fix cppcheck warningTorbjörn Andersson
svn-id: r53600
2010-10-18SWORD25: 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-18SWORD25: 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-18SWORD25: 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-18SWORD25: Fix warningEugene Sandulenko
svn-id: r53569
2010-10-18SWORD25: Renamed Lua .c files to .cpp and make it compilableEugene Sandulenko
svn-id: r53568
2010-10-18SWORD25: Fix Valgrind reported uninitialised errorsPaul Gilbert
svn-id: r53565
2010-10-18SWORD25: Fix for Valgrind identified errorsPaul Gilbert
svn-id: r53563
2010-10-16SWORD25: Use C-style comments in C filesOri Avtalion
svn-id: r53538
2010-10-16SWORD25: Update svn keywordsOri Avtalion
svn-id: r53537
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-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-10-15Add 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-15COMMON: Add XMLParser::parseIntegerKey variant accepting a Common::StringMax 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-15SWORD25: Typo, cleanupMax Horn
svn-id: r53478
2010-10-15SWORD25: Do not use Kernel::GetService directly anymoreMax Horn
svn-id: r53477
2010-10-15SWORD25: Adapted a few things to our code formatting conventions; translated ↵Max Horn
rest of graphicengine.h to german svn-id: r53476
2010-10-15SWORD25: Fix a few global constructor warningsMax Horn
svn-id: r53475
2010-10-15SWORD25: Fix unloading of movies so the menu animation properly loopsPaul Gilbert
svn-id: r53474
2010-10-14SWORD25: Attempt to optimize movie renderingEugene 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-13SWORD25: Remove lua.c since it is not neededEugene Sandulenko
svn-id: r53452
2010-10-13SWORD25: Get rid of (deprecated) access to libpng io_ptrMax Horn
Unfortunately I cannot test this, so watch our for regressions. svn-id: r53451
2010-10-13SWORD25: Fix empty loop body & conversion warningsMax Horn
svn-id: r53450
2010-10-13SWORD25: 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-13SWORD25: Semi-colon cleanup.Johannes Schickel
svn-id: r53446
2010-10-13SWORD25: Check if _LogFile has been created before flushing.Torbjörn Andersson
svn-id: r53445
2010-10-13SWORD25: Don't compile lua.cMatthew 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-13Fixed ifdef. I'm too tired today :/Filippos Karapetis
svn-id: r53440
2010-10-13SWORD25: Hopefully fix compilation when libtheora is not presentFilippos Karapetis
svn-id: r53439
2010-10-13SWORD25: Use $(CXX) -x c to build C files (hopefully this fixes compilation)Filippos Karapetis
svn-id: r53438
2010-10-13SWORD25: Partially revert commit #53389 and add the custom rule for C filesFilippos 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-13SWORD25: Invoke parent's class copy constructorMax Horn
svn-id: r53432
2010-10-13SWORD25: Convert object registries to singletonsMax Horn
svn-id: r53431
2010-10-13SWORD25: Renamed getInstance() -> instance()Max Horn
svn-id: r53430
2010-10-13SWORD25: Oops, atan2() takes two argumentsFilippos Karapetis
svn-id: r53429
2010-10-13SWORD25: Don't even compile theora related code when that lib is not presentMax Horn
svn-id: r53428
2010-10-13SWORD25: Extended Mac OSX compilation fix for sqrtf and atan2fFilippos Karapetis
svn-id: r53426