44183 Commits

Author SHA1 Message Date
Johannes Schickel
e04d983f68 SDL: Use the SDL_Surface's pitch in copyRectToScreen.
This fixes messed up graphics, when SDL decides to add padding bytes to the
lines of an SDL_Surface. Formerly the code always calculated the pitch via
w*bpp, which of course does not work in all cases.
2011-02-24 04:24:58 +01:00
md5
9ad4ad1abc SCI: Fixed two bugs related to music fading
- bug #3037594: "KQ5: Music not fading when brigands leave temple"
- bug #3044844: "LONGBOW: Intro skips each first verse of song"
2011-02-24 02:17:28 +02:00
md5
0f9ad1a52f SCI: Added a patch for script bug #3034579 - "KQ6CD: Missing speech" 2011-02-24 00:10:01 +02:00
dhewg
89986edf4d HAIKU: Remove -fhuge-objects.
Not required anymore, patch by Begasus
2011-02-23 19:27:23 +01:00
dhewg
0032db14ab ANDROID: Sync toolchain flags with NDK r5b. 2011-02-23 19:27:14 +01:00
Matthew Hoops
336186900d SCI: Don't name a variable the same as its function
Silences a gcc warning
2011-02-23 13:01:01 -05:00
md5
5c9b1e6cbd SCI: Added a workaround for bug #3036763 - "HOYLE3 Demo: Bad Dialog Priorities" 2011-02-23 13:36:31 +02:00
md5
a01395bb45 SCI: Cleaned up and segmented the animate code in order to make it a bit more readable 2011-02-23 13:28:17 +02:00
Paul Gilbert
0d6069e571 CRUISE: Bugfix for #3188309 - black text at end of introduction 2011-02-23 19:47:07 +11:00
md5
db7dea36cf SCI: Fixed bug #3049515 - "MOTHERGOOSE CD: Tommy Tucker lock-up" 2011-02-23 01:49:17 +02:00
Bastien Bouclet
285d33d9c2 MOHAWK: Implement Mechanical elevator top movie 2011-02-22 20:38:55 +01:00
Bastien Bouclet
e507115405 MOHAWK: Implement Mechanical elevator movies 2011-02-22 20:38:54 +01:00
Bastien Bouclet
bc39d327ac MOHAWK: Implement Mechanical elevator rotation 2011-02-22 20:38:54 +01:00
md5
a9620d938d SCI: Some work on kRemapColors, and added a note that it operates on an RGBA
palette
2011-02-22 19:11:35 +02:00
md5
8e7178a538 SCI: Fixed the detection entries for PQ4CD and QFG4CD 2011-02-22 19:06:29 +02:00
md5
cf904b1156 SCI: Added code to aid in detecting infinite loops in scripts
When the ABORT_ON_INFINITE_LOOP define is defined in vm.cpp, the VM will now
abort in cases where a conditional statement is followed by an unconditional
jump (which will most likely lead to an infinite loop). Aids in detecting
infinite loop bugs such as #3040722.
2011-02-22 18:52:44 +02:00
D G Turner
07c054d6c6 CRUISE: Reinstate Copy Protection errorneously disabled in r51834.
r51834 (f4d38ccd407f2a007050d69e4841ba7fc53cd401) was a commit to add
English Floppy version of LoL to Kyra, but a file was accidently
committed to Cruise as a sideffect.
2011-02-22 07:17:22 +00:00
Matthew Hoops
6db22dde64 SCI: Fixed freddy's Mac icon bar palettes
(hopefully for good now)
2011-02-21 20:32:30 -05:00
Matthew Hoops
4402153a09 SCI: Fix disabled Mac icon pseudo-shading 2011-02-21 20:32:24 -05:00
md5
ff597ec048 SCI: Added support for patching save/load dialogs in SCI2 games 2011-02-22 01:51:50 +02:00
Matthew Hoops
0ec91de76d SCI: Spell 'canister' correctly 2011-02-21 17:09:45 -05:00
md5
4766774b3d SCI: Fixed script bug #3040722 in QFG3 2011-02-21 20:43:54 +02:00
md5
8a52e4bf00 SCI: Throw a warning instead of an error if there ever is a modulus calculation
with negative numbers in SCI0 games older than 0.000.685
2011-02-21 06:37:03 +02:00
md5
969a96622d SCI: SCI1.1 script also compare pointers with integers (e.g. QFG3, room 440) 2011-02-21 05:22:08 +02:00
md5
601e8c0de1 SCI: Added a custom modulo reg_t operator
This version only handles signed integers. The modulo operator was changed in
SCI0 late (Iceman, and perhaps all SCI0 0.000.685 and later) so that it handles
negative numbers as well. We need to see if there really is a need to keep two
different modulo operators (which will only be necessary if any SCI0 game asks
for the modulo of a negative number by mistake, or a number larger than 32767).
Thus, error out in such a case for SCI0, so that this can be investigated
properly
2011-02-21 05:18:21 +02:00
Johannes Schickel
9afc89e67c GRAPHICS: Let PNG::getPalette take an uint16 for the palette entry count.
This is in analogy to r55742 / 2f08dcb.

