Commit Graph
137148 Commits
Author SHA1 Message Date
D G Turner d59690424c SAGA: Replace Remaining French Accented Characters with Escape Codes. 2017-10-28 11:28:42 +01:00
D G Turner 0416249765 SAGA: Add Define for French Language for clarity. 2017-10-28 11:24:58 +01:00
Paul Gilbert ba7e50edec TITANIC: Hopefully fix AmigaOS compilation 2017-10-27 17:37:44 -04:00
D G Turner 913aae6155 SAGA: Correct Tenses in French Fan Translation of ITE.
These changes were suggested by bgK.
2017-10-27 10:51:47 +01:00
Little Cat 4d3b88e9f5 GRIM: Fix Velasco's reminiscences cutting off. Fixes #356 2017-10-26 20:49:20 +02:00
D G Turner d50c13a7c7 SAGA: Add Code to Support French Fan Translation.
This code was supplied by Darknior (hugues.fabien@gmail.com).
2017-10-26 18:16:11 +01:00
Bastien Bouclet bd82345f0b Merge pull request #1035 from bgK/require-64bits-integers
BUILD: Require 64bits integers
2017-10-25 19:17:11 +02:00
Bastien Bouclet 2ded98b482 MOHAWK: MYST: Add detection for a Russian version 2017-10-25 19:14:46 +02:00
Colin Snover 3a95213905 SDL: Automatically grab mouse upon entering fullscreen
Folks are confused about the new behaviour where the mouse is not
restricted to the game area in fullscreen, which is understandable.

This changes mouseIsGrabbed to use SDL directly in order to avoid
making changes to the user preference in the _inputGrabState.
Otherwise we'd either clobber the user's previous windowed mouse
grab preference, or require maintaining a second variable just to
track the original state, when we can have SDL do that for us.
2017-10-23 22:36:04 -05:00
Thierry Crozat f638f1453c I18N: Regenerate translations data file 2017-10-23 05:05:03 +02:00
Willem Jan Palenstijn 9030b09ecc SCI: Allow lofsa string printing in disasm for all SCI versions 2017-10-21 19:13:38 +02:00
Willem Jan Palenstijn fab43f0f71 SCI: Fix offsets in disasm for multi-param opcodes
This code was assuming that retval points to the start of the next
instruction, which is only true if the current parameter is the last
one. This fixes op_call printing.
2017-10-21 18:55:40 +02:00
Tarek Soliman 2fea095fc7 SDL: Fix SDL1 cursor position when using a touchscreen
I noticed that in Maemo the cursor was offset after the SDL refactoring
in de2bbe3b97

In Maemo when entering fullscreen, ScummVM receives a SDL_VIDEORESIZE
event with the native touchscreen resolution rather than the current
window size. This causes a call to notifyResize.

Before that refactoring, notifyResize did nothing (in SDL1).
Now it calls handleResize but doesn't actually set a new video mode.
This messes up the coordinate mapping, causing an overcorrection for
the cursor position.
2017-10-19 17:51:01 -05:00
Thierry Crozat 0e44feadb0 I18N: Update translations templates 2017-10-18 01:42:49 +02:00
Colin Snover 752f4e4f04 SDL: Fix missing scaled cursors in SDL 2.0.4 on Windows
This may be a problem with SDL 2.0.4 generally, not just on
Windows, but it doesn't really matter much since it can't be
broken on *any* platform.
2017-10-17 18:41:34 -05:00
Paul Gilbert 8057d888a6 TITANIC: Remove redundant room check in CEarSweetBowl 2017-10-16 20:42:00 -04:00
David Fioramonti ce052fbef4 SCI32: Fix cursor color when quitting for phant1
When quitting the game at the main menu and hitting no
or quitting the game while playing the cursor color
over the buttons will be tan the first time rather
than red. This fix makes it so it will be red.

This was done by removing a check in HotSpot::doit()
which checks the global193 value. Removing this check
fixes the problem.

Fixes Trac#9977.

