Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2010-10-13 | SWORD25: Silenced MSVC false positive about a potentially uninitialized variable | Filippos Karapetis | |
svn-id: r53412 | |||
2010-10-13 | SWORD25: Remove the unused LUA compiler | Filippos Karapetis | |
svn-id: r53411 | |||
2010-10-13 | SWORD25: Resolve ambigous write() call on 64 bit systems | Sven Hesse | |
svn-id: r53410 | |||
2010-10-13 | SWORD25: Cast the pointer to unsigned long long | Sven 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-13 | SWORD25: Stop using class names as variable names | Filippos Karapetis | |
svn-id: r53408 | |||
2010-10-13 | SWORD25: Fixed signed/unsigned bug | Filippos Karapetis | |
svn-id: r53407 | |||
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 |