Age | Commit message (Collapse) | Author |
|
Some backends may break as I only compiled SDL
|
|
|
|
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
|
|
Found by GCC 4.6's -Wunused-but-set-variable
|
|
Add syncSoundSettings() to set the volume for kPlainSoundType and
respect the global mute setting
|
|
This silences the warnings and a basic playtest has shown no issues.
|
|
|
|
svn-id: r55850
|
|
svn-id: r55818
|
|
svn-id: r55806
|
|
Rats' Maze.
This converts the assertion on selection of null background into a test and warning.
svn-id: r55201
|
|
Scene 8 (Rats' Maze).
These arcade puzzles are hard, but solvable. This command is intended to aid debugging and rapid playtesting.
svn-id: r55198
|
|
values of rotation.
This fixes the assert in Operation Stealth in Scene 7 when the Russians mount the Jetskis.
svn-id: r55195
|
|
Labyrinth Maze.
It is now possible to open the office safe and get the envelope, though the engine now asserts with a palette issue in the next scene as the Russians board the Jetskis.
svn-id: r55194
|
|
Playtesting.
This command activates a cheat for the Operation Stealth Scene 6 arcade section i.e. Chased by Guards in Labyrinths in Otto's Mansion. These puzzles are quite hard and thus discourage playtesting beyond this point, especially since it is not possible to save (This may be a bug compared to the original interpreter).
Also, added extra debug output to aid script debug output.
svn-id: r55189
|
|
svn-id: r55186
|
|
svn-id: r55091
|
|
The collisionPage is only initialised with values when loadCtFw() / loadCtOS() is called.
However, currently during the display of the Delphine Software Logo in Operation Stealth,
checkCollision() is called, but the collisionPage has not been loaded.
To fix the invalid reads, have added code to set the page to zero after allocation.
Shouldn't cause any issues to FW as this will load over the top anyway.
Have also added debug output around this behaviour so that if this is not sufficient i.e. a collision page load is actually missing, then this will aid investigation.
svn-id: r55071
|
|
This leakage was reported by Valgrind while playing Operation Stealth.
svn-id: r55070
|
|
Found this using Valgrind when loading a Future Wars savegame from the launcher.
Occurs since the load() method called stop() but this did not unload() the allocated playing
resource data unless it was still playing. Fixed in stop() by calling unload() in all cases.
svn-id: r55059
|
|
svn-id: r55058
|
|
svn-id: r54815
|
|
svn-id: r54385
|
|
Since CINE uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands.
svn-id: r54115
|
|
svn-id: r53738
|
|
svn-id: r53484
|
|
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.
svn-id: r52791
|
|
svn-id: r52608
|
|
svn-id: r51937
|
|
svn-id: r50945
|
|
svn-id: r50944
|
|
svn-id: r50250
|
|
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.
svn-id: r49788
|
|
Bug #2812694: "CINE: Operation Stealth german crash". Our code
assumed that there exists only 256-color version which is not
the case for German version. Added code to store background
format. Old savegames are broken and could not be fixed.
Bumped savefile version.
svn-id: r49699
|
|
svn-id: r49691
|
|
Now AD can search nested directories. By default it is turned off,
but there is new parameter to ADParameters struct. Usually value
of 2 is good enough for all purposes.
svn-id: r49653
|
|
svn-id: r49096
|
|
svn-id: r49095
|
|
svn-id: r48994
|
|
svn-id: r48935
|
|
These functions are only used internally be Engine subclasses, and
by moving them to a separate header we can reduce indirect header
dependencies.
svn-id: r48934
|
|
svn-id: r48843
|
|
svn-id: r48821
|
|
svn-id: r48764
|
|
svn-id: r48637
|
|
when moving).
The regression was caused by r47505.
svn-id: r48373
|
|
svn-id: r48287
|
|
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.
svn-id: r48282
|
|
svn-id: r48279
|
|
passing a reference of a Color instance to saturatedAddColor instead of a value.
svn-id: r48006
|