Commit Graph
89422 Commits
Author SHA1 Message Date
Filippos Karapetis e32237ecb4 SCI32: update the fallback detector for Hoyle5, some cleanup 2018-08-30 23:51:01 +03:00
Filippos Karapetis 18837ded6e SCI32: Add audio volume sync support for Hoyle5 2018-08-30 23:51:00 +03:00
Timo Mikkolainen e13d7c0930 I18N: Update translation (Finnish)
Currently translated at 100.0% (998 of 998 strings)
2018-08-29 19:46:55 +02:00
Miroslav Remák 260811106c MUTATIONOFJB: Allow script commands to access all objects.
Previously objects with IDs beyond the defined number of objects were not accessible to IfCommand and ChangeObjectCommand. For example, this would cause script errors inside Fisher's house.
2018-08-29 19:13:55 +02:00
Miroslav Remák 81789162d3 MUTATIONOFJB: Disallow interaction with inactive doors. 2018-08-29 19:13:55 +02:00
Miroslav Remák ad73f65a20 MUTATIONOFJB: Fix interaction with certain overlapped statics.
An active static overlapped by an inactive static with lower ID was not interactable. For example, this affected the scene with the sawfish, where the machine in the closet would be blocked by the closet itself.
2018-08-29 19:13:55 +02:00
Lothar Serra Mari 8033f62f93 I18N: Update translation (German)
Currently translated at 100.0% (998 of 998 strings)
2018-08-29 08:08:17 +02:00
Thierry Crozat 3a1b401fe9 I18N: Update translations templates 2018-08-28 18:39:42 +02:00
Cameron Cawley 9dc2820a33 MACOSX: Fix compilation with the 10.4 SDK 2018-08-28 17:39:30 +01:00
George Kormendi ce9e90d81d I18N: Update translation (Hungarian)
Currently translated at 100.0% (998 of 998 strings)
2018-08-28 17:36:10 +02:00
Thierry Crozat aa23613533 I18N: Update translations templates 2018-08-28 15:54:09 +02:00
Cameron Cawley 6b5c7e6928 MACOSX: Update link to documentation 2018-08-28 15:52:23 +02:00
angstsmurf ebedc15437 MACOSX: Give every license file a menu item
We make a renamed copy of the three license files with non-standard
suffixes, to make them open in TextEdit by default.
2018-08-28 15:52:23 +02:00
angstsmurf d4eca67d2a MACOSX: Keep the original license files when combining 2018-08-28 15:52:23 +02:00
Cameron Cawley 8b5f7d247a MACOSX: Fix compilation with the 10.9 SDK and below 2018-08-28 15:52:23 +02:00
Cameron Cawley cb28ebcd1f MACOSX: Combine the license files into a single file when packaging 2018-08-28 15:52:23 +02:00
Colin Snover 9686d8c8e6 MACOSX: Put documentation links in Help menu
The local documents are not currently internationalised simply
because the internationalised resources are not put into the right
places (NSBundle will handle this automatically when they are);
Trac#10464 is a tracking bug for this outstanding issue.

Fixes Trac#10437.
2018-08-28 15:52:23 +02:00
Filippos Karapetis 27d9cd3281 SCI32: Fix a crash when talking with the Leshy in QFG4
Fixes bug #10137
2018-08-28 02:04:46 +03:00
Filippos Karapetis bcb044fa5b SCI: Fix typo 2018-08-28 02:03:50 +03:00
Filippos Karapetis 380551ed8e SCI32: Extend workaround for a music fading script bug in QFG4
Fixes bug #10421
2018-08-28 01:32:58 +03:00
Filippos Karapetis 7cbd3782f1 SCI: Load the correct sound effects in Hoyle 4
Fixes bug #10412
2018-08-27 23:45:34 +03:00
Ľubomír Remák 26445f4c26 MUTATIONOFJB: Fix Coverity issues. 2018-08-27 20:07:53 +02:00
Cameron Cawley d0a5da8c89 RISCOS: Mark riscosdist and riscosclean as .PHONY 2018-08-27 14:26:09 +01:00
Cameron Cawley 58cea8d0fd RISCOS: Add RISC OS specific clean rule 2018-08-27 14:26:09 +01:00
Torbjörn Andersson 54d7336d08 AUDIO: Free strings with delete[] instead of free()
Because scumm_strdup(), unlike strdup(), allocates strings with
new, not malloc(). (CID 1395228, 1395233, 1395235, 1395236)
2018-08-27 06:43:47 +02:00
Thierry Crozat bfded21849 I18N: Update translations templates 2018-08-27 06:41:43 +02:00
Bastien Bouclet ac4b2efd3f GUI: Clean up file browser path entry 2018-08-27 06:39:40 +02:00
Thierry Crozat 94a520d299 I18N: Regenerate translations data file 2018-08-27 05:05:08 +02:00
Thierry Crozat c9afeaa8d9 I18N: Update translations templates 2018-08-27 00:51:04 +02:00
Filippos Karapetis c978139f10 SCI32: Fix broken palette when loading a game in Shivers from the GMM 2018-08-27 01:50:32 +03:00
Bastien Bouclet 3376597abd OPENGL: Use premultiplied alpha for color-keyed cursors
This fixes colour fringing on keyed cursors when using filtering.

