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
Andre Heider
284b23092b
SAVES: Revert whitespace changes to minimize the diff to trunk.
...
svn-id: r52567
2010-09-05 15:48:22 +00:00
Andre Heider
8889f4c5ad
PLUGINS: Set svn:keywords property on all new files.
...
svn-id: r52566
2010-09-05 15:47:04 +00:00
Martin Kiewitz
49c8d1a549
SCI: kClone cleanup
...
and fixing possible crash & typo
svn-id: r52565
2010-09-05 15:34:25 +00:00
Andre Heider
09834b8bec
MERGE: Merge trunk to branch.
...
svn-id: r52564
2010-09-05 15:26:00 +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
Andre Heider
402c71860f
PLUGINS: Make the file stream a member of DLObject.
...
No point in passing it to functions all over the place. Release the
stream when it's not required anymore.
svn-id: r52558
2010-09-05 12:53:15 +00:00
Andre Heider
3b2a9734d1
PLUGINS: Type cleanup.
...
Use our types, get rid of some casts.
svn-id: r52557
2010-09-05 12:52:49 +00:00
Andre Heider
c4a88559a5
PLUGINS: Move platform specific code out of the generic ELF loader.
...
Instead overwrite pure virtual functions in a backend specific class.
svn-id: r52556
2010-09-05 12:52:17 +00:00
Andre Heider
86f4dbd956
PLUGINS: Move all ELF loader related files to its own directory.
...
svn-id: r52555
2010-09-05 12:51:25 +00:00
Andre Heider
a9a615a867
WII: Add plugins to the distribution.
...
svn-id: r52554
2010-09-05 12:49:50 +00:00
Andre Heider
13770ce9cd
PLUGINS: Plugin support for the GameCube/Wii backend.
...
svn-id: r52553
2010-09-05 12:49:29 +00:00
Andre Heider
5986aa96f2
PLUGINS: Formatting.
...
svn-id: r52552
2010-09-05 12:39:28 +00:00
Andre Heider
c5a189f4d5
PLUGINS: Respect the VMA when relocating.
...
Plugins do not have to be linked at 0x0. Some platforms have limited
relocation jump offsets, which makes 0x0 unusable.
svn-id: r52551
2010-09-05 12:38:58 +00:00
Andre Heider
ee2f4ef189
PLUGINS: Properly check the ELF header.
...
The ELFMAG is only 4 bytes, not 6. Properly check for endianess.
svn-id: r52550
2010-09-05 12:38:38 +00:00
Andre Heider
628842d457
PLUGINS: The VMA doesn't get added to any PHDR.
...
svn-id: r52549
2010-09-05 12:38:18 +00:00
Andre Heider
253a0aa7f9
PLUGINS: Fix warnings.
...
svn-id: r52548
2010-09-05 12:37:59 +00:00
Andre Heider
07e3a42224
PLUGINS: Cleanup includes and debug output.
...
Use the common debug functions instead of spamming #defines.
svn-id: r52547
2010-09-05 12:37:36 +00:00
Andre Heider
2c746709aa
PLUGINS: Flush only memory ranges, not everything
...
svn-id: r52546
2010-09-05 12:37:07 +00:00
Andre Heider
4ac6c6a1dd
DS: Enable debug level 2 when DISABLE_TEXT_CONSOLE is not set.
...
svn-id: r52545
2010-09-05 12:36:46 +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
61cc69baf0
WII: Merge r52536 from trunk.
...
svn-id: r52537
2010-09-05 00:41:59 +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
Andre Heider
9c495a23b2
DS: Merge r52533 from trunk.
...
svn-id: r52534
2010-09-04 22:26:12 +00:00
Andre Heider
7248efb178
DS: Enable stdout/err via nocash when DISABLE_COMMAND_LINE in not set.
...
svn-id: r52533
2010-09-04 22:19:20 +00:00
Matthew Hoops
aa5cd3e682
MOHAWK: Ignore invalid Riven hotspots again
...
There is at least one example of a bad hotspot in Riven (tspit
371 (377 in the DVD version), hotspot 4). This particular hotspot is a zip hotspot which looks like it has its left and right coordinates reversed. However, the zip hotspot would only take the player to the same card as the non zip hotspot so it seems they removed this hotspot with a hack. This fixes a regression from r52487.
svn-id: r52532
2010-09-04 21:43:16 +00:00
Martin Kiewitz
e55c928075
SCI: kDoBresen changes for sci1early+
...
including change to compare dest and current position directly, otherwise we would trigger ::moveDone one cycle too late in case the current move completed - fixes lsl5 patti upside down bug #3059336 and lb2cd (cd only!) laura bow getting transformed into a boiler-flame (bug #3050602 ) - lsl5 was not a real regression, the timing of previous kDoBresen way just off, so it didn't happen in that scene, but happened in lb2cd
svn-id: r52531
2010-09-04 18:23:37 +00:00
Eugene Sandulenko
3972091734
SCUMM: Patch #3059327
...
Patch #3059327 : "Remove untrue "not yet implemented" from inventory controls"
svn-id: r52530
2010-09-04 18:03:35 +00:00
Johannes Schickel
8733cdb900
HUGO: Formatting.
...
svn-id: r52529
2010-09-04 17:30:39 +00:00
Torbjörn Andersson
871064b3c7
HUGO: Add destructor to Scheduler class
...
GCC complained, and I think this is what it wanted.
svn-id: r52528
2010-09-04 17:22:27 +00:00
Filippos Karapetis
3daf588e08
SCI: Janitorial - fixed spaces and typos
...
svn-id: r52527
2010-09-04 17:16:41 +00:00
Filippos Karapetis
98f36800e3
SCI: Added another version of Hoyle 3 (bug report #3038837 )
...
svn-id: r52526
2010-09-04 17:10:27 +00:00
Arnaud Boutonné
a29ae44296
HUGO: Fix decryption in H2 DOS, plus some cleanup
...
svn-id: r52525
2010-09-04 16:02:16 +00:00
Filippos Karapetis
34195238bb
SCI: Don't try to initialize non-existent scripts, error out instead
...
(Invalid scripts may be requested to be loaded when warping to an incorrect room)
svn-id: r52524
2010-09-04 15:38:24 +00:00
Filippos Karapetis
8a93da0516
SCI: Updated comment concerning kCantBeHere and removed a wrong check for Hoyle 3
...
svn-id: r52523
2010-09-04 14:46:29 +00:00
Ori Avtalion
b876527014
SOUND: Remove semicolon
...
svn-id: r52522
2010-09-04 13:19:49 +00:00
Florian Kagerer
37d28b2fe5
FM-TOWNS AUDIO: minor fix in cd audio volume setting
...
svn-id: r52521
2010-09-04 11:40:24 +00:00
Martin Kiewitz
7836bb87fd
SCI: fixing typo in kDoAvoider
...
svn-id: r52520
2010-09-04 11:27:03 +00:00