aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
AgeCommit message (Collapse)Author
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
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)
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2011-12-19CINE: Add some comments to the MT-32 instrument code.Johannes Schickel
2011-12-11CINE: Make findNote behave like in the original.Johannes Schickel
This also reverts 42fd6975447b99f4a66ec411a62def2b3b49c5d6, which was wrong, since I misread the assembly. Ooops.
2011-12-11CINE: Fall back to AdLib, in case a user tries to use the MT-32 output with ↵Johannes Schickel
an GM device. The driver is really specific to the Roland MT-32 right now, since it uses MT-32 specific sysEx messages to setup instruments etc.
2011-12-11CINE: Make PC sound code thread safe, since the MIDI output might run the ↵Johannes Schickel
callback in an extra thread.
2011-12-11CINE: Make findNote behave a bit more like the original.Johannes Schickel
2011-12-11CINE: Implement MT-32 output driver.Johannes Schickel
The driver is based on Future Wars. I do not own Operation Stealth, thus I do not know whether it works fine for it.
2011-11-16LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)Strangerke
2011-11-16COMMON: Rename Common::set_to to Common::fill.Johannes Schickel
This makes the name match with the name of the STL function with the same behavior.
2011-11-02CINE: Fix warningsEugene Sandulenko
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
2011-10-09CINE: Remove unused variable 'di'Torbjörn Andersson
As far as I can tell, it converted the selection back to Y coordinate for no apparent reason.
2011-09-08CINE: Made some static data const.Johannes Schickel
2011-06-30JANITORIAL: Silence a couple of "variable set but not used" warnings.eriktorbjorn
2011-06-26CINE: Fixed compilation when DUMP_SCRIPTS is setFilippos Karapetis
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-14DETECTOR: Separate code for handling obsolete gameids from advanced detectorMax Horn
This includes a renaming of ADObsoleteGameID to Engine::ObsoleteGameID, and AdvancedDetector::findGameID now is Engines::findGameID. Doxygen comments were added or improved
2011-06-14DETECTOR: Merge ADParams into AdvancedMetaEngineMax Horn
2011-06-10CINE: Switch to alternate AdvancedMetaEngine, avoid ADParamsMax Horn
2011-06-10ENGINES: Change incorrect use of 'target' to 'gameid'Max Horn
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-06-02CINE: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
2011-05-22ENGINES: Further unify engine namesThierry Crozat
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered.
2011-05-16ENGINES: Unify engine namesThierry Crozat
This unifies the engine names in MetaEngine::getName() and the credits. In particular drop "Engine" or "engine" from the names when it was present and use expanded names in credits when the MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
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
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