aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/function.cpp
AgeCommit message (Collapse)Author
2019-10-23CRUISE: Correct Parameter Sanity Checks in Several FunctionsD G Turner
This was flagged by GCC -Wlogical-op as the inverted logical operation was causing these checks to always return true.
2014-06-10CRUISE: Remove some useless variables, use a boolean for a variableStrangerke
2014-06-09CRUISE: Initialize some variablesStrangerke
2014-06-09CRUISE: Initialize some variables in the contractor, change some variables ↵Strangerke
to boolean
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-06CRUISE: Disable a bit more efficiently some code in Op_Random() and Op_PlayFx()Strangerke
2014-06-05CRUISE: Remove useless code in addAnimation()Strangerke
2014-06-01CRUISE: Reduce the scope of variables used in the for loopsStrangerke
2014-05-31CRUISE: Add a couple of safeguards to avoid potential division by zeroStrangerke
2014-05-31CRUISE: Replace some more strcpyStrangerke
2014-05-31CRUISE: Add some more safeguard in opcode functionsStrangerke
2014-03-30ALL: Resolve multiple clang warningsMax Horn
2014-02-18CRUISE: Make GPL headers consistent in themselves.Johannes Schickel
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-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
2010-11-07LURE: Convert printf to debug/warningMax Horn
Exception: The "decompiler" code still uses fopen/fprintf etc. but it is disabled by default, hence I am ignoring it for now. svn-id: r54108
2010-10-15CRUISE: Replace some strncpy with strlcpy.Johannes Schickel
svn-id: r53495
2010-10-15CRUISE: Fix some code analysis warnings (bug #3087829)Eugene Sandulenko
svn-id: r53472
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-10Further memory leak fixesPaul Gilbert
svn-id: r44861
2009-10-09Set up a basic tracing system for all memory allocations to help track down ↵Paul Gilbert
memory leaks svn-id: r44808
2009-08-15Added Dirty Rect handling functionalityPaul Gilbert
svn-id: r43406
2009-07-07Removed the shooting workaround delay - the overlay number can vary, so it ↵Paul Gilbert
isn't a reliable way of identifying the specific message svn-id: r42205
2009-07-07Fix to the return values of the Op_GetMouseButton library function now ↵Paul Gilbert
allows the game's "Fisticuffs path" to work properly svn-id: r42199
2009-07-07Added workaround to briefly pause when displaying the first message of the ↵Paul Gilbert
shooting cut-scene, so it can be read properly svn-id: r42198
2009-07-06Bugfix for node enabling/disabling, which was previously allowing the player ↵Paul Gilbert
to walk through closed doors and into the walls svn-id: r42162
2009-06-24Silence unsued variables warnings.Johannes Schickel
svn-id: r41827
2009-06-23Bugfixes to keep sound effects to channel #4 like the original (it ignores ↵Paul Gilbert
the channel parameter to the given library routine) svn-id: r41787
2009-06-22Removed redundant variation of the routine to play sound effectsPaul Gilbert
svn-id: r41763
2009-06-22Implemented the Op_SetVolume method like the original, which simply set a ↵Paul Gilbert
dummy variable and never actually changed the volume svn-id: r41748
2009-06-21Minor fixes to the individual note playing codePaul Gilbert
svn-id: r41726
2009-06-21Bugfixes to pre-loading and handling of resources such as sound filesPaul Gilbert
svn-id: r41724
2009-06-20Implemented the library function Op_SongExistPaul Gilbert
svn-id: r41703
2009-06-14Beginnings of music support for Cruise, based on the cine engine sound code ↵Paul Gilbert
(note that the music played isn't yet correct, though) svn-id: r41506
2009-06-10Added variable to savegame format so that savegames can be correctly loaded ↵Paul Gilbert
from the ScummVM launcher svn-id: r41423
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-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-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-16Fixed incorrect pathfinding data entry being deleted when a temporary actor ↵Paul Gilbert
animation is removed svn-id: r40615
2009-05-15Converted various printf statements to use debug, warning, and error.Paul Gilbert
svn-id: r40588
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-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-01Laid the basics for music handlingPaul Gilbert
svn-id: r39786