dhewg
e5056cab91
CINE: Init volume levels on startup
...
Add syncSoundSettings() to set the volume for kPlainSoundType and
respect the global mute setting
2011-03-19 15:34:57 +01:00
Arnaud Boutonné
d063b074cd
JANITORIAL: Suppress some useless includes
...
svn-id: r55091
2011-01-02 14:06:42 +00:00
David Turner
f96c8f6e39
CINE: Fix CollisionPage Uninitialised Reads in Operation Stealth.
...
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-31 09:14:49 +00:00
David Turner
0119a659b5
CINE: Added basic debugging console to engine
...
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-11-07 15:02:41 +00:00
Eugene Sandulenko
327d30d719
CINE: eliminate global variables
...
svn-id: r51937
2010-08-09 11:38:01 +00:00
Max Horn
70b6ee0a5b
CINE: Get rid of some unnecessary g_cine refs
...
svn-id: r50945
2010-07-16 21:56:50 +00:00
Max Horn
587f3cf958
CINE: Get rid of g_saveFileMan
...
svn-id: r50944
2010-07-16 21:56:30 +00:00
Eugene Sandulenko
15c533d2c2
Implement FR #2841445 : FW: Restart doesn't work
...
svn-id: r49096
2010-05-19 12:34:10 +00:00
Max Horn
970745e60c
Move DebugChannel related code to new header
...
svn-id: r48935
2010-05-04 11:59:22 +00:00
Max Horn
b3e404109c
Move initGraphics and initCommonGFX from to new header.
...
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-05-04 11:58:12 +00:00
Max Horn
460d69e885
COMMON: Move DebugChannel stuff into a new DebugMan singleton
...
svn-id: r48821
2010-04-27 21:40:52 +00:00
Max Horn
37b7be4519
CINE: Change Doxygen commands to match our CFC
...
svn-id: r48764
2010-04-21 21:22:43 +00:00
Johannes Schickel
0d995c5920
Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / 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
2010-01-12 21:07:56 +00:00
Johannes Schickel
228ceb3b63
Fix for bugs #2843081 "FW: Assert starting demo (regression)" and #2843080 "OS: Assert starting demo (regression)".
...
svn-id: r43743
2009-08-25 23:11:17 +00:00
Kari Salminen
c2dc86df08
Fix for #2824798 (FW: crash when clicking "load" in the GUI):
...
- 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-08-03 17:52:07 +00:00
Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +00:00
Eugene Sandulenko
d5b9437fb3
Fix bug #2055836 : "FW: Music is not restarted when loading a saved game"
...
svn-id: r40465
2009-05-11 19:31:55 +00:00
Max Horn
dd98126423
Engines: Fused several init&go methods into a single run method
...
svn-id: r39003
2009-03-01 04:42:46 +00:00
Max Horn
7cb437b56f
Renamed SpecialDebugLevel to DebugChannel
...
svn-id: r36142
2009-01-30 05:10:24 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
5a0556f09c
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
...
svn-id: r35062
2008-11-14 22:08:10 +00:00
Max Horn
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
6a2f3dc0b9
Added new type Engine::Feature; pushed down some #include dependencies
...
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn
d3642080de
Moved check for shouldRTL() from engines to scummvm_main
...
svn-id: r34310
2008-09-03 16:56:40 +00:00
Christopher Page
909b66ef54
Merged revisions 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-16 04:30:01 +00:00
Kari Salminen
36e0d2eab8
Moved fontParamTable inside TextHandler struct and made it a constant size 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-11 22:26:25 +00:00
Kari Salminen
8aaba9d38e
Changed palPtr from a pointer to a Common::Array named palArray. Removed palEntriesCount variable as it's now equivalent to palArray.size().
...
svn-id: r33785
2008-08-11 21:45:47 +00:00
Kari Salminen
d6dde4b85f
Removed textDataPtr pointer as it's not used beyond the loadTextData 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-11 21:26:41 +00:00
Kari Salminen
2d5a140725
Changed partBuffer from a pointer to a Common::Array. Removed numElementInPart variable as it's now equivalent with partBuffer.size().
...
svn-id: r33783
2008-08-11 20:41:13 +00:00
Christopher Page
fcc00f20b9
Merged revisions 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-10 21:58:18 +00:00
Kari Salminen
ef3b72d5e4
Converted zoneData and zoneQuery tables from plain array types to Common::Array. Should help catch out of bounds access errors that may cause memory corruption.
...
svn-id: r33727
2008-08-09 22:38:03 +00:00
Kari Salminen
983a4f21e5
Converted animDataTable from a plain array to a Common::Array. Should help to catch out of bounds access errors which may cause memory corruption.
...
svn-id: r33726
2008-08-09 20:55:01 +00:00
Kari Salminen
0911982954
Converted objectTable from a plain array to a Common::Array. Should help to catch out of bounds access errors that may cause memory corruption.
...
svn-id: r33725
2008-08-09 20:50:10 +00:00
Christopher Page
ce3d1e1a7d
Merged revisions 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-09 19:03:29 +00:00
Kari Salminen
70760a77fd
Partially fix Adlib volume setting in Cine (Now uses music volume for Adlib volume, previously always played with full volume. Doesn't differentiate between playing sound effects and music!).
...
svn-id: r33700
2008-08-08 14:46:19 +00:00
Kari Salminen
092d7224b9
Implemented game speed changing by pressing - or + to e.g. ease testing.
...
svn-id: r33689
2008-08-07 21:46:56 +00:00
Kari Salminen
a10753e2a1
Renamed page3Raw to collisionPage so it's more apparent what it does.
...
svn-id: r33669
2008-08-06 20:54:38 +00:00
Christopher Page
30b1a62e81
Removed unnecessary #inlcudes
...
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
41938b7644
CINE works with the new GMM implementation
...
svn-id: r32954
2008-07-07 23:47:39 +00:00
Christopher Page
f878820bbe
Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
...
svn-id: r32770
2008-06-24 21:15:30 +00:00
Christopher Page
101105315e
CINE: Fixed memory leaks in the CINE engine
...
svn-id: r32677
2008-06-12 18:52:43 +00:00
Christopher Page
8297ead267
Merged revisions 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-28 20:30:20 +00:00
Christopher Page
17b0144402
CINE: Fixed two memory leaks when shutting down the CINE engine
...
svn-id: r32332
2008-05-27 23:26:48 +00:00
Eugene Sandulenko
f2d72d9473
Patch #1969189 : "CinE renderer rewrite"
...
svn-id: r32257
2008-05-24 22:11:41 +00:00
Eugene Sandulenko
57a9ef3a8f
Patch #1941066 : "CinE sprite overlay rewrite" courtsey of next_ghost
...
svn-id: r31651
2008-04-21 20:51:17 +00:00
Eugene Sandulenko
732774fd8d
Patch #1913862 : "CinE Script system"
...
svn-id: r31444
2008-04-07 20:24:40 +00:00
Max Horn
88bb567e18
Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
...
svn-id: r30871
2008-02-15 17:01:35 +00:00
Eugene Sandulenko
7aadf6c191
Slightly modified patch #1848173 : "ScriptVars class implementation for CinE"
...
svn-id: r30125
2008-01-01 16:57:03 +00:00
Eugene Sandulenko
6b722c2f1c
_Properly_ fix lock-up introduced introduced in revision 29860. A typical
...
c/p error.
svn-id: r29982
2007-12-24 19:49:28 +00:00
Eugene Sandulenko
fd22ebb269
Fix regressions (crashes) introduced in commit 29860
...
svn-id: r29981
2007-12-24 19:13:32 +00:00