Commit Graph

42122 Commits

Author SHA1 Message Date
David Turner
f0fe060cc3 TOUCHE: Added basic debugging console to engine
Since TOUCHE uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands.

svn-id: r54137
2010-11-08 03:55:16 +00:00
David Turner
5d30eeea95 TOON: Further corrections to close memory leaks.
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option, but a significant number still remain.

svn-id: r54136
2010-11-08 03:14:32 +00:00
Filippos Karapetis
05eb352e5c SCI: Bugfix for script workarounds
Get the English versions of objects and methods when checking for script
workarounds, as the objects/methods could be translated. Fixes bug #3104623,
"PQ3: Crash when click on City map"

svn-id: r54134
2010-11-08 00:41:39 +00:00
Filippos Karapetis
5de2668939 SCI: Some changes regarding the string heap in saved games
- Maintain the state of the string heap space in saved games
- Merged SegManager::reconstructScripts() inside SegManager::saveLoadWithSerializer()
- Disabled a now unnecessary script patch for the cipher puzzle in Castle of Dr. Brain, and performed some cleanup for another disabled patch
- Removed direct access to the _baseObj variable of objects

svn-id: r54133
2010-11-08 00:18:34 +00:00
Florian Kagerer
97a98cf9db LOL: fixed minor text displayer bug
svn-id: r54132
2010-11-08 00:08:38 +00:00
Arnaud Boutonné
74d0ad8371 HUGO: Use DOS names for and exact names in endGame()
svn-id: r54131
2010-11-07 22:10:29 +00:00
Johannes Schickel
170b21c2ce TOON: Fix mismatching new/delete[] on _hotspots.
svn-id: r54130
2010-11-07 21:25:32 +00:00
Johannes Schickel
7c66cae3de TOON: Cleanup.
svn-id: r54129
2010-11-07 21:22:16 +00:00
Johannes Schickel
efc2808926 TOON: Fix debug console by implementing getDebugger.
svn-id: r54128
2010-11-07 21:21:55 +00:00
David Turner
4acad22d6e TOON: Corrections to close some memory leaks.
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option.

svn-id: r54127
2010-11-07 21:08:46 +00:00
Johannes Schickel
ce733ab75a TUCKER: Add GUIO_NOLAUNCHLOAD to the detection flags.
svn-id: r54126
2010-11-07 19:13:30 +00:00
Johannes Schickel
a05e9a6842 DRASCULA: Add GUIO_NOLAUNCHLOAD to the detection flags.
svn-id: r54125
2010-11-07 19:13:08 +00:00
Arnaud Boutonné
86d005e4a3 HUGO: Fix crash when hugo.dat is not the expected version
svn-id: r54124
2010-11-07 18:52:47 +00:00
David Turner
279a760c5a TOON: Added basic debugging console to engine
Since Toon uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands.
However, the hotkey for this is currently disabled as it causes a segfault. Not sure why.

svn-id: r54123
2010-11-07 17:18:59 +00:00
Max Horn
f9d311d1ef COMMON: Add const qualifiers and remove Common:: prefix in MacResManager code
svn-id: r54122
2010-11-07 17:17:21 +00:00
Max Horn
4d3a07b494 COMMON: Rename and tweak MD5 functions
* names now comply to our naming conventions
* the function computeStreamMD5AsString which computes the MD5
  as a hex string now returns it as a Common::String
* add doxygen comments

svn-id: r54121
2010-11-07 17:16:59 +00:00
Max Horn
036e88d382 DETECTOR: Don't compute mac resource fork MD5 of a file multiple times
Also add a FIXME regarding the fact that we don't handle the case that a
file is listed as a regular file and as one with resource fork.

svn-id: r54120
2010-11-07 17:16:01 +00:00
Max Horn
aa54388de0 ENGINES: Do not include engines/savestate.h from engines/game.h
svn-id: r54119
2010-11-07 17:15:46 +00:00
Max Horn
c5598664ce DETECTOR: Get rid of ADGF_KEEPMATCH
Also fix some typos, and minor tweaks

svn-id: r54118
2010-11-07 17:15:27 +00:00
David Turner
1cbab9885b HUGO: Added basic debugging console to engine
Since HUGO uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands.

svn-id: r54117
2010-11-07 15:04:47 +00:00
David Turner
3d961469fd DRACI: Added basic debugging console to engine
Since DRACI uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands.

svn-id: r54116
2010-11-07 15:03:54 +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
Fabio Battaglia
f452fe82ad CONFIGURE: disable libmad for N64 Port
libmad uses more cpu than tremor, and audio stutters more,
also this will save some memory

svn-id: r54114
2010-11-07 12:09:53 +00:00
Johannes Schickel
708593c7a0 CREDITS: Add myself to the Infrastructure section (after talking with Max).
svn-id: r54112
2010-11-07 02:24:31 +00:00
Johannes Schickel
05986f09fd CREDITS: Mark Joachim Eberhard as retired.
svn-id: r54110
2010-11-07 02:13:22 +00:00
Matthew Hoops
025a14b326 MOHAWK: Remove console FIXME's
svn-id: r54109
2010-11-07 02:08:02 +00:00
Max Horn
a905682cf8 LURE: Convert printf to debug/warning
Exception: The "decompiler" code still uses fopen/fprintf etc.
but it is disabled by default, hence I am ignoring it for now.

