83036 Commits

Author SHA1 Message Date
Zbyněk Schwarz
62d6a80c86 I18N: Update translation (Czech)
Currently translated at 96.0% (922 of 960 strings)
2017-11-18 10:33:28 +01:00
Ivan Avdeev
11d28abaa0 NEVERHOOD: fix musical hut crash in DR, bug #7085 2017-11-18 10:33:22 +01:00
Colin Snover
61a63f8400 CREATE_PROJECT: Fix compilation failure in C++11 mode
Getting the address of an rvalue is invalid, and not necessary
here.

Once C++11 can be used always, this utility function can just be
replaced with std::to_string.
2017-11-17 22:47:59 -06:00
Colin Snover
6c40ceded1 TITANIC: Fix compilation failure in C++11 mode 2017-11-17 22:47:59 -06:00
Colin Snover
87285ef609 SWORD25: Fix possible redefinition of FLT_EPSILON 2017-11-17 22:47:59 -06:00
Paul Gilbert
7361da9fdc XEEN: Fix Coverity identified problems 2017-11-17 20:52:18 -05:00
Paul Gilbert
ef8cf2a543 XEEN: Fix music channel loop 2017-11-17 19:23:51 -05:00
Colin Snover
d3a831644c SDL: Grab mouse when ScummVM is started in fullscreen mode 2017-11-17 12:01:35 -06:00
Zbyněk Schwarz
34abce7478 I18N: Update translation (Czech)
Currently translated at 92.3% (887 of 960 strings)
2017-11-17 02:59:16 +01:00
Paul Gilbert
6421170f92 XEEN: Map and game flag fixes 2017-11-16 20:59:07 -05:00
Paul Gilbert
2b823d63d4 XEEN: Fix some Coverity warnings 2017-11-15 20:36:04 -05:00
Paul Gilbert
a97a9507c9 XEEN: Fix uninitialized instance field warnings 2017-11-15 19:32:03 -05:00
rootfather
1adc4ac58d WIN32: Add German Start Menu entries to the installer 2017-11-15 21:58:27 +01:00
Lothar Serra Mari
f43c40ffef I18N: Update translation (German)
Currently translated at 100.0% (960 of 960 strings)
2017-11-15 18:36:40 +01:00
Colin Snover
9bbf7f3f36 SDL: Don't pass null pointers to SDL_DestroyTexture/SDL_DestroyRenderer
SDL does not like this and will raise an assertion when built with
internal SDL assertions turned on. With internal assertions turned
off, it will still call SDL_SetError any time a null pointer is
passed, though it will not raise an assertion or crash.
2017-11-15 11:36:14 -06:00
Paul Gilbert
74612b40f7 XEEN: Fix some Coverity warnings 2017-11-14 21:06:12 -05:00
Thierry Crozat
e83ede4f07 I18N: Update translations templates 2017-11-15 00:50:15 +01:00
Filippos Karapetis
64b57afe2c Revert "DRASCULA: Revert range 4dbed774..1f1d8607"
This reverts commit bf69b25e33189581848412e77624865aa55ba234.

The original game had slight differences between the code for each
chapter. Part of these changes was to simplify the code and unify
some of these differences, particularly in the checks for clickable
areas, where the code is using Common::Rects with contains() now.

I have play tested the whole game with these changes, there are no
visible regressions, and the game is still completable. Thus, I'm
restoring the changes to the engine.
2017-11-15 01:49:50 +02:00
Thierry Crozat
b48d1b7b8e I18N: Update translations templates 2017-11-14 19:19:17 +01:00
Willem Jan Palenstijn
bf69b25e33 DRASCULA: Revert range 4dbed774..1f1d8607
This reverts
1f1d8607 DRASCULA: Merge the floor coordinates into _walkRect
1e1b6f7c DRASCULA: Rename gotoObject() to walkToPoint() and simplify it
2bf05c2a DRASCULA: Clean up room variables, and simplify some related checks

Reverting due to unanswered questions about why the changes in behaviour
in 2bf05c2a746065f373ac136c994714dae376cdbc are correct.
2017-11-14 19:14:00 +01:00
Zbyněk Schwarz
c8d3429ab4 I18N: Update translation (Czech)
Currently translated at 90.8% (872 of 960 strings)
2017-11-14 13:28:49 +01:00
Paul Gilbert
a1eed0aa70 XEEN: Added missing initialization for new games 2017-11-14 07:28:40 -05:00
Willem Jan Palenstijn
3ac39075c8 GRAPHICS: Fix potentially uninitialized pointers in BDF loader 2017-11-14 09:12:15 +01:00
Bastien Bouclet
65d0984364 GRAPHICS: Fix freeing invalid pointers in the BDF font destructor
Fixes a crash on exit when using a non default GUI font.
Possibly fixes #10318.
2017-11-14 06:41:06 +01:00
Eugene Sandulenko
327dcf98ec DRASCULA: Make remaining static texts translatable
drascula.dat file version bumped
2017-11-14 04:07:11 +01:00
Paul Gilbert
2ab66e7803 XEEN: Added giveBankInterest method 2017-11-13 20:46:37 -05:00
Paul Gilbert
13a53f3731 XEEN: Added resetBlacksmithWares method 2017-11-13 20:37:29 -05:00
Paul Gilbert
6412dc5f0e XEEN: Fix compiler warnings 2017-11-13 17:40:44 -05:00
Paul Gilbert
5a17a96c38 TITANIC: Fix switch fall throughs 2017-11-13 07:37:07 -05:00
Bastien Bouclet
0b28ea9884 COMPOSER: Fix the detection for the French Gregory version
The commit message of 2739d8fa2 says this is for the French version. The
language was set to English by mistake.

