aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/dataLoader.cpp
AgeCommit message (Collapse)Author
2014-06-08CRUISE: Directly use assert.Johannes Schickel
This fixes an ASSERT macro redefinition when compiling the Symbian port. See bug #6622 "SYMBIAN: CRUISE: warning: `ASSERT' redefined".
2014-06-07CRUISE: Add a couple of checks to avoid the use of negative indices in ↵Strangerke
arrays. Some minor rework in the data Loader
2014-06-01CRUISE: Reduce the scope of a variable, remove a useless incrementStrangerke
2014-06-01CRUISE: Reduce the scope of variables used in the for loopsStrangerke
2014-05-31CRUISE: Replace some more strcpyStrangerke
2014-02-18CRUISE: Make GPL headers consistent in themselves.Johannes Schickel
2013-04-26CRUISE: Plug memory lek. CID 1003917Eugene Sandulenko
2013-04-26CRUISE: Plug memory leak. CID 1003918Eugene Sandulenko
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-12-27CRUISE: Fix cppcheck warning about possible NULL pointer use.Torbjörn Andersson
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-10-24ALL: Fix various typos (patch #3093266)Max Horn
svn-id: r53762
2010-03-10Silenced some harmless cppcheck warnings about unreachable code after a return.Torbjörn Andersson
In this case, it was always a break after a return in a switch case. There are similar cases which cppcheck didn't detect, and a couple of cases where we have a break after a continue in a switch case (where the continue refers to an outer loop), but I didn't touch those. Not yet, at least. svn-id: r48218
2009-10-10Further memory leak fixesPaul Gilbert
svn-id: r44861
2009-10-09Fixed all memory leaks as far as the initial title screenPaul Gilbert
svn-id: r44814
2009-10-09Set up a basic tracing system for all memory allocations to help track down ↵Paul Gilbert
memory leaks svn-id: r44808
2009-09-24Reverted parts of revisions #44292, #44293, #44295 and #44296, to prevent ↵Filippos Karapetis
warnings and issues in compilers which don't support NORETURN svn-id: r44312
2009-09-24Changed createResFileEntry() to error out againFilippos Karapetis
svn-id: r44301
2009-09-24CRUISE: Fixed some warnings about unreachable codeFilippos Karapetis
svn-id: r44293
2009-07-25use READ_UINT16 macroJoost Peters
svn-id: r42780
2009-06-21Bugfixes to pre-loading and handling of resources such as sound filesPaul Gilbert
svn-id: r41724
2009-06-01Change flip[Short|Long] functions to bigEndian[Short|Long]ToNative to ↵Joost Peters
clarify that flipping only occurs on LE systems + some related cleanup. svn-id: r41107
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-24Fixed the display glitch associated with the animated handle in the engine roomPaul Gilbert
svn-id: r40851
2009-05-16Corrected mixed up parameter usage in the LoadFile methodPaul Gilbert
svn-id: r40617
2009-05-15Converted various printf statements to use debug, warning, and error.Paul Gilbert
svn-id: r40588
2009-05-15Bugfix for loadSetEntry to ensure graphics get allocated enough space. It's ↵Paul Gilbert
not exactly the way the original did it, but should suffice to ensure grahpics have sufficient space svn-id: r40587
2009-05-15Fixed a memory leak in the new unified decodeGfxUnified decoder methodPaul Gilbert
svn-id: r40585
2009-05-13Fix some variable may be used uninitialized warnings.Johannes Schickel
svn-id: r40528
2009-05-12Surely this function is supposed to return -2 when the memory allocationTorbjörn Andersson
*fails*, not when it succeeds...? svn-id: r40510
2009-05-12When source and destination are the same, there is no need to strcpy(). In factTorbjörn Andersson
it may even be harmful when source and destination overlap. (This happens when loading savegames.) svn-id: r40508
2009-05-07Commit of patch submitted by Jaime Abraham Corrales Gonzalez, with minor ↵Paul Gilbert
formatting changes svn-id: r40368
2009-04-04Replaced all occurrences of the constant '257' with the existing constant ↵Paul Gilbert
'NUM_FILE_ENTRIES' svn-id: r39824
2009-04-01Replaced resource type numbers with existing constantsPaul Gilbert
svn-id: r39785
2009-03-22Bug fixes for handling 5-bit layered sprites correctly - this fixes the ↵Paul Gilbert
black boxes appearing in the first room during the fade-in svn-id: r39604
2009-03-16Code formatting, added further constant references, and corrected method ↵Paul Gilbert
signatures svn-id: r39445
2009-01-16Code formatting fixes, automatically performed by astyleMax Horn
svn-id: r35870
2008-09-21Patch #2054467: CRUISE: 64bits fixesEugene Sandulenko
svn-id: r34622
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-12-25Bunch of gfx fixVincent Hamm
svn-id: r29986
2007-12-25Fix cell sortingVincent Hamm
Fix palette loading svn-id: r29985
2007-12-24Fix save/loadingVincent Hamm
svn-id: r29977
2007-12-24Fix sprite mode 5Vincent Hamm
Fix backgroundIncrust system svn-id: r29970
2007-12-24-Fade in/fade outVincent Hamm
-Implement background mode 5 svn-id: r29968
2007-11-11Menu display fixVincent Hamm
Linked objects implementation (barman) The gameplay is now kind of working and it is possible to play at least the first part of the game svn-id: r29478
2007-11-10-Cleanup stringsVincent Hamm
-Fix load saves from original interpreter -Add all background merge functions svn-id: r29467