42369 Commits

Author SHA1 Message Date
Johannes Schickel
8252fc30ce KYRA: Pause engine when the debugger is open.
svn-id: r54032
2010-11-01 22:19:16 +00:00
Max Horn
a7248a0601 ENGINES: Replace many printfs by warning/debug/debugN
svn-id: r54031
2010-11-01 21:37:47 +00:00
Max Horn
cba30ee716 TINSEL: Correcting my previous commit, oops
svn-id: r54030
2010-11-01 21:36:39 +00:00
Max Horn
9cadcf4c5b TINSEL: Fix a leak in DW2, and a potential OOB in NextTaggedActor
svn-id: r54029
2010-11-01 21:06:04 +00:00
Filippos Karapetis
7f1a9699fa TINSEL: Fixed two places that weren't reset when exiting to the launcher and reentering the game. There could be (and most likely are) others as well
svn-id: r54028
2010-11-01 20:59:17 +00:00
Max Horn
ff01247526 TINSEL: Explain why exactly RTL is disabled
The very same issue probably affects more engines, possibly even some
which have RTL enabled.

svn-id: r54027
2010-11-01 20:49:55 +00:00
Sven Hesse
314d6568b3 GOB: Fix a map cleanup regression
svn-id: r54025
2010-11-01 20:47:38 +00:00
Max Horn
d5413deab3 BASE: Destroy TranslationManager when exiting; destroy GuiManager before ConfigManager
svn-id: r54024
2010-11-01 20:41:53 +00:00
Max Horn
75c6e66874 COMMON: Get rid of the debug() output formatter
Now Engine::errorString is only used by error(), as its name suggests.
This also resolves the inconsistency between debug & debugN.

svn-id: r54023
2010-11-01 20:41:32 +00:00
Max Horn
ebb7ed2b8a SOUND: Convert some (f)printf + fflush to debug
svn-id: r54022
2010-11-01 20:41:03 +00:00
Max Horn
3d5e2fa820 HUGO: Replace Utils::Warn() by warning()
svn-id: r54021
2010-11-01 20:40:33 +00:00
Arnaud Boutonné
7d09121c71 HUGO: Fix typo
svn-id: r54019
2010-11-01 20:21:01 +00:00
Arnaud Boutonné
e0fec60874 HUGO: Convert class member comments to Doxygen format
svn-id: r54018
2010-11-01 20:20:21 +00:00
Martin Kiewitz
130365ef0d SCI: fixing port restoring
- recalculate _freeCounter
- dont push disposed windows onto windowlist

svn-id: r54017
2010-11-01 20:08:42 +00:00
Martin Kiewitz
a46b1adeae SCI: fixing bug when restoring ports
fixes assert

svn-id: r54016
2010-11-01 19:56:01 +00:00
Filippos Karapetis
3d431a215f SCI: Fixed a silly bug when restoring port rectangles. This uncovered a bug with the recently added port save/restore code
svn-id: r54015
2010-11-01 19:42:00 +00:00
Martin Kiewitz
548e67f413 SCI: fixing lf
(stupid msvc)

svn-id: r54014
2010-11-01 16:42:54 +00:00
Max Horn
963cf0b08a COMMON: Disable DEBUG_HASH_COLLISIONS (oops)
svn-id: r54013
2010-11-01 16:42:31 +00:00
Martin Kiewitz
eefa151d70 SCI: saving/restoring script created windows now
fixes "GfxPorts::kernelSetActive" error
based on code by [md5]

svn-id: r54012
2010-11-01 16:09:33 +00:00
Max Horn
9a350f4398 ENGINES: Get rid of some (f)printfs
svn-id: r54011
2010-11-01 16:04:47 +00:00
Max Horn
459ef85068 COMMON: Switch hexdump() to debugN instead of printf
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-01 16:04:18 +00:00
Max Horn
f77b8aee75 COMMON: Switch ConfigManager::setInt & ConfigManager::registerDefault to use String::format
svn-id: r54009
2010-11-01 16:04:04 +00:00
Max Horn
0cf64915e1 COMMON: Add debugN variant without level parameter
This makes our various debug*() functions fully symmetric, for now.

