Commit Graph
86814 Commits
Author SHA1 Message Date
Simei Yin 3672d99d4e SLUDGE: Complete parallax 2017-07-15 17:51:57 +02:00
Simei Yin c25a6ba4af SLUDGE: Complete snapshot 2017-07-15 17:51:57 +02:00
Paul Gilbert fe1617ac51 TITANIC: Fix pause during intro credits cutscene 2017-07-15 11:29:21 -04:00
Simei Yin 4a6feaefc8 SLUDGE: Use String::format instead of sprintf 2017-07-15 14:30:46 +02:00
Bastien Bouclet 6b78f4a567 MOHAWK: Riven: Set more variables when starting new games
Fixes #9960.
2017-07-15 07:26:26 +02:00
Bastien Bouclet a7900f5756 MOHAWK: Riven: Stop sending empty rects when drawing transitions
Fixes #9947.
2017-07-15 07:23:58 +02:00
Bastien Bouclet ef42fd3476 MOHAWK: Riven: Implement transition offsets
The games tries to match objects between the old and new card by
offsetting the transition of the new card.

Fixes #9947.
2017-07-14 19:45:23 +02:00
D G Turner ce81c5345d SLUDGE: Fix Unsigned vs. Signed Comparison Compiler Warnings. 2017-07-14 11:59:38 +01:00
Thierry Crozat 251ae00a11 I18N: Update translations templates 2017-07-14 08:25:42 +02:00
Bastien Bouclet 69dc56ad0f MOHAWK: Riven: Patch prison island dome switch sound change
Fixes #9958.
2017-07-14 08:16:01 +02:00
Colin Snover 6edb991bf9 SCI32: Add detection entry for Phantasmagoria FR 1.100.000
Fixes Trac#9910.
2017-07-13 23:24:37 -05:00
Paul Gilbert d8e5994d32 SLUDGE: Fix Visual Studio compilation 2017-07-13 23:42:41 -04:00
Colin Snover b1b18c54f3 SCI32: Patch out bad rat view init code in Phantasmagoria
Fixes Trac#9957.
2017-07-13 22:33:12 -05:00
Colin Snover bbad7ada1b SCI32: Ignore chest view palette in Phantasmagoria
This fixes the 3-frame glitch that was also present in the
original game when moving in the chapel from room 6500 to 6400 in
chapter 7.

Fixes Trac#9788.
2017-07-13 21:31:21 -05:00
Colin Snover 7543bd444d SCI32: Move priority comparison of ScreenItems into its own function
Rendering bugs in ScummVM are often caused by buggy game scripts
relying on the last ditch sort, which is not the same in ScummVM
as in SSCI (since the SSCI last ditch sort relies on a different
memory architecture and is super buggy). However, these bugs do
not show up very frequently these days, so it is easy to forget
all the places that need to be checked when debugging a rendering
problem that appears to be caused by sorting failure.

This commit breaks out the last ditch comparison formerly in
Plane::calcLists to hopefully make it more visible to future
programmers.

Refs Trac#9957.
2017-07-13 21:31:07 -05:00
Colin Snover 8047f3fa77 SCI32: Stop optimising palette merges
While this optimisation helped to reduce unnecessary palette
updates in KQ7, it broke Phant1, which relies on changes to index
255 in the source palette causing palette invalidation.

Refs Trac#9788.
2017-07-13 17:19:50 -05:00
Colin Snover 3e45309b83 SCI32: Add workaround for Phant1 2017-07-13 17:19:50 -05:00
Simei Yin cce0aace8b SLUDGE: get random number 2017-07-13 23:29:26 +02:00
Simei Yin b60aa5eae7 SLUDGE: fix warnings 2017-07-13 23:29:26 +02:00
Eugene Sandulenko 8fde046360 SLUDGE: Make UTF-8 code portable 2017-07-13 22:41:03 +02:00
Eugene Sandulenko 469d1777c4 SLUDGE: Fix more warnings 2017-07-13 18:48:48 +02:00
Eugene Sandulenko 2b0cbd3c7e SLUDGE: Fix warning 2017-07-13 18:46:55 +02:00
Eugene Sandulenko 50f1204966 SLUDGE: Fix line endings 2017-07-13 18:45:05 +02:00
Eugene Sandulenko e36f3ad79e SLUDGE: int32_t -> int32 2017-07-13 18:43:24 +02:00
yinsimei 94ddf526f4 SLUDGE: remove CommonCode directory to have a flat structure 2017-07-13 18:27:45 +02:00
yinsimei ef5e8091f6 SLUDGE: use multiple entries for language selection 2017-07-13 18:27:45 +02:00
yinsimei 6b794d3da7 SLUDGE: remove game settings from Sludge code 2017-07-13 18:27:45 +02:00
yinsimei 3c84965724 SLUDGE: delete a game that doesn't exist any more 2017-07-13 18:27:45 +02:00
yinsimei 8f618e55ae SLUDGE: move namespace to functionlist.h 2017-07-13 18:27:45 +02:00
yinsimei 91fcdda2d1 SLUDGE: change global Common::String to public var of SludgeEngine 2017-07-13 18:27:45 +02:00
yinsimei d6308b9176 SLUDGE: replace utf8 chars by code 2017-07-13 18:27:45 +02:00
yinsimei 1cd6de22e4 SLUDGE: remove debug code 2017-07-13 18:27:45 +02:00
yinsimei 800987ab95 SLUDGE: replace char *by Common::String 2017-07-13 18:27:45 +02:00
yinsimei 19ff9f419b SLUDGE: correct loadfile existence check 2017-07-13 18:27:45 +02:00
yinsimei 59ea5e5834 SLUDGE: use Graphics::Surface::drawLine instead of sludge defined drawLine 2017-07-13 18:27:45 +02:00
yinsimei ae8df00f56 SLUDGE: replace abs() by scummvm ABS() 2017-07-13 18:27:45 +02:00
yinsimei 9d349e794e SLUDGE: code formatting for ** 2017-07-13 18:27:45 +02:00
yinsimei 38262ad630 SLUDGE: use write/readFloatLB instead of Sludge get/putFloat 2017-07-13 18:27:45 +02:00
yinsimei 8f2a177cef STREAM: add read/write functions for float LE/BE 2017-07-13 18:27:45 +02:00
yinsimei d37888ad5f SLUDGE: use read/writeSint16LE instead of get/putSigned 2017-07-13 18:27:45 +02:00
yinsimei 076f841526 SLUDGE: fix u32string saving error 2017-07-13 18:27:45 +02:00
yinsimei 389bd92ab9 SLUDGE: correct #define in header to match file name 2017-07-13 18:27:45 +02:00
yinsimei 2563180f11 SLUDGE: remove math functions defined in sludge 2017-07-13 18:27:45 +02:00
yinsimei f8e1fe0064 SLUDGE: replace int types to scummvm defined ones 2017-07-13 18:27:45 +02:00
yinsimei cc727710b4 SLUDGE: remove define duplication 2017-07-13 18:27:45 +02:00
yinsimei b8cede684e SLUDGE: remove unused files 2017-07-13 18:27:45 +02:00
yinsimei 08304b848a SLUDGE: use Common/debug instead of sludge debug 2017-07-13 18:27:45 +02:00
yinsimei ed09887e84 SLUDGE: remove an unused .h 2017-07-13 18:27:45 +02:00
yinsimei ee45e15178 SLUDGE: use Common::Point instead of struct POINT 2017-07-13 18:27:45 +02:00
yinsimei 07e4982027 SLUDGE: remove #ifdef HAVE_GLES2 and clean code in graphics 2017-07-13 18:27:45 +02:00