aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
AgeCommit message (Collapse)Author
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
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.
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-19CINE: Init volume levels on startupdhewg
Add syncSoundSettings() to set the volume for kPlainSoundType and respect the global mute setting
2011-03-16CINE: Add Opcode 0x40 (o1_closePart) to Operation Stealth.D G Turner
This silences the warnings and a basic playtest has shown no issues.
2011-02-14CINE: Adapt to setPalette RGBA->RGB change.Johannes Schickel
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-01-11CINE: Fix for Operation Stealth assertion when caught by rat in Scene 8 ↵David Turner
Rats' Maze. This converts the assertion on selection of null background into a test and warning. svn-id: r55201
2011-01-11CINE: Extend "labyrinthCheat" console command to cover Operation Stealth ↵David Turner
Scene 8 (Rats' Maze). These arcade puzzles are hard, but solvable. This command is intended to aid debugging and rapid playtesting. svn-id: r55198
2011-01-10CINE: Modified Palette::rotateRight() function to cope with all positive ↵David Turner
values of rotation. This fixes the assert in Operation Stealth in Scene 7 when the Russians mount the Jetskis. svn-id: r55195
2011-01-09CINE: Added fix for Operation Stealth Loss of Inventory after Scene 6 ↵David Turner
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
2011-01-09CINE: Add console command "labyrinthCheat" to help with Operation Stealth ↵David Turner
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
2011-01-09CINE: Add FIXME about Operation Stealth Memory Leak.David Turner
svn-id: r55186
2011-01-02JANITORIAL: Suppress some useless includesArnaud Boutonné
svn-id: r55091
2010-12-31CINE: Fix CollisionPage Uninitialised Reads in Operation Stealth.David Turner
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
2010-12-31CINE: Close Memory Leak in PCSoundFxPlayer.David Turner
This leakage was reported by Valgrind while playing Operation Stealth. svn-id: r55070
2010-12-29CINE: Fix Memory Leak in PCSoundFxPlayer.David Turner
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
2010-12-29CINE: Fixed mismatched deallocation in ScriptVars reported by Valgrind.David Turner
svn-id: r55058
2010-12-07DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engineMax Horn
svn-id: r54815
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-07CINE: Added basic debugging console to engineDavid Turner
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
2010-10-23ALL: Fix indention (whitespaces -> tabs)Max Horn
svn-id: r53738
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-09-06CINE: Get rid of needless static variable.Johannes Schickel
svn-id: r52608
2010-08-09CINE: eliminate global variablesEugene Sandulenko
svn-id: r51937
2010-07-16CINE: Get rid of some unnecessary g_cine refsMax Horn
svn-id: r50945
2010-07-16CINE: Get rid of g_saveFileManMax Horn
svn-id: r50944
2010-06-24Fixed use of uninitialized variable.Johannes Schickel
svn-id: r50250
2010-06-15AdvancedDetector: Add new parameter directoryGlobs.Eugene Sandulenko
Without this parameter mass detection gave tons of false alarms. Use globbing for narrowing down the depth search. svn-id: r49788
2010-06-15CINE: Fix bug #2812694.Eugene Sandulenko
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
2010-06-15Split out detection tables for Cine engineEugene Sandulenko
svn-id: r49691
2010-06-14Extended advancedDetector with depth parameter.Eugene Sandulenko
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
2010-05-19Implement FR #2841445: FW: Restart doesn't workEugene Sandulenko
svn-id: r49096
2010-05-19Implement FR #2841494: FW: Pause doesn't workEugene Sandulenko
svn-id: r49095
2010-05-09Patch #2987340: GSoC: CINE: Hide cursor when viewing inventoryEugene Sandulenko
svn-id: r48994
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
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
2010-04-28CINE: Get rid of some global constructor usesMax Horn
svn-id: r48843
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-04-21CINE: Change Doxygen commands to match our CFCMax Horn
svn-id: r48764
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-23Cine: Fix regression in executePlayerInput (Caused slowness when clicking ↵Kari Salminen
when moving). The regression was caused by r47505. svn-id: r48373
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
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
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-02-08Get rid of the workaround for a g++ (code generation) bug on AMD64, by ↵Johannes Schickel
passing a reference of a Color instance to saturatedAddColor instead of a value. svn-id: r48006