Commit Graph
86814 Commits
Author SHA1 Message Date
Retro-Junk e4ab357d14 PLUMBERS: Add engine for Plumbers Don't Wear Ties 2017-05-03 00:42:13 +01:00
Thierry Crozat ee0ac26621 BASE: Fix auto-detect command to detect and start game
There were several issues.

The first one was introduced recently and caused the preferred target
to be used as a game ID, which resulted in an error when this is not
a valid game ID. Thus this fixes bug #9754.

The other issues were here since the auto-detect command was added and
caused other command line options, suh as the path, to be lost. This
usually resulted in a failure to start the game as the data files could
not be found (unless the ID happened to be the same name as a target
previously added). This also caused a reappearance of the old bug
2017-05-03 00:17:16 +01:00
Eugene Sandulenko bfd2b487eb DIRECTOR: Fix code formatting 2017-05-02 22:06:59 +02:00
Eugene Sandulenko 98f0006ad9 DIRECTOR: Reduce header dependency 2017-05-02 22:06:39 +02:00
Eugene Sandulenko c750d17b0c DIRECTOR: Fix #include paths 2017-05-02 22:04:21 +02:00
Tobia Tesan ca89722d57 DIRECTOR: Use CachedMacText for rendering 2017-05-02 21:01:23 +01:00
Tobia Tesan bd7ded3f56 DIRECTOR: Add CachedMacText to TextCast 2017-05-02 21:01:23 +01:00
Tobia Tesan 415d9d660e DIRECTOR: Add CachedMacText 2017-05-02 21:01:23 +01:00
Tobia Tesan d6f651064b DIRECTOR: Add TextCast::importStxt 2017-05-02 21:01:23 +01:00
Tobia Tesan 8b9e029c1e DIRECTOR: Remove now-useless textId parameter from renderButton 2017-05-02 21:01:23 +01:00
Tobia Tesan 61cd407405 DIRECTOR: Use text from textCasts 2017-05-02 21:01:23 +01:00
Tobia Tesan 84a65f9df0 DIRECTOR: Init textCasts with Stxts in Score 2017-05-02 21:01:23 +01:00
Tobia Tesan bad6cc32ef DIRECTOR: Equip textCast with _ftext 2017-05-02 21:01:23 +01:00
Tobia Tesan 6a741a88c9 GRAPHICS: Pass interlinear as constructor argument to MacText 2017-05-02 21:01:23 +01:00
Tobia Tesan 4ae5453af8 DIRECTOR: Add stxt.cpp 2017-05-02 21:01:23 +01:00
Tobia Tesan fca74091c3 DIRECTOR: Delete Stxts in ~Score 2017-05-02 21:01:23 +01:00
Tobia Tesan e69855acef DIRECTOR: Use preloaded Stxt for rendering 2017-05-02 21:01:23 +01:00
Tobia Tesan 2bb427d6e1 DIRECTOR: Preload Stxts in Score 2017-05-02 21:01:23 +01:00
Tobia Tesan 61e4181f5f DIRECTOR: Add _loadedStxts member to Score 2017-05-02 21:01:23 +01:00
Tobia Tesan 1de51c10dd DIRECTOR: Add Stxt.h 2017-05-02 21:01:23 +01:00
Colin Snover 68218d15f2 SCI32: Fix incorrect arguments to readPixel in kCelInfo
Fixes Trac#9750.
2017-05-02 11:00:45 -05:00
Colin Snover bb40889a60 Revert "SCI32: Add debugging calls to GfxCursor32"
This reverts commit c02f2674ad.

