Commit Graph

42077 Commits

Author SHA1 Message Date
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
John Willis
b7f1e3b239 GPH: Update README-GPH to suggest even more WiKi reading.
svn-id: r54064
2010-11-04 14:12:30 +00:00
Arnaud Boutonné
bf787323ab TOOL: Fix ticks per seconds for H1 Dos
svn-id: r54063
2010-11-04 12:29:06 +00:00
David Turner
224f93cf0e GOB: Extended workaround for Goblin Stuck On Reload to cover bug #3065914
This generalises the workaround added for bug #3018918 i.e. UOTODDV issue, to cover the
ICVGCGT case and hopefully all future cases, by executing the variable correction during
the reload after Game Over and using the variable read by the script triggering the movement lock, rather than the movement lock variable (59) itself as this may not be set until a later script.

svn-id: r54061
2010-11-04 06:28:51 +00:00
Yotam Barnoy
f5bfae598c PSP: cleaning up some stuff from plugin merge
svn-id: r54060
2010-11-04 06:28:34 +00:00
Yotam Barnoy
50d2f7a6be DS: moved build-ds.sh to DS directory. It's currently unused but has a good way of reducing dynamic size
svn-id: r54059
2010-11-04 06:22:24 +00:00
Yotam Barnoy
3fedacdb43 DC: remove multi-build of dc-provider that slipped in with plugin merge.
svn-id: r54058
2010-11-04 05:51:58 +00:00
Max Horn
99cf0e3936 COMMON: Undo changes to common/ptr.h, remove Common::ScopedPtrC
The deletePointer() method approach cannot work, as it is called
by the destructor of the base class.
A possible correct solution would be to enhance ScopedPtr with a
"deleter" object like SharedPtr. But this seems overkill as long as we
need it in only one place.

svn-id: r54057
2010-11-04 00:49:12 +00:00
Max Horn
44c6a90643 LUA: Tweak lua_ident to not conflict with SVN keywords (since this is not used at all, only used to 'mark' binaries compiling Lua in, I think we could safely remove it, too)
svn-id: r54056
2010-11-04 00:31:50 +00:00
Max Horn
0f7645dda9 Trying to fix weird keyword expansion quirk
svn-id: r54055
2010-11-04 00:13:23 +00:00
Arnaud Boutonné
4246afcb0e HUGO: Fix 'exit' command in DOS versions
svn-id: r54054
2010-11-03 23:56:34 +00:00
Yotam Barnoy
13b904d282 Merge from gsoc2010-plugins
This merge was extremely difficult to carry out. It wasn't entirely SVN's fault -- there were several merges to the branch that were done by hand. Please check for any issues and regressions. Also note that the DS makefile was not copied over since the "one at a time" plugin mode currently has too much fragmentation ie. it doesn't work.

svn-id: r54051
2010-11-03 22:01:01 +00:00
Paul Gilbert
0ac1eb82c6 M4: Changed debug calls to debugCN since they all have newlines
svn-id: r54047
2010-11-03 09:44:03 +00:00
Yotam Barnoy
e56a3747d2 Dummy file creation through SVN to allow merging gsoc plugins via mercurial
svn-id: r54046
2010-11-03 06:23:16 +00:00
Max Horn
0c018bf392 SWORD25: cleanup
svn-id: r54045
2010-11-03 00:19:28 +00:00
Arnaud Boutonné
c6ddf22057 HUGO: Fix typo... sorry
svn-id: r54044
2010-11-02 23:22:25 +00:00
Arnaud Boutonné
ffa455bef9 HUGO: Fix cypher for v1 Dos
svn-id: r54043
2010-11-02 23:16:28 +00:00
Filippos Karapetis
db133990e9 SCI: Properly cast the results of kTimesSin and kTimesCos to 16-bit integers
svn-id: r54042
2010-11-02 16:07:22 +00:00
John Willis
7f354ac7e0 OPENPANDORA: Add FORBIDDEN_SYMBOL_ALLOW_ALL define to enable use of forbidden symbols.
svn-id: r54041
2010-11-02 11:20:43 +00:00
Max Horn
438da9b220 SWORD25: Convert printf to debugN
svn-id: r54040
2010-11-02 09:50:45 +00:00
Max Horn
8047f79a46 M4: Convert last few printfs to debug
svn-id: r54039
2010-11-02 09:50:29 +00:00
Max Horn
7cf7b198ad M4: Remove redundant fflush calls
svn-id: r54038
2010-11-02 09:50:14 +00:00
Max Horn
ba3e826872 SCI: Remove any use of printf
svn-id: r54037
2010-11-02 09:49:47 +00:00
Max Horn
31bf3a4137 MADE Remove now redundant fflush call
svn-id: r54036
2010-11-02 09:49:07 +00:00
Paul Gilbert
97a0c281eb M4: Converted all printf's to debug
svn-id: r54035
2010-11-02 00:51:12 +00:00
Paul Gilbert
274fbd028d M4: Added function pointers to the the script engine data map list
svn-id: r54034
2010-11-02 00:15:18 +00:00
Paul Gilbert
997625c3b3 M4: Reworked dumpFile to use Common::DumpFile
svn-id: r54033
2010-11-02 00:13:04 +00:00
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