aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
AgeCommit message (Collapse)Author
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
2010-10-13SWORD25: Hopefully fixed compilation under Mac OSX, Solaris and mingw32Filippos Karapetis
Taken from sound/softsynth/mt32/tables.cpp lines 28-41 (thanks LordHoto) svn-id: r53425
2010-10-13SWORD25: Include common/scummsys.h in places where USE_THEORADEC is usedFilippos Karapetis
svn-id: r53423
2010-10-13SWORD25: Renamed ENABLE_THEORADEC to USE_THEORADEC (like in configure)Filippos Karapetis
svn-id: r53418
2010-10-13SWORD25: Renamed ENABLE_THEORA to ENABLE_THEORADEC (like in configure)Filippos Karapetis
svn-id: r53417
2010-10-13SWORD25: Added a ENABLE_THEORA define inside fmv/theora_decoder.hFilippos 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-13SWORD25: Force cast to uint instead of unsigned long longSven 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
2010-10-13SWORD25: Silenced MSVC false positive about a potentially uninitialized variableFilippos Karapetis
svn-id: r53412
2010-10-13SWORD25: Remove the unused LUA compilerFilippos Karapetis
svn-id: r53411
2010-10-13SWORD25: Resolve ambigous write() call on 64 bit systemsSven Hesse
svn-id: r53410
2010-10-13SWORD25: Cast the pointer to unsigned long longSven Hesse
...Instead of to uint, which fails on my 64 bit system where pointers are 64 bit, but normal ints 32 bit wide. svn-id: r53409
2010-10-13SWORD25: Stop using class names as variable namesFilippos Karapetis
svn-id: r53408
2010-10-13SWORD25: Fixed signed/unsigned bugFilippos Karapetis
svn-id: r53407
2010-10-13SWORD25: Get rid of kernel/bs_stdint.hMax Horn
svn-id: r53405
2010-10-13SWORD25: Get rid of Kernel::GetMicroTicks()Max Horn
svn-id: r53403
2010-10-13SWORD25: Enforce code naming conventions in gfx/animation*Eugene Sandulenko
svn-id: r53393
2010-10-13SWORD25: Enforced code naming conventions in math/*Eugene Sandulenko
svn-id: r53392