Fixes Trac#10594.
2018-08-26 21:08:40 +02:00
Colin Snover 81f78d4ddf BLADERUNNER: Remove use of C99 math
C++ math functions are overloaded so operate using single-precision
when receiving a float input. The C standard library on FreeMiNT
does not fully support C99 math so use of sqrtf, sinf, etc.
instead of the C++ API does not work.
2018-08-26 15:33:44 +03:00
Colin Snover 6af0c77b5a SWORD25: Remove use of C99 sqrtf
C++ sqrt is overloaded so operates using single-precision when
receiving a float input. The C standard library on FreeMiNT does
not fully support C99 math so use of sqrtf instead of sqrt(float)
does not work.
2018-08-26 15:33:44 +03:00
Evgeny Grechnikov 39ad93d738 LASTEXPRESS: fix gcc build 2018-08-26 12:09:43 +02:00
Evgeny Grechnikov f771fa40ad LASTEXPRESS: multiple fixes in NPC logic
Checked the logic against the original game
(to be precise, DOS English version from GOG, although I think
AI logic has no significant differences with other versions).
Fixed a *lot* of errors with varying visibility for the user.

Also, save+exit+load sometimes resulted in memory corruption like
((EntityParametersSSII*)(new EntityParametersIIII))->param8 = 0;
load operation did not restore the correct type of NPC logic context,
the default one was used (which also has the smallest sizeof).
Should be fixed now. Save+load is still unusable because it locks
everybody waiting for kActionEndSound (the sound state is not restored),
but, at least, it should not corrupt the memory. Hopefully.
2018-08-26 12:09:43 +02:00
Filippos Karapetis f3cb1fcd84 SCI: Fix compilation when SCI32 is disabled 2018-08-26 02:30:29 +03:00
David Fioramonti 51c11efbbc COMMON: Cos/Sin Table switch internal structure so at() is faster
A new internal table has been added so that no if checks need to
be performed for the at() lookup.

The old table can still be accessed using getTable or atLegacy().

at() and atLegacy() return the same values, but at() is faster.
2018-08-25 23:51:40 +02:00
David Fioramonti cf99bb0a5e COMMON: Update RDFT and DCT cos/sin table constructor usage
When the constructor for the cos/sin table was changed from
number of bits to number of points all usages thoughout the
code should of been changed, but this was missed in RDFT and DCT.

Fixes Trac#10683.
2018-08-25 23:50:07 +02:00
Ľubomír Remák b00395b0b9 MUTATIONOFJB: Fix MSVC warnings. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 0e90d6eae3 MUTATIONOFJB: Use advanced detector. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 696b61c146 MUTATIONOFJB: Move method comments to headers. 2018-08-25 23:12:01 +02:00
Ľubomír Remák cf878d8777 MUTATIONOFJB: Change old-style C casts to static_cast. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 959f37dfe4 MUTATIONOFJB: Don't mark internal strings as translatable. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 561309eaa2 MUTATIONOFJB: Fix missing lines between block ends. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 9f1c628d4b MUTATIONOFJB: Fix forward declarations of structs. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 4633b83986 MUTATIONOFJB: Improve documentation and naming. 2018-08-25 23:12:01 +02:00
Ľubomír Remák a25715a29b MUTATIONOFJB: Fix code formatting issues (with astyle). 2018-08-25 23:12:01 +02:00
Miroslav Remák 6ff609c514 MUTATIONOFJB: Improve documentation for statics. 2018-08-25 23:12:01 +02:00
Miroslav Remák 298bfc3d10 MUTATIONOFJB: Subclass Graphics::Font to reuse existing code. 2018-08-25 23:12:01 +02:00
Ľubomír Remák cd15dd82a2 MUTATIONOFJB: Check for out of bounds destination in blit_if. 2018-08-25 23:12:01 +02:00