Two minutes after committing this, the author of the ticket
resolved the problem, which was caused by missing VMDs.
2017-05-01 21:16:20 -05:00
Colin Snover c02f2674ad SCI32: Add debugging calls to GfxCursor32
Refs Trac#9740.
2017-05-01 20:44:25 -05:00
Colin Snover b208c82494 SCI32: Add support for Shivers interactive demo
Closes Trac#9745.
2017-05-01 12:31:21 -05:00
Colin Snover 6da5a175cb SCI32: Add detection for KQ7 German 1.65c
Closes Trac#9738.
2017-05-01 12:30:57 -05:00
Thierry Crozat dba9ef4fa4 I18N: Regenerate translations data file 2017-05-01 05:05:08 +02:00
Colin Snover 00168003fe SCI: Clean up ugly syncBaseObject call 2017-04-30 13:44:34 -05:00
Colin Snover 94dc6ae052 SCI: Hold script data as mutable internally
Script buffer data is modified after a script is loaded by
savegame operations, and, in SCI16, by string operations. Casting
away const to allow these mutations to happen is not a very good
design, so this patch just changes the privately held reference
to data to be mutable. (Public accessors still return immutable
data.)
2017-04-30 12:47:32 -05:00
Martin Kiewitz 0560a1d041 SCI32: add detection for GK2 German 2017-04-30 18:46:44 +02:00
Tobia Tesan 23b6dbbede DIRECTOR: clean up renderText: separate reading & actual rendering 2017-04-30 09:48:08 +02:00
Tobia Tesan 03831698ac DIRECTOR: remove redundant/ineffective assignments to width 2017-04-30 09:48:08 +02:00
Tobia Tesan 132785ccb0 DIRECTOR: clean up renderText: move warning block down
This changes slightly the semantics of the method; however, I assume we
want to print (or not) the warning based on the width/height values that
will in fact be used *in* the method.
2017-04-30 09:48:08 +02:00
Tobia Tesan b6eb8a1a66 DIRECTOR: consolidate font, width instructions in renderText 2017-04-30 09:48:08 +02:00
Tobia Tesan ed2f09b13f GRAPHICS: Delete MacFont in MacText 2017-04-30 09:48:08 +02:00
Tobia Tesan af664fe757 GRAPHICS: Use MacFont in lieu of Graphics::Font in MacText 2017-04-30 09:48:08 +02:00
Tarek Soliman d602850b0c TESTBED: Fix building with --disable-cloud (#938)
The linker fails when building with --disable-cloud and not
passing --disable-libcurl
2017-04-30 09:42:48 +02:00
Thierry Crozat 9a8aea0585 CLOUD: Fix compilation with old curl vesions 2017-04-29 22:10:16 +01:00
Arius a4e5041117 I18N: Update translation (Greek)
Currently translated at 99.4% (942 of 947 strings)
2017-04-29 21:36:15 +02:00
Colin Snover 5dd9618842 SCI32: Remove unnecessary GfxFrameout::_frameNowVisible
This flag was used in SSCI to read from VRAM instead of from the
back buffer when a mouse interrupt was received in the middle of
a back buffer update. Since ScummVM controls when mouse events
are received via polling, it is not possible to receive a mouse
event in the middle of back buffer updates, so this code is
unnecessary for the engine to work properly.

This also fixes Valgrind warnings about use of uninitialized
memory at the start of the game, caused by not filling the cursor
memory buffers because `_frameNowVisible` was false until the first
frame was rendered.
2017-04-29 14:31:01 -05:00
Colin Snover 75c6b1fd3b SCI32: Promote GK2 and Torin demos to AGDF_TESTING 2017-04-29 14:30:09 -05:00
Colin Snover 53fb26550d VIDEO: Unexpose audio sync API in AdvancedVMDDecoder
This change was inadvertently added in commit
44dd029cb1 but is not actually used.
2017-04-29 14:30:09 -05:00
Eugene Sandulenko a62e174064 I18N: Update translation (Greek)
Currently translated at 99.3% (941 of 947 strings)
2017-04-28 13:12:11 +02:00
Arius 7f97d1c8e6 I18N: Update translation (Greek)
Currently translated at 99.3% (941 of 947 strings)
2017-04-28 13:11:58 +02:00
Thierry Crozat 442edb6ccc MACOSX: Expand ~ in default screenshot path
When using SDL to save the screenshot, using a told results in
an error.
2017-04-26 08:39:06 +01:00
Colin Snover 519719db49 SCI: Add var count sanity checking to object initialization 2017-04-24 21:45:49 -05:00
Colin Snover e15a4c806a SCI: Use the var count from the instance's class in SCI1.1-2.1 when looking up selectors
At least some versions of Island of Dr Brain have a bMessager
instance in script 0 with a var count greater than that of its
class. This probably should never happen since it means the
object has a variable with no corresponding selector.

The next commit adds some extra sanity checking code to object
initialization, to warn on any other games where this happens.
2017-04-24 21:39:30 -05:00
D G Turner 827e4efb09 DIRECTOR: Fix Various Compiler Warnings. 2017-04-25 00:53:48 +01:00
Thierry Crozat ae8944e104 BASE: Improve error handling when detecting games 2017-04-24 20:04:05 +01:00
Thierry Crozat 5d91efa74d BASE: Check scanf return value when adding a game 2017-04-24 20:04:05 +01:00
Ben Castricum 0bb8b4051c I18N: Update translation (Dutch)
Currently translated at 100.0% (947 of 947 strings)
2017-04-24 07:25:22 +02:00