169 Commits

Author SHA1 Message Date
Johannes Schickel
4318410731 TUCKER: Take advantage of Surface::getPixels. 2013-08-03 04:02:53 +02:00
Johannes Schickel
d26817a6b8 TUCKER: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:34 +02:00
D G Turner
7381fcdf30 TUCKER: Amend fix for bug #3614697 - "Spanish version uncompletable..."
The mof instruction needs to return 0 or 1 to continue execution, rather
than 2 which indicates to end table instruction execution. Using 0 as
this is most likely correct value.
2013-07-16 20:30:30 +01:00
D G Turner
485118ecd9 TUCKER: Add support for skipping unhandled/invalid instructions.
This ensures that if any unhandled/invalid instructions are present,
they are skipped, rather than locking up engine execution.

This is a secondary fix for bug #3614697 - "Spanish version
uncompletable at end of 2nd part" and any other future bugs of this
type.
2013-07-14 05:07:11 +01:00
D G Turner
1946dead77 TUCKER: Fix for bug #3614697 - "Spanish version uncompletable..."
This add support for the unhandled "mof" instruction present in the
Spanish version. This effectively skips it as a NOP/invalid, which
prevents it locking up the game at the end of the 2nd part.
2013-07-14 05:04:02 +01:00
Willem Jan Palenstijn
52541fc257 TUCKER: Fix palette fades
This is a regression from 362b0cd5e4a71a0b2610ff8abb6aeecddc842cf0
and fixes bug #3614686.
2013-07-12 21:17:40 +02:00
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Max Horn
cdfd5f85c8 ENGINES: Silence clang warning about unused private member _vm
This affects the Console / debugger classes of multiple engines.
An alternative solution would have been to remove the unused _vm
member vars. However, it seems likely that in the future, the _vm
member could be useful for methods added to the console. So instead,
we add a simple assert(_vm) to silence the clang warning.
2013-04-18 23:50:19 +02:00
Filippos Karapetis
617545cb5f TUCKER: Switch to the common PCX decoder 2012-09-13 01:50:45 +03:00
Matthew Hoops
5db42076b8 VIDEO: Convert FlicDecoder to the new AdvancedVideoDecoder API
The video no longer automatically loops (unused in-tree) and must have rewind() called manually
2012-08-12 08:43:32 -04:00
Tarek Soliman
edc5249772 JANITORIAL: Fix template definition whitespace 2012-02-10 21:17:27 -06:00
Gregory Montoir
65608952c2 TUCKER: remove duplicated logic branches in locations 48 and 66 (checked against the original) 2011-12-02 21:13:16 +01:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Filippos Karapetis
86387f1d70 TUCKER: Added FIXMEs for seemingly superfluous logic branches 2011-11-03 22:53:32 +02:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Johannes Schickel
fdfbf4133e TUCKER: Made some static data const. 2011-09-08 19:53:35 +02:00
Max Horn
879c3c7817 DETECTOR: Pass allFiles to AdvancedMetaEngine::fallbackDetect()
Also reorder the parameters of composeFileHashMap, placing the "return value"
first.
2011-06-14 18:52:11 +02:00
Max Horn
7c992d6598 DETECTOR: Merge ADParams into AdvancedMetaEngine 2011-06-14 18:17:01 +02:00
Max Horn
59d56b6687 TUCKER: Switch to alternate AdvancedMetaEngine, avoid ADParams 2011-06-10 22:15:46 +02:00
Max Horn
4827cc914a ENGINES: Change incorrect use of 'target' to 'gameid' 2011-06-10 22:15:40 +02:00
D G Turner
5015d12142 TUCKER: Replace snprintf() usage with Common::String::format()
Safer and less portability issues.
2011-06-02 18:02:12 +01:00
Max Horn
477d6233c3 ENGINES: Change 2nd param of Engine::saveGameState to Common::String 2011-06-02 18:31:59 +02:00
Max Horn
f04d6c6ee5 TUCKER: Give name to RandomSource, to register it with event recorder 2011-05-17 12:17:27 +02:00
Thierry Crozat
3c59e37035 ENGINES: Unify engine names
This unifies the engine names in MetaEngine::getName() and the
credits. In particular drop "Engine" or "engine" from the names when
it was present and use expanded names in credits when the
MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-16 00:11:32 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Gregory Montoir
3d0f255912 TUCKER: add missing code for kSupportsLoadingDuringStartup 2011-03-20 18:31:18 +01:00
dhewg
6650e69a30 TUCKER: Get rid of syncSoundSettings()
And respect global mute settings
2011-03-19 16:49:17 +01:00
Johannes Schickel
e21d6e0d11 Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into master
Conflicts:
	backends/platform/android/android.cpp
	engines/sci/graphics/screen.cpp
	engines/sci/graphics/transitions.cpp
