aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise
AgeCommit message (Collapse)Author
2009-06-06Bugfix for display when multiple user waits follow each otherPaul Gilbert
svn-id: r41207
2009-06-05Tweaks to the code that pauses for a mouse press when displaying many text ↵Paul Gilbert
messages svn-id: r41196
2009-06-01Capitalize the C in CorpseJoost Peters
svn-id: r41110
2009-06-01change pathfinding variables from char to int8 to ensure signednessJoost Peters
svn-id: r41109
2009-06-01don't use FROM_LE_* macros on font data, as it already is in native endiannessJoost Peters
svn-id: r41108
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-06-01Disabled an old script interpreter hackPaul Gilbert
svn-id: r41099
2009-06-01Removed some out of date TODO'sPaul Gilbert
svn-id: r41098
2009-06-01Replaced loadShort/saveShort functions with applicable endian macrosPaul Gilbert
svn-id: r41097
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