Commit Graph

53868 Commits

Author SHA1 Message Date
Alyssa Milburn
f917a4beab TONY: Use Common::String in writeText.
This uses an array of lines rather than trying to stick nulls into
the string, and so fixes wrapping on hyphens (which overwrote the
character before the hyphen). Thanks to eriktorbjorn for both
finding the bug and working out what was going wrong.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
af134e0244 TONY: Animate mouse cursors.
This restores the forgotten doFrame code for RMPointer, which fixes
the bird mouse cursor. Thanks to eriktorbjorn for noticing it.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
aa603bc208 TONY: Mark screen dirty in RMGfxClearTask.
This fixes the "A LONG TIME AFTER..." screen when talking to the old
woman in the booth. Thanks to eriktorbjorn for noticing it.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
7815c05220 TONY: Use the right dirty rects for drawAA.
This makes it match the relevant non-AA code, and fixes problems
due to the invalid rects. (Perhaps we don't need dirty rects here
at all though, since all the callers seem to call the non-AA code
first with the same parameters?)
2012-08-25 08:41:21 +02:00
Alyssa Milburn
68c6109e76 TONY: Draw the dirty rectangle debugging last.
Otherwise the rects are overwritten by the actual drawing.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
0163bd38e8 TONY: Fix background dirty rect handling.
Reset the scrolling state on load, so that when a new scene is
loaded, the background is redrawn. Also, revert the workaround
in d0d15af9, since this (hopefully) fixes the underlying problem.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
61b11037c3 TONY: Ignore draw attempts with non-positive width/height.
This avoids an invalid dirty rect (width -1) during the
introduction scene inside Halloween Park.
2012-08-25 08:41:21 +02:00
Matthew Hoops
dcdb40f79e VIDEO: Adjust start time after calling rewind() in start()
This wasn't an actual bug, but it makes more sense this way
2012-08-23 23:11:09 -04:00
Matthew Hoops
829c836e0b VIDEO: Update the isPlaying() comment 2012-08-23 22:45:48 -04:00
Paul Gilbert
bad6ec8388 TONY: Fixed problem with spoken voices being clipped when timed text mode is on. 2012-08-23 22:05:23 +10:00
Paul Gilbert
93e10b5210 TONY: Removed some debug warnings which aren't needed any longer 2012-08-23 22:05:22 +10:00
Alyssa Milburn
b1486aa5fe TONY: Fix spelling of setStretch. 2012-08-22 21:56:12 +02:00
Alyssa Milburn
93f145773e TONY: Fix saveSoundSettings to use setInt for talkspeed. 2012-08-22 21:52:22 +02:00
Alyssa Milburn
c340739001 TONY: Replace _vm with g_vm. 2012-08-22 21:51:51 +02:00
Paul Gilbert
482c1a71b0 TONY: Removed some TODO warnings that aren't needed any longer 2012-08-22 22:28:08 +10:00
Bastien Bouclet
1d58ebe133 PS3: Force use of freetype from ps3toolchain 2012-08-21 16:21:10 +02:00
Filippos Karapetis
a391599403 SCI: Update a comment 2012-08-21 11:55:21 +03:00
Filippos Karapetis
7d436622a8 SCI: More work on kRemapColors
This implements some more color remap-based palette effects, found in QFG4
2012-08-21 03:32:23 +03:00
Filippos Karapetis
1a61056b06 SCI: Extend a workaround for the dream sequence in QFG4 2012-08-21 03:32:21 +03:00
Filippos Karapetis
9568b78bab SCI: Use a simpler atan implementation for kGetAngle in SCI1 and newer games
SCI1 games (QFG2 and newer) use a simpler and more accurate atan implementation
for kGetAngle. This properly fixes bug #3540976.
2012-08-21 03:32:18 +03:00
Johannes Schickel
5df8c99768 GPRAHICS: Slight cleanup in png.cpp.
This adds an explanation why we use FORBIDDEN_SYMBOL_ALLOW_ALL and removes
some trailing whitespaces.
2012-08-21 02:19:51 +02:00
Johannes Schickel
eff6ea09fb Revert "CONFIGURE: Don't disable the sword25 engine when libpng is not found"
This reverts commit 7543c3ba5f.
We depend on libpng for PNG decoding again, thus disable sword25 when libpng
is not available.
2012-08-21 02:13:19 +02:00
Johannes Schickel
05eb6eecfc Merge pull request #262 from somaen/pngwithlibpng
GRAPHICS: Reimplement the PNG-decoder using libpng
2012-08-20 17:12:52 -07:00
clone2727
4a114f218d Merge pull request #264 from somaen/32bppbmp
GRAPHICS: Add support for 32bpp BMPs
2012-08-20 14:21:08 -07:00
Matthew Hoops
6c155b6b36 VIDEO: Implement rewinding Smacker audio tracks 2012-08-20 17:06:58 -04:00
upthorn
f34924bc39 SWORD25: Fix loading savegames on 64-bit archs. 2012-08-20 21:15:46 +02:00
Einar Johan Trøan Sømåen
af05b1b80e GRAPHICS: Reimplement the PNG-decoder using libpng 2012-08-20 21:14:59 +02:00
Alyssa Milburn
b1af75f2c3 SWORD25: Improve sound persistence.
Keep track of volume/panning state, and don't restart sounds which already
finished playing.
2012-08-20 21:14:10 +02:00
Vincent Hamm
bd6751cb4a CINE: Fix drawing of sprite with mask.
Protects against cases where a non-existing script is referenced.
2012-08-20 01:48:20 +01:00
Matthew Hoops
eccb55570e BUILD: Fix statically compiling with libfluidsynth on Mac OS X 2012-08-19 20:41:34 -04:00
Filippos Karapetis
23db3cd9f2 SAGA: Remove incorrect free() in loadShortenFromStream()
This removes a warning and fixes bug #3558052 - "SAGA: use-after-free warning"
2012-08-20 03:28:02 +03:00
Filippos Karapetis
b19ccb9d1e SCI: Set the correct audio type for SCI1.1 sound effects, fixing bug #3554709
Now, sound effects in SCI1.1 games will no longer be incorrectly using the speech
sound volume. This avoids them being silenced in floppy games that are flagged
as not having speech. Fixes bug #3554709 - "SCI: Digital SFX don't play when
Override Global Audio set"
2012-08-20 03:22:56 +03:00
Filippos Karapetis
8524ebd699 SCI: Fix script bug #3555404 - "SCI: KQ6 Spider Scene Game Freeze" 2012-08-20 02:58:37 +03:00
Einar Johan Trøan Sømåen
246109839b WINTERMUTE: Be case-insensitive when testing for sound-format. 2012-08-19 23:49:29 +02:00
Matthew Hoops
7af4e40304 AGOS: Fix regression with sound in Smacker OmniTV videos 2012-08-18 10:23:19 -04:00
Matthew Hoops
da9695ddc6 AGOS: Fix regressions in the feeble demo 2012-08-17 23:31:26 -04:00
Matthew Hoops
e24fd2ffe6 VIDEO: Cleanup VideoDecoder a bit
Functions and their comments now line up better
2012-08-16 22:49:22 -04:00
Matthew Hoops
18823198ad VIDEO: Merge AdvancedVideoDecoder into VideoDecoder 2012-08-16 14:00:14 -04:00
Matthew Hoops
7569ec7dc0 VIDEO: Rename setStopTime() to setEndTime()
To better differentiate with stop()
2012-08-16 13:34:28 -04:00
Matthew Hoops
fb35c7f46f VIDEO: Remove setSystemPalette() 2012-08-16 13:30:32 -04:00
Matthew Hoops
9e7f0e4753 VIDEO: Begin removing some of the deprecated functions from VideoDecoder 2012-08-16 12:27:05 -04:00
Matthew Hoops
7294a1cbcf VIDEO: Remove the Coktel video code from using the VideoDecoder API
After discussing with DrMcCoy, we felt this the best way to proceed. A wrapper class that implements AdvancedVideoDecoder is still around for use in SCI.
2012-08-16 12:17:23 -04:00
David-John Willis
e7ae58f2e4 CONFIGURE: Set DISABLE_SAVELOADCHOOSER_GRID for the GPH backend.
* Move some backend settings from the host selection to the backend.
* Also remove stale referances to the old GP2X backend.
2012-08-16 10:57:44 +01:00
Thierry Crozat
037cdaefac I18N: Regenerate translations data file 2012-08-15 21:35:28 +01:00
Thierry Crozat
e55018ffdb I18N: Update Hungarian translation from patch #3557212 2012-08-15 21:34:55 +01:00
Thierry Crozat
8b022a4983 I18N: Update Polish translation from patch #3552055 2012-08-15 21:33:55 +01:00
Alyssa Milburn
9c561c0287 ANDROID: Remove unused GL_OES_draw_texture code. 2012-08-15 10:00:51 +02:00
Alyssa Milburn
067db748e4 AGI: Replace detector printf usage with logMessage. 2012-08-15 09:51:55 +02:00
Alyssa Milburn
92bcb1801a SCUMM: Replace detector printf usage with logMessage. 2012-08-15 09:48:50 +02:00
Einar Johan Trøan Sømåen
eacb0b1698 WINTERMUTE: Make use of the wday-field in dates, instead of a wrong mday-value. 2012-08-15 02:36:08 +02:00