svn-id: r54008
2010-11-01 16:03:50 +00:00
Max Horn
a984fb17c2 GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warnings
svn-id: r54007
2010-11-01 16:03:35 +00:00
Max Horn
2af2704421 GUI: Rename ConsolDialog methods (v)printf, putchar
svn-id: r54006
2010-11-01 16:03:02 +00:00
Max Horn
06876671e5 SYMBIAN: Trigger a compiler error on systems where __GCC32__ is set, instead of producing incorrect code
svn-id: r54005
2010-11-01 16:02:47 +00:00
Max Horn
e27b05ef35 COMMON: Rename String::printf() to String::format()
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-01 16:02:28 +00:00
Max Horn
7a85365004 COMMON: Change some (f)printf to debug calls; clenaup hashmap.h
svn-id: r54003
2010-11-01 16:00:53 +00:00
Max Horn
6fa8772bae SWORD25: Replace art_warn/art_die by warning/error
svn-id: r54002
2010-11-01 16:00:35 +00:00
Max Horn
a1dd7a07a1 ENGINES: Remove some 'using' statements
svn-id: r54001
2010-11-01 16:00:17 +00:00
Sven Hesse
205fc94848 GOB: Fix spelling
svn-id: r54000
2010-11-01 15:36:31 +00:00
Arnaud Boutonné
4c6eb76d79 HUGO: Make some scheduler functions and variables protected
svn-id: r53999
2010-11-01 15:29:06 +00:00
Torbjörn Andersson
fc0adb846a SWORD2: Cleanup
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-01 11:29:57 +00:00
Torbjörn Andersson
68469f45ce SWORD2: Cleanup pause handling
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-01 11:25:11 +00:00
Yotam Barnoy
27182f266f PSP: removed CXA_AT_EXIT. It didn't work well because __dso_object already exists in the main executable, causing it not to be built in the plugins.
svn-id: r53996
2010-11-01 06:31:09 +00:00
Arnaud Boutonné
e48cdb378c HUGO: Move _actListArr to scheduler
svn-id: r53995
2010-11-01 00:27:11 +00:00
Filippos Karapetis
e3dfadc6c1 SCI: Fix for bug #3100292 - "QFG2: signature mismatch at the WIT"
svn-id: r53993
2010-10-31 23:34:36 +00:00
Ori Avtalion
ed8bfb00b9 TINSEL: Reintroduce DUMMY variable removed in r53932
This placates compilers that complain about the semicolon in
"CORO_BEGIN_CONTEXT;"

svn-id: r53992
2010-10-31 22:33:13 +00:00
Max Horn
5c49ae8a9c TINSEL: cleanup
svn-id: r53991
2010-10-31 21:50:48 +00:00
Max Horn
e67ab53d89 COMMON: Document forbidden.h
svn-id: r53990
2010-10-31 21:50:20 +00:00
Max Horn
a41d4424af COMMON: Allow forbidden symbols in debug.cpp and textconsole.cpp
This is currently necessary for the PS2 port and possibly others.

svn-id: r53989
2010-10-31 21:49:53 +00:00
Sven Hesse
ae082b2b28 GOB: Silence a compiler warning
svn-id: r53988
2010-10-31 21:47:20 +00:00
Arnaud Boutonné
f757d489a0 HUGO: Suppress Playback code
Also change 3 variable types in order to match types used 
in create_hugo 

svn-id: r53987
2010-10-31 21:20:22 +00:00
Filippos Karapetis
43221a3253 SCI: Removing obsolete function parameter
svn-id: r53986
2010-10-31 20:57:50 +00:00
Sven Hesse
1421312cf8 GOB: Add listArchives debug console command
svn-id: r53985
2010-10-31 20:51:35 +00:00
Sven Hesse
16a3cc8a84 GOB: Clean up class DataIO
Removing the need for class DataStream and that handle mess.

svn-id: r53984
2010-10-31 20:07:14 +00:00
Arnaud Boutonné
88892dc982 TOOLS: Fix GCC warnings reported by Fingolgin in create_hugo
Also realign arrays to make them (a bit) more readable.
These modifications don't modify Hugo.dat

svn-id: r53983
2010-10-31 18:27:53 +00:00
Max Horn
c94278fb20 GP2X: Fix warnings about unused decls
svn-id: r53982
2010-10-31 17:24:27 +00:00
Max Horn
3df411df66 MOTOEZX: Fix warning about static not at beginning of declaration
svn-id: r53981
2010-10-31 17:23:53 +00:00
Max Horn
6dc5fccfe3 WINCE: Fix assert() implementation
svn-id: r53980
2010-10-31 17:23:31 +00:00