aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-15SCUMM/FM-TOWNS: improve japanese font drawing in SCUMM 3 gamesFlorian Kagerer
svn-id: r53510
2010-10-15SWORD2: Add assert()s prompted by code analysis warnings.Torbjörn Andersson
See bug #3087857. svn-id: r53509
2010-10-15COMMON: Made some constructors explicit, where we wouldn't really like ↵Johannes Schickel
implicit conversion. svn-id: r53508
2010-10-15COMMON: Extend workaround in HashMap code for sgi IRIX MIPSpro to also apply ↵Johannes Schickel
for Intel's C++ compiler. svn-id: r53507
2010-10-15COMMON: Revert attempt to silence MSVC warning in Common::gcd.Johannes Schickel
svn-id: r53506
2010-10-15M4: Fixed OP_NOT and OP_COMP behavior again (thanks wjp)Filippos Karapetis
svn-id: r53505
2010-10-15SCI: Changed the check for vertex_min into an assert (thanks wjp)Filippos Karapetis
svn-id: r53504
2010-10-15AGOS: Fixed code analysis warnings - bug #3087828Filippos Karapetis
svn-id: r53503
2010-10-15TOON: Fixed code analysis warning - bug #3087867Filippos Karapetis
svn-id: r53502
2010-10-15M4: Fixed code analysis warnings - bug #3087845Filippos Karapetis
svn-id: r53500
2010-10-15QUEEN: Fixed code analysis warning - bug #3087851Filippos Karapetis
svn-id: r53499
2010-10-15SCI: Fixed access to dest in kTextSize() (thanks LordHoto)Filippos Karapetis
svn-id: r53498
2010-10-15COMMON: Silence gcc warning introduced with r53496.Johannes Schickel
svn-id: r53497
2010-10-15COMMON: Attempt to silence MSVC warning in Common::gcd.Johannes Schickel
svn-id: r53496
2010-10-15CRUISE: Replace some strncpy with strlcpy.Johannes Schickel
svn-id: r53495
2010-10-15KYRA: Fix valid warnings of bug #3087837 "KYRA: Code analysis warnings".Johannes Schickel
svn-id: r53494
2010-10-15GRAPHICS: Fix code analysis warningsSven Hesse
See bug report #3087917 svn-id: r53493
2010-10-15GOB: Properly fixing the captureCounter code analysis warningSven Hesse
svn-id: r53492
2010-10-15GOB: Remove the now useless helper.hSven Hesse
svn-id: r53491
2010-10-15GOB: Remove strncpy0()Sven Hesse
Replacing it (and some strncpy + manual terminating) with Common::strlcpy() svn-id: r53490
2010-10-15VIDEO : Corrections to QDM2 codec for bug #3087917 "Code Analysis Warnings"David Turner
The first correction was to use a temporary variable to remove the possibility of a memory leak when using realloc. The second correction was to remove the gain variable from QDM2Stream::qdm2_calculate_fft() which has always evaluated to 1.0f and so has no effect. svn-id: r53489
2010-10-15SWORD1: Fixed bug #3087855 - "SWORD1: Code analysis warnings"Filippos Karapetis
svn-id: r53488
2010-10-15MADE: Fixed bug #3087849 - "MADE: Code analysis warnings"Filippos Karapetis
svn-id: r53487
2010-10-15SAGA: Added sanity checks for realloc() calls - bug report #3087852Filippos Karapetis
svn-id: r53486
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-10-15Reverted revision 53456, as requested.Travis Howell
svn-id: r53483
2010-10-15SCI: Fixed code bugs from bug #3087872 - "SCI: Code analysis warnings"Filippos Karapetis
svn-id: r53482
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: Move XMLParser method impls to .cpp file; make skipComments non-virtualMax Horn
svn-id: r53480
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-15DRASCULA: Fix some code analysis warnings (bug #3087830)Eugene Sandulenko
svn-id: r53473
2010-10-15CRUISE: Fix some code analysis warnings (bug #3087829)Eugene Sandulenko
svn-id: r53472
2010-10-15TINSEL: Fix for #3087863 - Code analysis warningsPaul Gilbert
svn-id: r53471
2010-10-15AGI: Fix some code analysis warnings (bug #3087825)Eugene Sandulenko
svn-id: r53470
2010-10-15LURE: Fix for #3087842 - Code analysis warningsPaul Gilbert
Only the warning for res_struct.cpp is valid to be fixed svn-id: r53469
2010-10-15HUGO: Merge engine and hugo filesArnaud Boutonné
- Move initNewScreenDisplay to display.cpp - Merge engine.cpp and hugo.cpp svn-id: r53468
2010-10-15SWORD2: Fix some code analysis warnings (bug #3087857)Torbjörn Andersson
svn-id: r53467
2010-10-15HUGO: Fix NULL pointer dereferencingArnaud Boutonné
svn-id: r53466
2010-10-15Bug #3087858: fixed null pointer dereferencingVladimir Menshakov
svn-id: r53465
2010-10-15GOB: Fix Code analysis warningsSven Hesse
See bug report #3087831 svn-id: r53464
2010-10-15MACOSX: Fix make bundle when compiling with libpngMatthew Hoops
svn-id: r53463
2010-10-14PSP: made image in viewer movable by pushing nub continuouslyYotam Barnoy
svn-id: r53462
2010-10-14TOON: Fixed the Spanish special characters.Jordi Vilalta Prat
- Wrap the text to font mapping in a function to give more flexibility. - Add mapping of the opening exclamation and question marks to the common mapping array. - Added a special case for a character already mapped incorrectly in the original interpreter, which seems to conflict with what's required by the other languages. svn-id: r53461
2010-10-14PSP: made image viewer reset to the first image between engine loadsYotam Barnoy
svn-id: r53460