svn-id: r54108
2010-11-07 01:03:58 +00:00
Max Horn
b4787d9430 MOHAWK: Convert all printf to debugN calls
This involves some nasty decisions, like mixing debugN and DebugPrintf
calls in the RivenConsole. I added FIXME comments about this.

svn-id: r54107
2010-11-07 01:03:29 +00:00
Max Horn
90b6cdfbdf LURE: Remove all uses of (f)printf; cleanup
svn-id: r54106
2010-11-07 01:03:03 +00:00
Max Horn
18d40017e8 ENGINES: Unify code layout of all ADParams instances
svn-id: r54105
2010-11-07 01:01:18 +00:00
Max Horn
7e7ad149c2 GRAPHICS: Cleanup advmame scaler code; don't include assert.h
svn-id: r54104
2010-11-07 00:37:04 +00:00
Arnaud Boutonné
a4cd83061e HUGO: Move fonts to display.cpp
Some cleanup

svn-id: r54103
2010-11-07 00:02:48 +00:00
Arnaud Boutonné
f5d2695800 HUGO: Move _palette to display.cpp
svn-id: r54102
2010-11-06 13:21:18 +00:00
Arnaud Boutonné
b105b5e659 TOOL: Add original palette in tool, disabled
This may be required by purists, but is awful (thus 
currently not used)

svn-id: r54101
2010-11-06 10:11:46 +00:00
Arnaud Boutonné
1da44acae3 HUGO: Implement REMAPPAL.
Palettes in H3 Win intro are now correct

svn-id: r54100
2010-11-06 09:59:07 +00:00
Florian Kagerer
e4da5e3af4 GRAPHICS/SJIS: cleanup
svn-id: r54099
2010-11-05 20:36:13 +00:00
Johannes Schickel
49b3635181 AUDIO: Remove obsolete comment.
svn-id: r54098
2010-11-05 15:38:31 +00:00
Yotam Barnoy
a6bee87990 PLUGINS: improved one-at-a-time plugin code
I reduced memory fragmentation using 2 principles: Plugins should be loaded for as little time as possible, and long lasting memory allocations should be allocated before plugins are loaded. There might still be a little fragmentation left.
Note that command line settings that require plugins to be loaded don't work yet, but they didn't work (properly) before either.

svn-id: r54097
2010-11-05 13:24:57 +00:00
Arnaud Boutonné
6b88fd44c0 HUGO: Silent GCC warning introduced in r54087
svn-id: r54095
2010-11-05 12:36:20 +00:00
Willem Jan Palenstijn
e065a8a797 SCI: Fix blend rounding, style
svn-id: r54093
2010-11-05 12:33:07 +00:00
Filippos Karapetis
4f3cedd11f GUI: Better description of the dithering checkbox
svn-id: r54092
2010-11-05 11:17:57 +00:00
Filippos Karapetis
18345b970d Grammar
svn-id: r54091
2010-11-05 10:58:48 +00:00
Filippos Karapetis
2416cbf75b COMMON/GUI/SCI: Changes to the EGA dithering checkbox
- Changed the new dithering checkbox to be more generic (i.e. relevant for all engines that may support such a feature in the future)
- Changed the checkbox to be unchecked by default. As discussed on -devel, game enhancements in ScummVM should be off by default, and opt-in
- Changed the option from "sci_undither" to "disable_dithering"
- Changed theme version style to X.Y.Z and bumped it to 0.8.2

svn-id: r54090
2010-11-05 10:53:37 +00:00
Max Horn
daf3fb0df7 WINCE: Remove tons of obsolete workaround code for 'missing' headers and funcs
svn-id: r54089
2010-11-05 10:31:36 +00:00
Filippos Karapetis
7c8470255c SCUMMVM: Bumped theme version to 0.81.
This fixes regression #3103351 - "GUI: Crashes on Edit Game/Options Buttons"

svn-id: r54088
2010-11-05 10:16:36 +00:00
Arnaud Boutonné
85513b2040 HUGO: Suppress useless case in processRoute()
svn-id: r54087
2010-11-05 08:36:37 +00:00
Arnaud Boutonné
913afa041a HUGO: Suppress status variables related to playback
svn-id: r54086
2010-11-05 08:14:12 +00:00
Arnaud Boutonné
749d2afd1f TOOL: Fix bug in data in Hugo2 Dos
svn-id: r54085
2010-11-05 07:59:55 +00:00
Travis Howell
1e078a22f5 AGOS: Display item names and descriptions via GUImessage, in Swampy Adventures for now.
svn-id: r54084
2010-11-05 03:30:45 +00:00
Max Horn
f83bfc0bbf TEST: Tweak "make test" build rules to ignore -Wglobal-constructors
On my OS X machine, -Wglobal-constructors is always added by configure.
But the test runner makes heavy use of global constructors.
This change allows me to run "make test" even when using -Werror.

svn-id: r54083
2010-11-05 01:20:53 +00:00