Ref#6548
2017-11-13 07:25:37 +01:00
Colin Snover
a6659ba9d5 DREAMWEB: Use accurate memory reclamation for Ex transfers
When the Ex memory regions are close to full, it is possible for
the game to fail to purge objects and then crash with an OOM error
even if it isn't actually out of memory. This patch calculates the
amount of free memory truly needed when allocating to Ex memory to
allow exactly the entire frame & text regions to be used, instead
previously where a hard-coded amount of free space to maintain was
used, which guaranteed that the entire memory region could not
actually be used by the game.

This change may be masking some underlying memory leak, or it may
just be that near the end of the game the game naturally comes
close to reaching the maximum memory region size. For the moment,
I am assuming the latter.

This commit also adds some assertion checks to the memory transfer
functions to make sure the regions don't quietly overflow in other
cases, since pickupConts performs transfers in a manner that
doesn't ensure enough free memory exists for them to be successful.

Fixes Trac#6820.
2017-11-12 23:15:05 -06:00
Colin Snover
0eda63bed1 SCUMM: Fix race condition in MOD player
Fixes Trac#6272.
2017-11-12 23:15:05 -06:00
Thierry Crozat
63b90d13e4 I18N: Regenerate translations data file 2017-11-13 05:05:08 +01:00
Paul Gilbert
97e4f3878d XEEN: Added How Much dialog 2017-11-12 20:27:42 -05:00
Paul Gilbert
191e491f0a XEEN: Added resetYearlyBits 2017-11-12 19:48:56 -05:00
Paul Gilbert
4abcbcb9fb XEEN: Added remainder of giveTake 2017-11-12 18:48:30 -05:00
Thierry Crozat
086b6e7e55 I18N: Update translation (French)
Currently translated at 100.0% (960 of 960 strings)
2017-11-12 23:44:59 +01:00
D G Turner
5199f9d080 SWORD25: Suppress GCC Cast Qualification Warnings.
Since lua_pushlightuserdata and lua_touserdata operate on (void *)
values, it is tricky to fix these warnings "correctly" without looking
at invasive changes to a significant amount of Lua internal code.

Since these pointers to consts are already being recast to drop the
const qualifications, then removing the const on the underlying value
declaration does not further expose this to change and stops the
compiler warnings associated with this.

Anyone with a better fix for this can restore the const
qualifications later.
2017-11-12 20:55:59 +00:00
Paul Gilbert
da87097835 XEEN: Fix compiler warnings & AmigaOS errors 2017-11-12 06:05:40 -05:00
Bastien Bouclet
ce3d5ebec1 GRAPHICS: Fix buffer overflow in drawBevelSquareAlgClip
Port of the fix from 0d8afad55.
2017-11-12 10:38:05 +01:00
Colin Snover
0d8afad559 GRAPHICS: Fix buffer overflow in drawBevelSquareAlg
Thanks to garethbp for discovering the issue and providing a fix.

Fixes Trac#6468.
2017-11-11 20:49:19 -06:00
Paul Gilbert
c068dd8b4a XEEN: Added more giveTake 2017-11-11 21:31:30 -05:00
Colin Snover
e6228f3ff6 SCI32: Fix integer overflow calculating audio duration
Due to the need to calculate the audio duration with millisecond
precision from the file size, it is possible to overflow a 32-bit
integer in games with long background audio loops, like RAMA,
during the calculation of the duration.

It is also not necessary to give some framerate here, so eliminate
the unnecessary explicit Timestamp construction with the second
argument.
2017-11-11 20:18:17 -06:00
Paul Gilbert
4a76e6fb3d XEEN: In progress implementing giveTake 2017-11-11 20:25:20 -05:00
Walter van Niftrik
4c3cb46bc8 ADL: Remove ADGF_TESTING for hires3+4 2017-11-11 23:41:59 +01:00
Colin Snover
f99c83c0a0 DREAMWEB: Fix out-of-bounds read of frame animation data
The game reads until it sees 0xFF, which is not until frame 14 for
some animations in the first interactive room of the game. This
happened to work previously because the struct is packed so it
would read into the b31.. members, but this was still technically
an out-of-bounds read.
2017-11-11 16:19:23 -06:00
Paul Gilbert
406ff7db10 XEEN: Fix comparisons for script If opcode 2017-11-11 16:45:50 -05:00
Paul Gilbert
2c2803863e XEEN: Debugger commands for gold and gems 2017-11-11 12:21:39 -05:00
Paul Gilbert
fddc81a23e XEEN: Fix premature sound parsing end 2017-11-11 11:56:56 -05:00
Ben Castricum
d6e12691f0 I18N: Update translation (Dutch)
Currently translated at 100.0% (960 of 960 strings)
2017-11-11 16:31:14 +01:00