aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise
AgeCommit message (Collapse)Author
2009-06-01Removed the remaining two FIXME's - my analysis of the data indicates no ↵Paul Gilbert
issues with structure packing, and all multi-byte data accesses are wrapped using loadShort/saveShort, which is endian safe svn-id: r41096
2009-06-01Converted the saving of perso structure data to proper endian-safe serialisationPaul Gilbert
svn-id: r41093
2009-05-31Slowed down the game to match the original, and introduced the ability to ↵Paul Gilbert
alter game speed using the keypad +/- keys svn-id: r41064
2009-05-31Merged the wait for mouse press event loop into the main loop, fixing ↵Paul Gilbert
animation glitch and enabling pausing, player menu, and exiting the game when waiting for a mouse press svn-id: r41063
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-30Bugfix to keep ScummVM responsive even when the displayOn variable is set to ↵Paul Gilbert
false svn-id: r41017
2009-05-29Changed SaveFileManager methods to take Common::String params (instead of ↵Max Horn
char pointers) svn-id: r41000
2009-05-29Reduced the word spacing width by one pixel to precisely match the original gamePaul Gilbert
svn-id: r40987
2009-05-29Bugfix for rendering text that caused corruption when the width was an odd ↵Paul Gilbert
number and a line was completely filled svn-id: r40985
2009-05-29Bugfix for screen redrawing when waiting for mouse click - this fixes a ↵Paul Gilbert
blank screen at 3:00pm svn-id: r40981
2009-05-28Fix for pathfinding bug that could occasionally stop the player from movingPaul Gilbert
svn-id: r40960
2009-05-28Replaced the original implementation of walk box handling with a cleaner, ↵Paul Gilbert
structure array based one svn-id: r40954
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