aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-11-01SWORD25: Replace art_warn/art_die by warning/errorMax Horn
svn-id: r54002
2010-11-01ENGINES: Remove some 'using' statementsMax Horn
svn-id: r54001
2010-11-01GOB: Fix spellingSven Hesse
svn-id: r54000
2010-11-01HUGO: Make some scheduler functions and variables protectedArnaud Boutonné
svn-id: r53999
2010-11-01SWORD2: CleanupTorbjörn Andersson
Removed some of the debug code that has never ever been enabled for as long as this engine has been in ScummVM. svn-id: r53998
2010-11-01SWORD2: Cleanup pause handlingTorbjörn Andersson
Removed a bunch of pause-related code which I either can't remember why it's there, or which doesn't seem to serve any useful purpose. Most things I've tried seem to work as well or better than before. svn-id: r53997
2010-11-01HUGO: Move _actListArr to schedulerArnaud Boutonné
svn-id: r53995
2010-10-31SCI: Fix for bug #3100292 - "QFG2: signature mismatch at the WIT"Filippos Karapetis
svn-id: r53993
2010-10-31TINSEL: Reintroduce DUMMY variable removed in r53932Ori Avtalion
This placates compilers that complain about the semicolon in "CORO_BEGIN_CONTEXT;" svn-id: r53992
2010-10-31TINSEL: cleanupMax Horn
svn-id: r53991
2010-10-31GOB: Silence a compiler warningSven Hesse
svn-id: r53988
2010-10-31HUGO: Suppress Playback codeArnaud Boutonné
Also change 3 variable types in order to match types used in create_hugo svn-id: r53987
2010-10-31SCI: Removing obsolete function parameterFilippos Karapetis
svn-id: r53986
2010-10-31GOB: Add listArchives debug console commandSven Hesse
svn-id: r53985
2010-10-31GOB: Clean up class DataIOSven Hesse
Removing the need for class DataStream and that handle mess. svn-id: r53984
2010-10-31MOTOEZX: Fix warning about static not at beginning of declarationMax Horn
svn-id: r53981
2010-10-31SCI: Play time related changesFilippos Karapetis
- Added support for savegame play time - Removed obsolete variables for calculating the play time (EngineState::gameStartTime and Console::_enterTime) - Renamed some variables to camelCase svn-id: r53974
2010-10-31LOL: fixed bug #3099321Florian Kagerer
(Crash in Yvel tavern basement) svn-id: r53973
2010-10-30LASTEXPRESS: Use const_iterator to iterate over a const arrayMax Horn
svn-id: r53967
2010-10-30ALL: Add code to help stop people from accidentally using "bad" APIsMax Horn
A new header file common/forbidden.h is included by scummsys.h and it re-#defines numerous symbols like fopen(), fread(), system(), etc. with garbage, in order to provoke compile errors in any code using them. If a .cpp file really *must* use any of these (e.g. because it is a backend file), then these redefinitions can be disabled by #defining FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever this is done, an explanatory comment should be added. Note that this system cannot catch all "bad" usages (notably the Lua code in the sword25 engine), as it can only work if scummsys.h is included. svn-id: r53961
2010-10-30M4: Remove unused getter method MadsM4Engine::system()Max Horn
svn-id: r53959
2010-10-30M4: Disable code using FILE, fopen, etc. and add explantory FIXMEMax Horn
svn-id: r53958
2010-10-30HUGO: Comment out all occurrences of FILE *fpbMax Horn
These are not portable, and (at least in the current code) do nothing useful either: a file is opened, and closed again, in write mode. At most this may create / delete the file. But since the method containing this code is never called... svn-id: r53957
2010-10-30HUGO: Free some more memory before exitingArnaud Boutonné
- suppress two useless variables - initialize some variables svn-id: r53956
2010-10-30SCI: add Russian SQ4 & SQ5Andrew Kurushin
svn-id: r53955
2010-10-30LOL: workaround for bug #3098935Florian Kagerer
(Vaelan's Cube can be duplicated at Scotia's Barrier) This is a bug in the game data of early unpatched floppy versions. This can also be fixed by applying the official patch (ftp://ftp.westwood.com/pub/lands1/updates/lolus123.exe). svn-id: r53954
2010-10-30GOB: Make Map::getItem()/setItem() nonvirtualSven Hesse
svn-id: r53953
2010-10-30GOB: Make some more map properties protectedSven Hesse
svn-id: r53952
2010-10-30GOB: Remove the "ugly" reading of Map::_itemPosesSven Hesse
Removing the need to pack that struct svn-id: r53951
2010-10-30GOB: Rename Map::_widthByte to _mapVersionSven Hesse
svn-id: r53950
2010-10-30GOB: Make Map::_wayPoints protectedSven Hesse
Only allow const access through Map::getWayPoint() svn-id: r53949
2010-10-30GOB: Make Map::_passMap protected and group some varsSven Hesse
svn-id: r53948
2010-10-30GOB: Unify Map_v1::/Map_v2::getPass()/setPass()Sven Hesse
svn-id: r53947
2010-10-30GOB: Minor map cleanupSven Hesse
- Move enum Direction out of class Map - Convert kLeft et al into a proper enum RelativeDirection svn-id: r53946
2010-10-30HUGO: Free memory on exitArnaud Boutonné
svn-id: r53945
2010-10-30SCI: Fixed script bug #3098353 - "ECOQUEST1 German: Crash at the blackboard ↵Filippos Karapetis
in the dolphin room" svn-id: r53941
2010-10-30SCI: Fixed detection of fan made script patches for LSL1Filippos Karapetis
svn-id: r53940
2010-10-30SWORD25: Play the cutscene audioTorbjörn Andersson
Once the audio buffer has been queued in the audio stream, the Theora decoder is no longer responsible for it. It has to allocate a new audio buffer for the next set of audio data. Of course, at the moment the audio is pretty useless because the playback speed is all wrong. svn-id: r53939
2010-10-30SWORD25: Fix hanging cutscene videoTorbjörn Andersson
Even though our video player does not (yet) support audio, we need to adjust the values of _audiobufFill and _audiobufReady as if it did, or it will never realize it has reached the end of the cutscene. Also fixes what looks like a typo in audio data clipping. svn-id: r53938
2010-10-30SWORD25: Added a hack to allow the new English voice pack to be detectedPaul Gilbert
svn-id: r53937
2010-10-30TINSEL: Remove redundant if()Max Horn
svn-id: r53936
2010-10-30TINSEL: Remove unnecessary CORO_PARAM from ObjectTextOutMax Horn
As a nice side effect, this gets rid of 25 out of 64 occurrences of nullContext in the TINSEL code. svn-id: r53935
2010-10-30TINSEL: Fix subtle leak in coroutine code, some minor tweaksMax Horn
* Fix a bug which caused coroutines invoked with nullContext to leak their state. Sadly, nullContext is underdocumented, yet very delicate and full of subtleties... ./ * Move nullContext decl from sched.cpp to coroutine.cpp * Enhance a few doxygen comments svn-id: r53934
2010-10-30TINSEL: Dispose state of active coroutines in Scheduler destructorMax Horn
This fixes some leaks that occurred when exiting the game resp. returning to launcher. Note that we still leak some coroutines when exiting after loading a savegame. svn-id: r53933
2010-10-30TINSEL: Add COROUTINE_DEBUG macro to ease debugging coroutine codeMax Horn
svn-id: r53932
2010-10-29TOON: Stops all Sfx/voice when exiting a roomSylvain Dupont
Caused crashs when exiting when a sfx or voice was still playing Bug found by Thomas svn-id: r53928
2010-10-29KYRA: match music settings with latest launcher code changes.Florian Kagerer
(Last commit got trunkated somehow) svn-id: r53927
2010-10-29KYRA: match music settings with latest launcher code changes.Florian Kagerer
(Users will get AdLib music at default unless they have specified a MIDI device in the launcher (MT-32 for KYRA, GM for HOF and LOL.) svn-id: r53926
2010-10-29DRACI: Switch to the new play time counting of the Engine class.Johannes Schickel
svn-id: r53925
2010-10-29SWORD1: Switch to the new play time counting of the Engine class.Johannes Schickel
svn-id: r53924