81000 Commits

Author SHA1 Message Date
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 c02f2674ad3533aebd6c5dbcaf47f3e1d20904a4.

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
44dd029cb17160316b2015321a0a53f8854b6dd3 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
Colin Snover
89ec9e6762 SCI32: Remove SCI3 TODO
SCI3 resources appear to already be properly handled.
2017-04-23 22:13:53 -05:00
Colin Snover
82d9cacba0 SCI32: Allow resource maps with missing corresponding volumes
GK2 on Steam comes with an extra bogus resource map file which
would previously cause ScummVM to refuse to load the game due to
a mismatch in the number of map & volume files. This does not
cause any harm, but is a pain for users (since it requires them to
manually delete the file, and it will be recreated if a user runs
the Steam game file integrity check), so allow the game to load
with a warning instead.
2017-04-23 22:11:05 -05:00
Thierry Crozat
e0539dd0e5 I18N: Regenerate translations data file 2017-04-24 05:05:10 +02:00
Kirben
ec0b1dec9d WINDOWS: Fix warning under mingw-w64. 2017-04-24 11:22:44 +10:00
Kirben
b46a1b688d WINDOWS: Hopefully fix mingw compilation. 2017-04-24 10:57:02 +10:00
Thierry Crozat
a1dab31c08 WIN32: Fix compilation of getScreenshotPath (missing parenthesis) 2017-04-24 01:28:50 +01:00
Thierry Crozat
23987cc724 WIN32: Comment out code that gets the user My Pictures directory
This broke compilation on buildbot as ShlObj.h cannot be found.
A developer that has access to Windows should take a look to
properly fix this.
2017-04-24 01:21:36 +01:00
Thierry Crozat
25bb9106b6 I18N: Update translations templates 2017-04-24 02:10:36 +02:00
Thierry Crozat
a9ae691513 SDL: Improve debug and warning messages when saving screenshots
In particular this adds a warning when failing to save a screenshot
in OpenGL mode (there was already one in SurfaceSDL mode).
2017-04-24 01:07:16 +01:00
Thierry Crozat
e96c057c3d SDL: Allow specifying the screenshot directory in the config file
There is no GUI option to set the screenshot directory, but this
allows power users to set it if they don't want to use the default.
2017-04-24 01:07:05 +01:00
Thierry Crozat
11dd33bb73 MACOSX: Create screenshot on Desktop
This is consistent with the OS shortcut (Crtl+Shift+3) to take a
screenshot.
2017-04-24 01:06:50 +01:00
Thierry Crozat
438f23f272 SDL: Use dynamic cast instead of C cast to get screenshot path 2017-04-24 01:06:40 +01:00
Pala
3849a3e90e WINDOWS: Change location where screenshot are saved
This fixes bug #9701: WINDOWS: Flow of taking screenshots
on Windows is broken
2017-04-24 01:06:29 +01:00
yinsimei
28ab63136a CMD: Detect and add game(s) with commandline
This implements feature request #7885
2017-04-23 21:52:19 +01:00