I also took the freedom to clarify that the PNG loader uses a RGBA palette
format.
2011-02-20 21:43:24 +01:00
Johannes Schickel
22489cbf8e TESTBED: Adapt documentation to the palette RGBA->RGB change. 2011-02-20 21:39:30 +01:00
Johannes Schickel
10c7c5327a CRUISE: Remove leftover RGBA reference. 2011-02-20 21:39:29 +01:00
Johannes Schickel
bb2daae936 AGI: Remove leftover RGBA reference in comments. 2011-02-20 21:39:29 +01:00
Johannes Schickel
75ee5af7c9 GRAPHICS: Remove leftover RGBA reference in PaletteManager documentation. 2011-02-20 21:38:40 +01:00
Johannes Schickel
16be240ab1 KYRA: Fix regression in Screen::setInterfacePalette.
This fixes an out of bounds write introduced with 9216c7e.
2011-02-20 21:37:39 +01:00
Matthew Hoops
0933325b7c SCI: Add support for enabling/disabling Mac icon bar images 2011-02-20 12:44:59 -05:00
Matthew Hoops
257bae431a SCI: Fix KQ6 Mac video positioning 2011-02-20 12:44:59 -05:00
Matthew Hoops
dceb1391cb SCI: Cache all icon bar images from the start 2011-02-20 12:44:59 -05:00
Matthew Hoops
fe250d2755 SCI: Don't error out when a Mac resource has size 0 2011-02-20 12:44:59 -05:00
Alyssa Milburn
0fe3ecd6d7 MOHAWK: Don't display LiveText phrases too early. 2011-02-20 13:46:13 +01:00
Alyssa Milburn
42ec234a1f MOHAWK: Make LBLiveTextItem call done() when finished. 2011-02-20 13:46:12 +01:00
Alyssa Milburn
00f85fb580 MOHAWK: Fix kLBAutoSync notifies. 2011-02-20 13:45:34 +01:00
Alyssa Milburn
9fa6b48e1a MOHAWK: A zero matchFrom matches everything. 2011-02-20 13:45:33 +01:00
dhewg
2f312e9e1a DS: Disable symbol garbage collection
Only applies when using loadable modules.
This requires a second compile run or black voodoo linker tricks.
Not implemented at this time. Disable it, so we get DS build failure
reports from buildbot (which are useful with all the DISABLE_EVERYTHING
defines).
The resulting binary might be too big to be usable.
2011-02-20 13:09:36 +01:00
Alyssa Milburn
805acaa81e MOHAWK: Ignore out-of-bounds LB words. 2011-02-20 12:45:15 +01:00
Alyssa Milburn
417dd6314b MOHAWK: Fix LB palettes which don't start at 0.
(Thanks to LordHoto for pointing out this was crazy.)
2011-02-20 12:36:21 +01:00
dhewg
adf6c8f09e SCUMM: More DISABLE_TOWNS_DUAL_LAYER_MODE mess
Uglify more code to fix compilation for DS
Only compile-tested
2011-02-20 12:09:58 +01:00
dhewg
9d7548b2a1 NEWS: Mention recent android fixes 2011-02-20 12:09:56 +01:00
dhewg
cc129d94ca NEWS: Mention Wii fix from 50129178 2011-02-20 12:09:51 +01:00
dhewg
33f3c1bc98 NEWS: Mention merged GSoC tasks 2011-02-20 12:09:45 +01:00
strangerke
98cd1b6e0c MOHAWK: Add detection strings for Harry and the Haunted House 2011-02-20 11:54:45 +01:00
strangerke
38f70f66f0 HUGO: Fix crash when Hugo.dat not found (or wrong version detected) 2011-02-20 11:33:17 +01:00
strangerke
93f25b73be HUGO/TOOLS: reorder things in HUGO.DAT, move from RGBA to RGB 2011-02-20 11:32:00 +01:00
md5
ae88f41596 SCI: Slight cleanup 2011-02-20 12:20:40 +02:00