Thanks snover and wjp for your help.
2017-10-16 19:37:36 -05:00
Ben Castricum f42889d432 I18N: Update translation (Dutch)
Currently translated at 100.0% (959 of 959 strings)
2017-10-16 07:46:26 +02:00
Thierry Crozat f2fa1adb80 I18N: Update translations templates 2017-10-16 07:28:41 +02:00
Colin Snover 4307156e1c SDL: Fix 32bpp cursor scaling in SDL1
The SDL1 loop is not very optimal. Unfortunately all our existing
scalers only work in 16bpp and I don't have time to fix that right
now, so this is fine.
2017-10-16 00:27:34 -05:00
Thierry Crozat 2e96e4d3df I18N: Regenerate translations data file 2017-10-16 05:05:02 +02:00
Thierry Crozat 8234dadee7 I18N: Update translations templates 2017-10-16 04:39:27 +02:00
Colin Snover 4466738885 SDL: Fix scaled 32bpp cursor rendering 2017-10-15 21:38:58 -05:00
Paul Gilbert 1947d310df TITANIC: New titanic.dat with fixed German chevron strings 2017-10-15 21:39:48 -04:00
Paul Gilbert 11a72a5e0e TITANIC: Add missing strings for Floor & Room # to titanic.dat 2017-10-15 21:20:09 -04:00
Paul Gilbert ff9c0a9a89 TITANIC: Fix crash exiting game when music room music is active 2017-10-15 21:14:33 -04:00
Paul Gilbert 3e52288a2d TITANIC: Music room handler field renames & better anim sync to music 2017-10-15 20:57:09 -04:00
Colin Snover e26a677f62 SCI32: Tell OSystem to show/hide cursors as appropriate
This is needed so that the system cursor can be appropriately
hidden outside the game's draw area, to match the normal behaviour
of ScummVM.
2017-10-15 19:03:09 -05:00
Paul Gilbert 17606700c4 TITANIC: Fix use after free and remove IFDEF code from mouse cursors 2017-10-15 19:03:09 -05:00
Paul Gilbert db5676fec2 TITANIC: Simplify cursors to build up as RGBA during loading 2017-10-15 19:03:09 -05:00
Colin Snover ef44cc55ee DINGUX: Really constify getFeatureState 2017-10-15 16:54:24 -05:00
Colin Snover 7aef79c421 DINGUX: Fix missing const on hasFeature/getFeatureState implementation 2017-10-15 16:41:04 -05:00
Colin Snover 1f8eeb5920 DINGUX: Replace usage of old SurfaceSdlGraphicsManager APIs 2017-10-15 16:32:58 -05:00
Colin Snover 4263a78aa0 GPH: Replace usage of old SurfaceSdlGraphicsManager APIs 2017-10-15 16:18:10 -05:00
Colin Snover ea2fa9093d PSP: Improve const-correctness 2017-10-15 16:11:47 -05:00
Colin Snover 2ef10faa1e PSP2: Replace usage of old SurfaceSdlGraphicsManager APIs 2017-10-15 16:00:00 -05:00
Colin Snover e308605b2f OPENPANDORA: Remove duplicated loadGFXMode code 2017-10-15 15:52:11 -05:00
Thierry Crozat 31f76c962f I18N: Update translations templates 2017-10-15 20:55:46 +02:00
Eugene Sandulenko fb30dd4362 GUI: Cleanup 2017-10-15 20:55:31 +02:00
Colin Snover bda253b1ac BACKENDS: Constify PaletteManager::grabPalette implementations 2017-10-15 13:47:19 -05:00
Thierry Crozat f9ba31e465 I18N: Update translations templates 2017-10-15 20:27:13 +02:00
Colin Snover 7d8d2f80fb Merge branch 'graphics-backends-improvements' 2017-10-15 13:26:39 -05:00
Colin Snover 4757c24c68 BACKENDS: Fix up graphics manager ports with const & override where appropriate 2017-10-15 13:24:21 -05:00
Colin Snover f6ab0e5c10 SDL: Allow window size to be reset whenever launcher is visible
This ensures the window gets resized properly when a user changes
the scaler options in the GUI. Simply unlocking the window size on
a call to setGraphicsMode is not good enough, because the scaler
mode can be changed by games during mode switches, and we don't
want to reset the window size in that case.
2017-10-15 13:24:21 -05:00
Colin Snover 8b112f57a9 SDL: Support 32bpp cursor rendering
32bpp cursor scaling is not available, but this should be fine as
many of the software scalers are not designed to work with >16bpp
data in any case.

This change also includes some minor cleanup of unnecessary #ifdefs
around code that works equally well with or without USE_RGB_COLOR,
to simplify the implementation.
2017-10-15 13:24:21 -05:00
Colin Snover d1b77d4b68 BACKENDS: Fix missing mouse events when system cursor cannot be moved
Normally with SDL, a mouse motion event will be sent after the
system mouse cursor has been moved by a call to
SDL_WarpMouseInWindow, but if the system cursor cannot be moved
(e.g. because the window does not have mouse focus), games still
need to receive these mouse events so they can successfully update
the mouse position internally. Otherwise, games continue to think
the mouse is still in the original position and will continue to
try to perform whatever action is associated with that mouse
position.

Refs Trac#9689.
2017-10-15 13:24:21 -05:00
Colin Snover cd538ffffa BACKENDS: Do not send mouse events to games occurring outside the game draw rect 2017-10-15 13:24:21 -05:00
Colin Snover 319ab07fe0 SDL: Minor code cleanup to declare variables at point of first use 2017-10-15 13:24:20 -05:00
Colin Snover 9e9972a55b GRAPHICS: Send blank cursors to graphics backends
Blank cursors don't mean to continue drawing the previous cursor,
they mean that the cursor in the backend needs to be blank.
2017-10-15 13:24:20 -05:00
Colin Snover 5d8cf6ba42 BACKENDS: Fix GraphicsManager handling of empty cursors
The SDL graphics manager was just ignoring calls from CursorMan to
set the cursor to a blank cursor, which meant engines that did not
immediately send a cursor to CursorMan at startup would still show
the launcher's cursor (usually with a broken palette).

The OpenGL graphics manager would try to generate and draw an
invalid cursor surface when receiving an empty cursor.
2017-10-15 13:24:20 -05:00