Commit Graph

42107 Commits

Author SHA1 Message Date
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
Max Horn
7ace85e636 PLUGINS: Simplify ELF plugin providers & DLObject subclasses
* Remove DLObject virtual methods allocSegment and freeSegment.
  As long as all DLObject implementations use memalign + free to
  allocate/release segments, there is no point in wrapping those.
  This enables further simplifications.
* Add TemplatedELFPlugin template class. Use this instead of explicit
  ELFPlugin subclasses.
* Rename DLObject::discard_symtab to discardSymtab

svn-id: r54082
2010-11-05 01:20:34 +00:00
Max Horn
102e7ee88c PLUGINS: Add EM_SH to elf32.h (e_machine type used by DC backend)
svn-id: r54081
2010-11-05 01:19:45 +00:00
Florian Kagerer
4457d10f84 GRAPHICS/SJIS: fix out of bounds shadow mode text drawing
svn-id: r54080
2010-11-05 01:11:05 +00:00
Florian Kagerer
206971d16b SCUMM/FM-TOWNS JAPANESE: fix out of bounds text drawing
(could cause invalid memory access in MI1)

svn-id: r54079
2010-11-05 00:36:23 +00:00
Johannes Schickel
8c997e2608 SCI: Add a default case to a switch statement to silence some compiler warnings.
svn-id: r54078
2010-11-05 00:10:26 +00:00
Filippos Karapetis
7d71d07075 SCI: Renamed findBlock() to findBlockSCI0()
svn-id: r54077
2010-11-04 23:19:23 +00:00
Sylvain Dupont
1e59b9dd2c TOON: Fix sound effect archive destroy
Variable not initialized. Crashed when no sound effects were present in the room
(Bug fixed thanks to Thomas)

svn-id: r54076
2010-11-04 22:12:16 +00:00
Sylvain Dupont
9a704e51c1 TOON: Fix ambient audio destroy in chapter 2
(Thanks to Thomas)

svn-id: r54075
2010-11-04 22:06:22 +00:00
Sven Hesse
016f24d16c VIDEO: PreIMD: End frame when frameSize == 0
As happens for the last frame in the first video of the Fascination
intro.

svn-id: r54072
2010-11-04 20:36:28 +00:00
Willem Jan Palenstijn
51f7c4c525 SCI: Fix precedence error in comment
svn-id: r54071
2010-11-04 19:45:38 +00:00
Filippos Karapetis
5bab2d570b SCI: Set undither to on by default again, like it was.
From our current stance, this is a game enhancement, and should be on by default, like the rest of the game enhancements (AGI mouse, save/load replacement etc)

svn-id: r54070
2010-11-04 19:19:07 +00:00
Willem Jan Palenstijn
7e6aa1b4a9 SCI: Use gamma 2.2 for blending undithered colours
svn-id: r54069
2010-11-04 19:17:44 +00:00
Martin Kiewitz
bb716c23fa SCI: adding force to memorial area for SQ3/intro
makes the view getting fully undithered

svn-id: r54068
2010-11-04 18:37:03 +00:00
Willem Jan Palenstijn
92841e9832 GUI: Fix build with readline enabled
svn-id: r54067
2010-11-04 16:09:20 +00:00
Filippos Karapetis
1dac4fbd55 SCI/SCUMMVM: Added an option to enable the dithering removal algorithm (so called "undithering") in the graphics options tab. The algorithm is now disabled by default, after popular demand. In retrospect, we really shouldn't have made it default, in order to preserve the authenticity of the graphics in early SCI EGA games, and allow the user to opt in and enable the option if needed. Unfortunately, the lack of an easy way to modify the option made it hard to do so.
svn-id: r54066
2010-11-04 15:58:53 +00:00