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
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
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
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
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
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
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
Martin Kiewitz
1856723a9e
SCI: ignore kDoSound volume changes on samples
...
svn-id: r52569
2010-09-05 19:34:26 +00:00
Martin Kiewitz
6ffbe90130
SCI: sierra sci ignores vol for kDoSound samples
...
now "score" is halfway playing, but it's cut so only "s" is played. Needs to get further investigated
svn-id: r52568
2010-09-05 19:25:08 +00:00
Martin Kiewitz
49c8d1a549
SCI: kClone cleanup
...
and fixing possible crash & typo
svn-id: r52565
2010-09-05 15:34:25 +00:00
Martin Kiewitz
13e24af0ca
SCI: adjusting comment on kClone change
...
svn-id: r52563
2010-09-05 15:11:22 +00:00
Martin Kiewitz
d817bec4fd
SCI: merging -info- stuff in Clone/DisposeClone
...
svn-id: r52562
2010-09-05 15:09:50 +00:00
Johannes Schickel
2a08124f0f
SCI: Fix bugs #3035650 and #3039566 , crash in PEPPER demo and LAURABOW2.
...
The actual names for the bug reports are:
#3035650 "PEPPER non-interactive demo: Crash"
#3039566 "LAURABOW2: Crash during introduction"
Those crashes were caused by an invalid memory dereference in kClone. This
in turn was happening, because the parent object pointer might have been
invalidated in cases where the parent object is also a clone.
svn-id: r52561
2010-09-05 14:59:09 +00:00
Martin Kiewitz
4766cc5bb5
SCI: reuse kGetAngle from kDoAvoider
...
svn-id: r52560
2010-09-05 13:51:47 +00:00
Martin Kiewitz
d5d5dde56b
SCI: dont do global scaling on non-scaleable views
...
lb2floppy: scripts get confused in the rat scene, when scaleX/Y are set with applied global scaling. This results in kInitBresen to get called almost endlessly, which results in ego slowing down to a crawl and not being able to reach the upper right exit - fixes bug #3050606
svn-id: r52559
2010-09-05 12:55:15 +00:00
Filippos Karapetis
fe2924d50d
SCI: initialize members of the Object class when it's constructed
...
svn-id: r52544
2010-09-05 12:33:27 +00:00
Filippos Karapetis
f17a9f9fb0
SCI: Changed consecutive ifs to a switch
...
A table would be better, but the switch will do for now
svn-id: r52543
2010-09-05 11:30:40 +00:00
Filippos Karapetis
047979b409
SCI: Fix for alignment exception issue, reported by Bluddy
...
svn-id: r52542
2010-09-05 11:10:49 +00:00
Filippos Karapetis
913f39da19
SCI: Some cleanup of the static selector code
...
- Added more static selectors, for debugging
- Added some needed selectors for the non-interactive demo of Pepper
svn-id: r52541
2010-09-05 10:59:44 +00:00
Filippos Karapetis
7dcb19e41b
SCI: Added a workaround for the non-interactive demo of Pepper
...
svn-id: r52540
2010-09-05 10:55:25 +00:00
Filippos Karapetis
16bed50469
SCI: Fixed script bug #3059544 - "KQ6CD: Error when looking at rotten tomato"
...
svn-id: r52539
2010-09-05 09:27:41 +00:00
Matthew Hoops
34f570419a
MOHAWK: Cleanup
...
- Split the main Riven event loop into a separate function for readability and for use in the sunner external functions eventually
- Some minor function signature changes (const!)
- Rename matchVarToString() to getVar() (I have no idea where that original name came from, considering it takes a string and returns a variable
- Use solely Common::String in getVar()
svn-id: r52538
2010-09-05 00:48:38 +00:00
Andre Heider
f8ff771b8e
WII: New disttarget 'wiiloaddist'
...
Uploads a .zip file to HBC to unpack to the used storage media.
svn-id: r52536
2010-09-05 00:36:27 +00:00
Matthew Hoops
a960ac66ce
COMMON: Fix Rational::operator!=(int)
...
svn-id: r52535
2010-09-04 23:45:23 +00:00