aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise
AgeCommit message (Collapse)Author
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-24Removed the line feed workaround, and added explicit int16 castings to the ↵Paul Gilbert
FROM_LE_16 macros in the font system - this fixes a bug in the engine, allowing it to properly handle all non-printable characters correctly svn-id: r40858
2009-05-24Fixed the display glitch associated with the animated handle in the engine roomPaul Gilbert
svn-id: r40851
2009-05-19COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are ↵Max Horn
deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses) svn-id: r40725
2009-05-19Improved Common::Serializer in several ways:Max Horn
* Added support versioned serialization * Added a convenience API for handling 'magic IDs' transparently * Exposed the err()/clearErr() methods of the underlying streams * Added a basic unit test for versioned loading (more should be added, in particular for saving) * Removed the syncString(char *, uint16) alias for syncBytes(byte *buf, uint32 size) svn-id: r40723
2009-05-17Endian fix in script data accessPaul Gilbert
svn-id: r40641
2009-05-17Properly named the script structure offset field, and fixed an endian bugPaul Gilbert
svn-id: r40634
2009-05-17Removed the obsolete game Id list - it seems redundant, and stops the ↵Paul Gilbert
warning message coming up about Target 'cruise' upgraded to 'cruise' svn-id: r40633
2009-05-17Properly named the dialog menu item 'selected' fieldPaul Gilbert
svn-id: r40632
2009-05-16Added the font character lookup table for the German version of the gamePaul Gilbert
svn-id: r40621
2009-05-16Added a workaround for a discrepancy in the English version - one of the ↵Paul Gilbert
long messages had a LF in the middle of a word svn-id: r40618
2009-05-16Corrected mixed up parameter usage in the LoadFile methodPaul Gilbert
svn-id: r40617
2009-05-16Replaced value with proper constant, and named a previously un-named ↵Paul Gilbert
structure field svn-id: r40616
2009-05-16Fixed incorrect pathfinding data entry being deleted when a temporary actor ↵Paul Gilbert
animation is removed svn-id: r40615
2009-05-15Bugfix to saving the width of a cached background area - the previous code ↵Paul Gilbert
was, for some reason, saving the width divided by 2.. this was causing corruptions during reload for cached areas with an odd horizontal width svn-id: r40595
2009-05-15Corrected saving/loading of cached background areasPaul Gilbert
svn-id: r40594
2009-05-15Bugfix to prevent off-screen areas from being restored by restoreBackgroundPaul Gilbert
svn-id: r40593
2009-05-15Yet another strcpy() where source and destination may be the same...Torbjörn Andersson
svn-id: r40591
2009-05-15Fixes for the backupBackground method when X < 0Paul Gilbert
svn-id: r40590
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-15Removed standard library includes - they were marked with a FIXME to remove, ↵Paul Gilbert
and the current compilation under both MSVC8 and MinGW doesn't seem to need them. svn-id: r40586
2009-05-15Fixed a memory leak in the new unified decodeGfxUnified decoder methodPaul Gilbert
svn-id: r40585
2009-05-15Converted some code from fopen to Common::File - it's not currently used, ↵Paul Gilbert
but just in case it's needed in the future svn-id: r40584
2009-05-13Fix some variable may be used uninitialized warnings.Johannes Schickel
svn-id: r40528
2009-05-13Reintroduced language string lists as a fallback for DELPHINE.LNG, since not ↵Paul Gilbert
all versions have this file svn-id: r40522
2009-05-13Moved the construction of _sound and _music to the constructor, in case the ↵Paul Gilbert
run() method exits before initiaze is called svn-id: r40520
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-12Fixed what looks like an obvious error in loadSong() that Valgrind caught.Torbjörn Andersson
svn-id: r40504
2009-05-12Changed the hardcoded 'Parler de..' string in the conversation dialog to use ↵Paul Gilbert
the correct language string svn-id: r40477
2009-05-07Commit of patch submitted by Jaime Abraham Corrales Gonzalez, with minor ↵Paul Gilbert
formatting changes svn-id: r40368
2009-05-05Added detection entry for the German 16-colour version, which was included onTorbjörn Andersson
the "Classic Collection" CD I just bought. svn-id: r40330
2009-04-18Implemented the 'Start Again' menu option to properly restart the gamePaul Gilbert
svn-id: r39981
2009-04-18Changed the 'Exit' game menu option to exit gracefully, rather than using exit()Paul Gilbert
svn-id: r39980
2009-04-18Added support for the global menu save/loading, and changed the savegame ↵Paul Gilbert
format to store the savegame name and thumbnail svn-id: r39979
2009-04-05Apart from a "const", the volume() and getVolume() function were identical.Torbjörn Andersson
Removed the volume() function. svn-id: r39868
2009-04-05Implemented many of the remaining library functionsPaul Gilbert
svn-id: r39857
2009-04-05Created stub manager class for sound effectsPaul Gilbert
svn-id: r39856
2009-04-04Replaced all occurrences of the constant '257' with the existing constant ↵Paul Gilbert
'NUM_FILE_ENTRIES' svn-id: r39824
2009-04-03Fixed incorrect palette range usage so room fade-ins happen correctlyPaul Gilbert
svn-id: r39822
2009-04-01Fix compilation via manually implementing strToUpper, instead of relying on ↵Johannes Schickel
strupr. svn-id: r39791
2009-04-01Fix warnings.Johannes Schickel
svn-id: r39790
2009-04-01Laid the basics for music handlingPaul Gilbert
svn-id: r39788
2009-04-01Laid the basics for music handlingPaul Gilbert
svn-id: r39786
2009-04-01Replaced resource type numbers with existing constantsPaul Gilbert
svn-id: r39785
2009-03-26Corrected the positions of two library functions in the library function listPaul Gilbert
svn-id: r39699
2009-03-24CRUISE: Fixed bug when loading backgroundIncrustStruct::saveWidth (don't ↵Max Horn
divide by 2, rather *multiply* by 2); also some cleanup svn-id: r39657
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