aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/cine.cpp
AgeCommit message (Collapse)Author
2011-03-19CINE: Init volume levels on startupdhewg
Add syncSoundSettings() to set the volume for kPlainSoundType and respect the global mute setting
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-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-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-05-19Implement FR #2841445: FW: Restart doesn't workEugene Sandulenko
svn-id: r49096
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-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-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ company. Check this for reference: http://en.wikipedia.org/wiki/Ad_Lib,_Inc. http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card) This commit does not touch "adlib" and "ADLIB" uses! Also it does not update all the SCUMM detection entries, which still use "Adlib". svn-id: r47279
2009-08-25Fix for bugs #2843081 "FW: Assert starting demo (regression)" and #2843080 ↵Johannes Schickel
"OS: Assert starting demo (regression)". svn-id: r43743
2009-08-03Fix for #2824798 (FW: crash when clicking "load" in the GUI):Kari Salminen
- Fixed CineMetaEngine::listSaves(const char *target) which was broken. - Also added explicit initialization of savegame descriptions to empty strings for safety reasons (e.g. arrays on stack aren't initialized to zero). - Added explicit trailing zero setting to savegame descriptions (Previously using GMM you could write a description of length >= 20 that had no trailing zero when written to description file (e.g. fw.dir)). svn-id: r43027
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-05-11Fix bug #2055836: "FW: Music is not restarted when loading a saved game"Eugene Sandulenko
svn-id: r40465
2009-03-01Engines: Fused several init&go methods into a single run methodMax Horn
svn-id: r39003
2009-01-30Renamed SpecialDebugLevel to DebugChannelMax Horn
svn-id: r36142
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-11-14Committed my patch #2123680 "SDL: Backend transaction / rollback support".Johannes Schickel
svn-id: r35062
2008-11-06Switched various Engine APIs to use Common::ErrorMax Horn
svn-id: r34916
2008-10-06Added new type Engine::Feature; pushed down some #include dependenciesMax Horn
svn-id: r34755
2008-09-03Moved check for shouldRTL() from engines to scummvm_mainMax Horn
svn-id: r34310
2008-08-16Merged revisions ↵Christopher Page
33777,33781-33788,33790,33792-33793,33795,33797,33805,33807-33812,33815-33817,33819,33822,33826,33829,33837,33839,33844,33847,33858-33861,33864,33871-33873,33875,33877-33879,33886,33889-33892,33894,33896,33900,33902-33903,33919 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33924
2008-08-11Moved fontParamTable inside TextHandler struct and made it a constant size ↵Kari Salminen
as that's what it is (No need for using malloc & free anymore). Previously we would've tried to free an array that wasn't heap-allocated in freePoldatDat (Freeing fontParamTable_standard or fontParamTable_alt), that's fixed. svn-id: r33786
2008-08-11Changed palPtr from a pointer to a Common::Array named palArray. Removed ↵Kari Salminen
palEntriesCount variable as it's now equivalent to palArray.size(). svn-id: r33785
2008-08-11Removed textDataPtr pointer as it's not used beyond the loadTextData ↵Kari Salminen
function. Reworked loadTextData a bit so there are no two loops for the same thing (Also renamed some of the local variables). svn-id: r33784
2008-08-11Changed partBuffer from a pointer to a Common::Array. Removed ↵Kari Salminen
numElementInPart variable as it's now equivalent with partBuffer.size(). svn-id: r33783
2008-08-10Merged revisions ↵Christopher Page
33719,33721-33723,33725-33727,33729-33730,33733,33736,33742,33754,33756,33758,33761,33763,33766 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33769
2008-08-09Converted zoneData and zoneQuery tables from plain array types to ↵Kari Salminen
Common::Array. Should help catch out of bounds access errors that may cause memory corruption. svn-id: r33727
2008-08-09Converted animDataTable from a plain array to a Common::Array. Should help ↵Kari Salminen
to catch out of bounds access errors which may cause memory corruption. svn-id: r33726
2008-08-09Converted objectTable from a plain array to a Common::Array. Should help to ↵Kari Salminen
catch out of bounds access errors that may cause memory corruption. svn-id: r33725
2008-08-09Merged revisions ↵Christopher Page
33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33720
2008-08-08Partially fix Adlib volume setting in Cine (Now uses music volume for Adlib ↵Kari Salminen
volume, previously always played with full volume. Doesn't differentiate between playing sound effects and music!). svn-id: r33700
2008-08-07Implemented game speed changing by pressing - or + to e.g. ease testing.Kari Salminen
svn-id: r33689
2008-08-06Renamed page3Raw to collisionPage so it's more apparent what it does.Kari Salminen
svn-id: r33669
2008-07-10Removed unnecessary #inlcudesChristopher Page
svn-id: r32984
2008-07-07CINE works with the new GMM implementationChristopher Page
svn-id: r32954
2008-06-24Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So ↵Christopher Page
far agi, agos, and cine are now using the new _quit flag. svn-id: r32770
2008-06-12CINE: Fixed memory leaks in the CINE engineChristopher Page
svn-id: r32677
2008-05-28Merged revisions ↵Christopher Page
32124,32126-32128,32131,32133,32135-32144,32146-32153,32155-32163,32165-32168,32170-32173,32175-32179,32181-32191,32193-32202,32204-32205,32209-32214,32216,32218,32220-32235,32237-32266,32269-32271,32273-32290,32292-32295,32297-32317,32319-32323,32325-32328,32330-32331,32334-32338,32343-32347 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r32350
2008-05-27CINE: Fixed two memory leaks when shutting down the CINE engineChristopher Page
svn-id: r32332
2008-05-24Patch #1969189: "CinE renderer rewrite"Eugene Sandulenko
svn-id: r32257
2008-04-21Patch #1941066: "CinE sprite overlay rewrite" courtsey of next_ghostEugene Sandulenko
svn-id: r31651
2008-04-07Patch #1913862: "CinE Script system"Eugene Sandulenko
svn-id: r31444
2008-02-15Merged lots of _mixer->isReady() warnings into a single one in Engine ↵Max Horn
constructor svn-id: r30871
2008-01-01Slightly modified patch #1848173: "ScriptVars class implementation for CinE"Eugene Sandulenko
svn-id: r30125
2007-12-24_Properly_ fix lock-up introduced introduced in revision 29860. A typicalEugene Sandulenko
c/p error. svn-id: r29982
2007-12-24Fix regressions (crashes) introduced in commit 29860Eugene Sandulenko
svn-id: r29981