2011-02-19 21:46:45 +01:00
Gregory Montoir
855b676cd4 TUCKER: cleanup, removed unused variables 2011-02-19 15:52:03 +01:00
Gregory Montoir
c53abb0aba TUCKER: fix truncated action string in english version 2011-02-19 15:37:24 +01:00
Gregory Montoir
0962f332cb TUCKER: fix #2872348 - walk bug by switching places in museum
Looks like an original game glitch, prevent hard-coded sequence
execution on location switch (after using map).
2011-02-19 12:29:03 +01:00
Gregory Montoir
81a3538706 TUCKER: fix #3106714 - Wrong animation after TV off
Some negative values are prefixed by 2 minus signs, skip one
before passing the string to strtol.
2011-02-18 22:28:26 +01:00
Gregory Montoir
34f428ea91 TUCKER: cleanup 2011-02-18 15:20:31 +01:00
Gregory Montoir
0bffd77dfe TUCKER: fix #3106766 - Bubbles in Plugs Shop too heavy 2011-02-18 15:20:31 +01:00
Gregory Montoir
e552b5a8c3 TUCKER: fix #3106542 - Ego drawn behind background
Looks like an original game glitch, the location 14
background bitmap contains some pixels in range
[0xE0-0xF8] which is usually reserved ; add workaround.
2011-02-18 15:18:44 +01:00
Gregory Montoir
3557ff5747 TUCKER: fix #3106536 - Punk stuck (moving in background) 2011-02-18 15:18:44 +01:00
Gregory Montoir
a0d74d0459 TUCKER: fix #3106520 - Prison water drop leaves a line 2011-02-18 15:18:44 +01:00
Gregory Montoir
d9140ab626 TUCKER: fix #2628056 - Text Dialogue is out of sync
always synchronize text with speech sound. Note, some
subtitles present in the datafiles are inconsistent
(written text different from spoken).
2011-02-18 15:18:44 +01:00
Gregory Montoir
da77a057d1 TUCKER: fix #2627967 - Slow Walking
The waitForTimer calls in fade*Palette are actually
duplicated ; mainLoop already handles timing.
2011-02-18 15:18:44 +01:00
Johannes Schickel
362b0cd5e4 TUCKER: Adapt to setPalette RGBA->RGB change.
This change has not been tested, since I do not own copy of Tucker.
2011-02-14 17:08:33 +01:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Eugene Sandulenko
caa6684752 VIDEO: Move video classes to Video:: namespace
svn-id: r55479
2011-01-23 19:08:09 +00:00
Eugene Sandulenko
806ccf5d25 GRAPHICS: Move graphics/video/ to video/. Step 1/2
svn-id: r55473
2011-01-23 17:14:43 +00:00
Johannes Schickel
645ba4c379 SOUND: Get rid of unused forward declarations in mixer.h.
svn-id: r55197
2011-01-10 22:20:51 +00:00
Matthew Hoops
375f32fbe9 VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer
svn-id: r54927
2010-12-16 01:35:13 +00:00
Max Horn
6edc86a19b DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engine
svn-id: r54815
2010-12-07 18:54:21 +00:00
Max Horn
2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
David Turner
71d0526834 TUCKER: Added basic debugging console to engine
Tucker does not currently use Debug Channels, but this does provide a base for adding them along with any other debugging commands.

svn-id: r54141
2010-11-08 12:24:18 +00:00