aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
AgeCommit message (Collapse)Author
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
2010-02-08According to Buddha^ it should be fine to calculate (and set) the AMIGA dim ↵Johannes Schickel
palette in Palette::setGlobalOSystemPalette. svn-id: r48005
2010-01-31Fix return of a reference to a temporary object introduced with r47766. ↵Johannes Schickel
(Hopefully this "workaround" will work also for Chrilith's compiler ;-). svn-id: r47771
2010-01-31Slight fixes to comply with our coding guidelines.Johannes Schickel
svn-id: r47770
2010-01-31Prevent my compiler to crash and object copy hopefully it doesn't break ↵Chris Apers
something svn-id: r47766
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-25Hopefully fix highlight background color in PC versions of CinE games.Johannes Schickel
svn-id: r47556
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-24Cine: executePlayerInput: Operation Stealth: Fix target object name not ↵Kari Salminen
disappearing when passing over an empty area with a verb already chosen. svn-id: r47519
2010-01-24Cine: executePlayerInput: Fix broken Y-movement in Operation Stealth (D'oh! ↵Kari Salminen
Copy-pasted X to where Y was meant :-P). - Hopefully NOW things should work without r33872! svn-id: r47518
2010-01-24Cine: executePlayerInput: Add TODO about investigating why some buttons ↵Kari Salminen
don't work currently. svn-id: r47517
2010-01-24Cine: executePlayerInput: Revert r33872 as things should work without it now.Kari Salminen
With the latest changes to executePlayerInput we should now be able to free the girl at the bottom of the ocean without the r33872. The commit log from r33872 was: "Fix for bugging moving at the bottom of the ocean when trying to free the girl from the ropes and swimming to the surface. Some global variables related to mouse position weren't being updated in executePlayerInput, now they are and things seem to work. Also enables moving in the labyrinth arcade sequence at the palace." svn-id: r47516
2010-01-24Cine: executePlayerInput: Add makeActionMenu-part to keyboard handling and a ↵Kari Salminen
couple of TODOs for Operation Stealth. - NOTE: This doesn't seem to work correctly yet. My current guess is that it has to do with how some keyboard events are handled in cine/main_loop.cpp's processEvent-function and some in cine/various.cpp's executePlayerInput. svn-id: r47515
2010-01-24Cine: executePlayerInput: Implement moving using keyboard for Operation Stealth.Kari Salminen
svn-id: r47513