aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-01COMMON: Switch hexdump() to debugN instead of printfMax Horn
Rational: hexdump() is used for debug output. An even better alternative might be to change it to return a string, instead of printing anything. This way, it could be used inside e.g. GUI debug consoles. This is left as an exercise to the interested developer :). svn-id: r54010
2010-11-01COMMON: Switch ConfigManager::setInt & ConfigManager::registerDefault to use ↵Max Horn
String::format svn-id: r54009
2010-11-01COMMON: Add debugN variant without level parameterMax Horn
This makes our various debug*() functions fully symmetric, for now. svn-id: r54008
2010-11-01GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warningsMax Horn
svn-id: r54007
2010-11-01GUI: Rename ConsolDialog methods (v)printf, putcharMax Horn
svn-id: r54006
2010-11-01SYMBIAN: Trigger a compiler error on systems where __GCC32__ is set, instead ↵Max Horn
of producing incorrect code svn-id: r54005
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-11-01COMMON: Change some (f)printf to debug calls; clenaup hashmap.hMax Horn
svn-id: r54003
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-31COMMON: Document forbidden.hMax Horn
svn-id: r53990
2010-10-31COMMON: Allow forbidden symbols in debug.cpp and textconsole.cppMax Horn
This is currently necessary for the PS2 port and possibly others. svn-id: r53989
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-31TOOLS: Fix GCC warnings reported by Fingolgin in create_hugoArnaud Boutonné
Also realign arrays to make them (a bit) more readable. These modifications don't modify Hugo.dat svn-id: r53983
2010-10-31GP2X: Fix warnings about unused declsMax Horn
svn-id: r53982
2010-10-31MOTOEZX: Fix warning about static not at beginning of declarationMax Horn
svn-id: r53981
2010-10-31WINCE: Fix assert() implementationMax Horn
svn-id: r53980
2010-10-31WINCE: Code formattingMax Horn
svn-id: r53979
2010-10-31WINCE: Enable use of forbidden symbols, cleanupMax Horn
I tried to untangle the header interdependencies a bit, but this is still quite a mess. This commit also fixes some warnings. svn-id: r53978
2010-10-31PS2: Enable another use of forbidden symbolsMax Horn
svn-id: r53977
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-31WINDOWS: Enable use of forbidden symbolsMax Horn
svn-id: r53972
2010-10-31IPHONE: Enable use of forbidden symbolsMax Horn
svn-id: r53971
2010-10-31PSP: Enable use of forbidden symbolsMax Horn
svn-id: r53970
2010-10-30PS2: Enable use of forbidden symbolsMax Horn
svn-id: r53969
2010-10-30SDL: Fix SDL plugin provider code (used e.g. by Dingux port)Max Horn
svn-id: r53968
2010-10-30LASTEXPRESS: Use const_iterator to iterate over a const arrayMax Horn
svn-id: r53967
2010-10-30CREATE_HUGO: Avoid use of global constructorsMax Horn
svn-id: r53966
2010-10-30TOOLS: Enable use of forbidden symbolsMax Horn
svn-id: r53965
2010-10-30GPH: Enable use of forbidden symbolsMax Horn
svn-id: r53964
2010-10-30LINUXMOTO: Enable use of forbidden symbolsMax Horn
svn-id: r53963
2010-10-30GP2x: Enable use of forbidden symbolsMax Horn
svn-id: r53962
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-30GUI: Don't #include Mac OS X sys header hereMax Horn
svn-id: r53960
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