aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/debugger.cpp
AgeCommit message (Collapse)Author
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-03-09Rewrote Common::List iterator code to ensure const correctness is preserved.Max Horn
We tried to implement the list iterators in a clever way, to reduce code duplication. But this is essentially impossible to do properly, sadly -- this is one of the places where the ugly drawbacks of C++ really show. As a consequence, our implementation had a bug which allowed one to convert any const_iterator to an iterator, thus allowing modifying elements of const lists. This rewrite reintroduces code duplication but at least ensures that no const list is written to accidentally. Also fix some places which incorrectly used iterator instead of const_iterator or (in the kyra code) accidentally wrote into a const list. svn-id: r39279
2009-02-17clarify scumm debugger error messageWillem Jan Palenstijn
svn-id: r38439
2009-01-30Renamed SpecialDebugLevel to DebugChannelMax Horn
svn-id: r36142
2009-01-30Some more 'special debug levels' tweaksMax Horn
svn-id: r36140
2009-01-30Some work on the 'special debug levels' aka 'engine debug levels' codeMax Horn
svn-id: r36139
2008-11-16Fixed various g++ warnings ("format not a string literal and no format ↵Johannes Schickel
arguments"). svn-id: r35096
2008-11-13* got rid of CDECLMax Horn
* got rid of scumm_strrev * added DISABLE_TEXT_CONSOLE flag which disables printf, warning, debug (but not error) svn-id: r35038
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-05-20Cleaned up engine debug level code.Johannes Schickel
svn-id: r32195
2008-01-02Workaround for bug #1804278: "MONKEY: Mouse is invisible after loading"Eugene Sandulenko
svn-id: r30160
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-08Some cleanup (yay for whomever had the brilliant idea to let SVN work over ↵Max Horn
HTTPS and hence through proxies&firewalls :) svn-id: r28877
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-02-04Switch SCUMM engine to use the common special debug flags support (thus ↵Max Horn
making it possible to use --debugflags with it) svn-id: r25381
2007-02-04Use Actor::getRealPos instead of Actor::getPos in the debuggerMax Horn
svn-id: r25371
2007-02-04Rewrote the actor walk code for SCUMM V0-V2 games: Now it uses the C64 ↵Max Horn
character coordinates internally, not pixel coordinates. This should fix some walk bugs, but also might cause some regressions. Watch out svn-id: r25370
2006-12-25Changed ScummEngine::_actors from an Actor array to a an array of Actor ↵Max Horn
points (i.e. indirection) svn-id: r24922
2006-12-21passing the room as an argument to putActor is optionnal hereGregory Montoir
svn-id: r24911
2006-12-21fixed bug #1620023 (script calls putActorAtXY with y == -1)Gregory Montoir
svn-id: r24910
2006-11-19* Made Actor::_pos protected, added public Actor::getPos() methodMax Horn
* Added default params to Actor::putActor() * Removed Actor::getActorXYPos svn-id: r24742
2006-10-29SCUMM: Avoid crash in debugger when omitting the state value in 'object ↵Max Horn
state VALUE' svn-id: r24572
2006-10-18SCUMM: walbox related cleanupMax Horn
svn-id: r24365
2006-09-17Renamed ScummEngine::res to _res and allocate the ResourceManager on the ↵Max Horn
heap (i.e. _res is a pointer now) svn-id: r23922
2006-09-16cleanupMax Horn
svn-id: r23891
2006-09-16Overhaul of the debugger codeMax Horn
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker restrictions) * Change the base Debugger class to *not* be a template class anymore; instead, a thin (template based) wrapper class is used to hook up debugger commands * Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single version of each in GUI::Debugger * New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries the console to determine when to wrap * Debugger::preEnter and postEnter aren't pure virtual anymore svn-id: r23890
2006-04-23Behold, the new SCUMM detector finally has arrived. Unified detection & ↵Max Horn
engine instantiation, reduced code duplication, more powerful detection in case MD5 is not known / can't be computed, and many other nifty improvements. svn-id: r22110
2006-04-15- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a ↵Max Horn
new getActiveDomain method that returns a pointer to the actual active *domain* - Added Engine::_targetName whose value is computed from the name of the active domain - Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain - This in turn allowed for removing usage of GameDetector in many places svn-id: r21916
2006-03-25fixed wrong computation of decflag in AkosRenderer::drawLimb (HE specific, ↵Gregory Montoir
bug #1416186). svn-id: r21454
2006-02-20Moved iMUSE code to the new directory engines/scumm/imuse/Max Horn
svn-id: r20801
2006-02-20Replaced _gameId, _version, _heversion, _features, _midi, _platform with a ↵Max Horn
simple ScummGameSettings instance: _game svn-id: r20795
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582