Commit Graph
86814 Commits
Author SHA1 Message Date
John Willis fd407eeca3 GP2XWIZ: Refactor backend.
* Add support for TouchScreen 'Tap Modes'
  Left Click, Right Click and Hover.
* Rename OSystem_GP2XWIZ to OSystem_GPH to 
  start the work on supporting a unified 
  backend codebase for the GP2X, Wiz and
  Caanoo.
* Sort out bugs in Caanoo input code.
* Rework GP2XWiz input code to support
  switching new TouchScreen modes.

svn-id: r52619
2010-09-07 14:17:31 +00:00
Willem Jan Palenstijn 532663c742 COMMON: Fix edge case for wildcard in matchString
svn-id: r52618
2010-09-07 11:40:44 +00:00
Willem Jan Palenstijn 0e80aa7088 TESTS: Add more Rational (in)equality tests
This tests for the bug fixed by r52535, among other things.

svn-id: r52617
2010-09-07 09:19:25 +00:00
Willem Jan Palenstijn 8f1143bfdc COMMON: Remove Rational::operator int/double
This prevents accidental implicit rounding
and might also fix compilation on AmigaOS4 (bug #3060981).

svn-id: r52616
2010-09-07 09:02:46 +00:00
Filippos Karapetis dd0095f1a2 SCI: Added parentheses inside GfxScreen::isFillMatch() to make the code more
readable

svn-id: r52615
2010-09-07 08:12:59 +00:00
Filippos Karapetis b2464a9bd1 SCI: Slight change in GfxPicture::vectorFloodFill()
Changed bitwise XOR operations to bitwise NOT AND, to make the code a bit easier
to understand

svn-id: r52614
2010-09-07 07:41:28 +00:00
Andre Heider fd4189180d PLUGINS: Fix warning when not using the ELF loader.
svn-id: r52613
2010-09-06 22:18:10 +00:00
Andre Heider 83a931dac0 PLUGINS: Only resolve __dso_handle if loading was successful.
svn-id: r52612
2010-09-06 22:17:46 +00:00
Andre Heider d3ea6265ba PLUGINS: Formatting.
svn-id: r52611
2010-09-06 22:17:23 +00:00
Johannes Schickel c42e2f3a55 PARALLACTION: Use a char array for static data instead of String.
svn-id: r52610
2010-09-06 21:17:26 +00:00
Johannes Schickel 15b57549ad COMMON: Some style fixes.
svn-id: r52609
2010-09-06 21:04:33 +00:00
Johannes Schickel f56f093770 CINE: Get rid of needless static variable.
svn-id: r52608
2010-09-06 21:04:12 +00:00
Andre Heider ae408db07f PLUGINS: Use the C++ ABI to call dtors when unloading a plugin.
Avoid linking all plugins against libstdc++ to free up some memory
(about ~40kb on Wii per plugin). Enable it on GameCube, Wii, DS and PSP
(PS2 doesn't have __cxa_atexit support in its libc).

svn-id: r52607
2010-09-06 20:34:00 +00:00
Martin Kiewitz 624d06b684 SCI: extending comment for prev. commit
svn-id: r52606
2010-09-06 19:03:55 +00:00
Martin Kiewitz d618678982 SCI: dont play audio on kDoSound in hoyle4
hoyle4 has garbled audio data

svn-id: r52605
2010-09-06 19:00:43 +00:00
Martin Kiewitz 2bf82a8354 SCI: fix regression of r52569
fade in/out of samples

svn-id: r52604
2010-09-06 18:23:03 +00:00
Matthew Hoops c78a63460b VIDEO: Skip multiple tags in a QuickTime stsd entry
Fixes crashes when playing two videos in Riven DVD (card 262). Note that the videos still don't display properly because of a bug in QTRLE 16bpp. For the record, FFmpeg doesn't handle this properly either.

svn-id: r52603
2010-09-06 18:15:51 +00:00
Eugene Sandulenko 6c980b3593 CONFIGURE: Wrap usage help around 80 columns
svn-id: r52602
2010-09-06 18:13:39 +00:00
John Willis 871aa65a83 CONFIGURE: Remove 16Bit graphics support from the GP2X backend.
This should not have been committed with r52600, 
the GP2X backend refactor it needs is not yet ready to commit.

svn-id: r52601
2010-09-06 18:06:47 +00:00
John Willis fdb2a58bc2 CONFIGURE: Add support for the OpenPandora backend.
svn-id: r52600
2010-09-06 17:35:27 +00:00
John Willis 2e1b4278e2 SDL: Add masks to the SDL backend to support the OpenPandora backend.
svn-id: r52599
2010-09-06 17:28:17 +00:00
John Willis e81dad8e61 OPENPANDORA: Commit basic version of the OpenPandora backend.
Overload of the SDL backend.
Basic functional backend with support for most main ScummVM features and engines.
Supports building to a .PND OpenPandora bundle for ease of use on the device.

svn-id: r52598
2010-09-06 17:22:22 +00:00
Florian Kagerer c87b7aafd8 LOL: Add md5 for another English floppy version
svn-id: r52597
2010-09-06 16:50:20 +00:00
Arnaud Boutonné be53141091 HUGO: Clean up creation tool
Fix typos and suppress all identical noun arrays. 

svn-id: r52596
2010-09-06 16:09:56 +00:00
Walter van Niftrik ba6bc8f17b SCI: AdLib: process patch change commands when playswitch is off.
svn-id: r52595
2010-09-06 16:09:19 +00:00
Matthew Hoops c54a97005f VIDEO: Apply patch #3057924 with some changes
Patch #3057924 is "QuickTimeDecoder: Scaling x and y separately". Thanks to kreegee for the patch and fuzzie for fixing a couple bugs with it.

svn-id: r52594
2010-09-06 15:15:59 +00:00
Matthew Hoops df7158c0ee COMMON: Add a debugPrint function to Rational
svn-id: r52593
2010-09-06 14:59:13 +00:00
Yotam Barnoy c2cafe426e PLUGINS: used variation of ScopedPtr to clean up load() function
svn-id: r52592
2010-09-06 13:31:27 +00:00
Martin Kiewitz 6eecc485d2 SCI: fix warning (and actual error)
svn-id: r52591
2010-09-06 12:16:21 +00:00
Arnaud Boutonné 2bea43357f HUGO: Add hints in DOS versions
In DOS versions, display hints when mouse is over a
hotspot. This behavior is based on the one of Hugo Win
versions.

svn-id: r52590
2010-09-06 12:09:11 +00:00
Yotam Barnoy b77fd21969 PLUGINS: fixed MIPS plugin loader
Adjusted to new VMA handling and fixed a few errors which caused crashes. Also removed unneeded expansion of alignment value.

svn-id: r52589
2010-09-06 12:04:30 +00:00
Yotam Barnoy a3190a5bb5 PLUGINS: added missing call in destructor which caused crashing
svn-id: r52588
2010-09-06 12:03:15 +00:00
Martin Kiewitz da45fcfeb2 SCI: add patch for cannister lockup pharkas/cd
scripts disable icon 7+8 when entering the room. When taking the cannister they will disable all remaining icons, resulting in the disable-code running endlessly, also happend in sierra sci - fixes bug #3046367

svn-id: r52587
2010-09-06 11:58:28 +00:00
Filippos Karapetis 397f883698 SCI: Fixed an off-by one access error in the static selectors of some games
svn-id: r52586
2010-09-06 11:30:26 +00:00
Martin Kiewitz bab5050531 SCI: fixing code
thx to tortoisegit and broken conflict managment

svn-id: r52585
2010-09-06 10:41:14 +00:00
Martin Kiewitz c342c0e3d8 SCI: fix regression of r52565
remove class bit when marking as clone

svn-id: r52584
2010-09-06 10:39:42 +00:00
Lars Skovlund e3e9bac6f6 SCI: Clear class bit when cloning objects.
This fixes a regression affecting many SCI32 games and possibly other games,
looping or recursing endlessly.

svn-id: r52583
2010-09-06 10:11:07 +00:00
Johannes Schickel f51c3ad62e BUILD: Don't pass -fcheck-new to clang.
svn-id: r52582
2010-09-05 23:17:52 +00:00
Filippos Karapetis fddb0f6c15 Partial fix for bug #3059871 - "SCI Fanmade - Ocean Battle: Crash while playing"
The fix is partial, as the game will crash when losing and attempting to
restart (for a different reason - there's an issue when uninstantiating a script)

svn-id: r52581
2010-09-05 23:14:42 +00:00
Andre Heider a7ff124dfd MERGE: Merge trunk to branch again to test r52579.
svn-id: r52580
2010-09-05 23:12:03 +00:00
Johannes Schickel f69bfaf355 KYRA: Get rid of local static non-POD object.
This fixes crashes with the plugins branch for dhewg.

svn-id: r52579
2010-09-05 22:56:25 +00:00
Johannes Schickel b6663bb942 KYRA: Constify some tables.
svn-id: r52578
2010-09-05 22:56:03 +00:00
Andre Heider cd5e62bbe8 PLUGINS: Added _segmentVMA to the MIPS loader.
Also added 2 TODOs for all loaders not respection that offset.

svn-id: r52577
2010-09-05 22:00:41 +00:00
Andre Heider 364acaae45 PLUGINS: Remove spurious extra allocation.
Elf32_Phdr.p_align is to align the memory location of the loaded
segment, not to extend its size. The size of the scratch area
(like .bss and .sbss) is p_memsz-p_filesz, which has to be set to
zero by the loader.

svn-id: r52576
2010-09-05 22:00:19 +00:00
Andre Heider 4c7f5084c2 PLUGINS: Plug some memleaks.
svn-id: r52575
2010-09-05 21:59:50 +00:00
Andre Heider a4c9de25e6 PLUGINS: Move doxygen to the base class header.
No point in documenting it on every derived class.

svn-id: r52574
2010-09-05 21:59:29 +00:00
Andre Heider a318934e45 PLUGINS: Add missing variable initialization.
svn-id: r52573
2010-09-05 21:59:07 +00:00
Andre Heider d8b85ffcb8 PLUGINS: Formatting.
Misformatted casts in an earier commit, oops.

svn-id: r52572
2010-09-05 21:58:45 +00:00
Arnaud Boutonné 8bd741d41b HUGO: Add support for multiple scenery files
This is used by H3Dos only.

svn-id: r52571
2010-09-05 20:37:38 +00:00
Martin Kiewitz 9b59496533 SCI: adding patch for script bug in pharkas/cd
patches out bad code that would dispose score sound immediately, "score" sound plays now for pharkas/cd - finally fixes bug #3037161

svn-id: r52570
2010-09-05 20:04:46 +00:00