Commit Graph
137148 Commits
Author SHA1 Message Date
Simei Yin fd2cf90bb3 SLUDGE: Objectify cursor manager 2017-07-21 11:21:45 +02:00
Simei Yin 6858d3c6ae SLUDGE: Remove unused files 2017-07-21 11:21:45 +02:00
Simei Yin 4a54a02760 SLUDGE: Objectify text manager 2017-07-21 11:21:45 +02:00
Simei Yin 73a81a5089 SLUDGE: Objectify sound manager 2017-07-21 11:21:45 +02:00
Simei Yin 2b538d4376 SLUDGE: Correct uninitialized values 2017-07-21 11:21:45 +02:00
Paul Gilbert 87d32c23c0 TITANIC: Extra code in movie debugger command to aid reverse AVI testing 2017-07-20 21:21:20 -04:00
Simei Yin 28982aa9a5 SLUDGE: Remove useless zbuffer updating code 2017-07-20 19:10:01 +02:00
Simei Yin 0fb4a1ddd2 SLUDGE: Objectify input and event handler 2017-07-20 19:10:01 +02:00
Simei Yin caa51ef49a SLUDGE: Change all structure names to Uppercase 2017-07-20 19:10:01 +02:00
Paul Gilbert 9752d7bb43 TITANIC: Don't load prior frame for videos when in reverse mode 2017-07-20 07:28:56 -04:00
Vincent Pelletier 58ff5bd79a ANDROID: Limit mixer output sample rate
Fixes
  rate effect can only handle rates < 131072
error for example when starting grim intro video.
2017-07-20 11:25:44 +09:00
Vincent Pelletier bcd1066540 TINYGL: Move initialisation code outside of loop
Readability-only change.
Clarifies that these variables will be initialised before they get
accessed in the loop.
Also, initialise update_left and update_right to true, and only clear the
one needed for given triangle.
2017-07-20 01:56:35 +00:00
Vincent Pelletier 218d3214d7 TINYGL: Move remaining line counter decrement near y increment
Readability-only change.
Both represent the same notion, and nb_lines is only accessed as loop
condition.
2017-07-20 01:53:34 +00:00
Vincent Pelletier a6af3a38a3 TINYGL: Fix vertice color when clipped and lighting is disabled
longcurrent_color is assigned per vertex, but it is not saved on each
vertex on creation (unlike their "color" attribute, used when lighting
is enabled).
As a consequence, and because rendering happens asynchronously (rather,
following the draw call queue managed by zdirtyrect.cpp when requested
to flip current buffer), longcurrent_color at clipping time can be
different to the one at vertex declaration time, causing color artifacts.

The effect is most noticeable in EMI set shi, in the grog dispenser +
shipyard manager closeup angle, when Guybrush exits the screen by
crossing its right border: dark triangles become visible on his face.

Instead, always use the color attribute, which is already properly
initialised on vertex creation.
2017-07-20 01:51:07 +00:00
Vincent Pelletier 92130c138e TINYGL: Obey current shade model also when clipping lines.
The code was only interpolating color (in TGL_SMOOTH mode) when clipping
faces, extend it to lines.
Also, factorise color interpolation code.
No visual difference is expected in normal use, but it fixes wireframe
rendering when used for debugging.
2017-07-20 01:48:58 +00:00
Simei Yin 300e34d535 SLUDGE: Correct snapshot 2017-07-20 02:48:21 +02:00
Simei Yin 7e95f7dc63 SLUDGE: Fix backdrop loading for images not of the window size 2017-07-20 02:00:18 +02:00
Simei Yin aded7ce9e9 SLUDGE: Add game Out Of Order 2017-07-20 02:00:18 +02:00
Paul Gilbert 7b61e71ae5 TITANIC: Fix quote searches done by all the bots 2017-07-19 18:56:04 -04:00
Simei Yin e617a53608 SLUDGE: Objectify graphic classes 2017-07-20 00:43:16 +02:00
Simei Yin 0e7d9b4eb2 SLUDGE: Objectify parallex and create graphics manager 2017-07-20 00:43:16 +02:00
Simei Yin 53542073b9 SLUDGE: Objectify object manager 2017-07-20 00:43:16 +02:00
Bastien Bouclet 1036022507 MOHAWK: Riven: Add script patch for missing sound when entering sub
Fixes #9972.
2017-07-19 19:07:57 +02:00
Bastien Bouclet d03475e5ab MOHAWK: Riven: Speed up the credits
Fixes #9970.
2017-07-19 07:23:32 +02:00
Bastien Bouclet a7dd81060b MOHAWK: Riven: Fix the ending movie looping in the Rebel age
Fixes #9969.
2017-07-19 07:23:32 +02:00
Bastien Bouclet 3ec5f050ce MYST3: Refresh the ambient sounds when running playMovieChangeNode
Fixes #1337, Fixes #1350.
2017-07-19 06:54:45 +02:00
Paul Gilbert 559e6dafe1 TITANIC: Fix access after free in filterConcepts loop 2017-07-18 22:44:55 -04:00
Paul Gilbert 60de2718bd TITANIC: Fix new[] vs free mismatches 2017-07-18 22:40:48 -04:00
Paul Gilbert cbd807221e TITANIC: DeskbotScript::searchQuotes is meant to have a result array 2017-07-18 22:30:09 -04:00
Paul Gilbert 3525d5d4c9 TITANIC: Fix crash trying to restart game after returning to launcher 2017-07-18 22:09:57 -04:00
Paul Gilbert 50a90cd2f1 DEVTOOLS: Correct misspelling in create_titanic, thanks to Lightkey 2017-07-18 19:39:35 -04:00
Colin Snover 6ad230da7c SCI32: Fix kIsOnMe crashes in LSL7 About screen 2017-07-18 12:35:06 -05:00
Simei Yin 4fc6cef968 SLUDGE: Objectify resource manager 2017-07-18 19:05:04 +02:00
Simei Yin 798ec60f54 SLUDGE: Objectify language manager 2017-07-18 19:05:04 +02:00
Simei Yin 70c965a1c4 SLUDGE: Remove special settings 2017-07-18 19:05:04 +02:00
Simei Yin 5d554d36ed SLUDGE: Objectify Timing 2017-07-18 19:05:04 +02:00
Simei Yin 4c4690a1e3 SLUDGE: Update ZBuffer with changed backdrop 2017-07-18 19:05:04 +02:00
Thierry Crozat 7a469a859a I18N: Update translations templates 2017-07-18 06:57:06 +02:00
Colin Snover 9d62caa684 SCI32: Promote LSL7 to ADGF_TESTING 2017-07-17 23:56:22 -05:00
Colin Snover dcb6c32215 SCI32: Destroy audio streams in Audio32 using DisposeAfterUse flag
Since Resource::makeStream returns a MemoryReadStream which will
not attempt to free the resource memory, it is fine to always
dispose those streams and get rid of the separate resourceStream
property, which was a holdover from some past WIP resource design
which no longer exists.
2017-07-17 23:56:21 -05:00
Colin Snover 64d090dcb8 SCI32: Fix stream leaks in Audio32/SOLStream
makeSOLStream was leaking the SeekableSubReadStream object it
creates itself if it was not called with DisposeAfterUse::YES. That
substream is an implementation detail which should not rely on
the caller to be destroyed.
2017-07-17 23:56:21 -05:00
Colin Snover ba4fccdb26 SCI32: Add workaround for Torin/LSL7 running with subtitles only
Since these later SCI32 games weren't really designed to work with
subtitles-only message mode, if this doesn't work consistently or
breaks the games a lot in other places, the subtitles-only message
type could possibly be implemented in some other way, like by
messing with the game's speech volume global instead.
2017-07-17 23:56:21 -05:00
Colin Snover 09ef11a8cb SCI32: Remove ENABLE_SCI3_GAMES ifdef, now that they are supported 2017-07-17 22:42:18 -05:00
Colin Snover afe344cc1f SCI32: Add guest additions support for LSL7 2017-07-17 22:42:18 -05:00
Colin Snover 2528ecf26e SCI32: Fix playback of looped audio
This fixes at least Lighthouse audio 808 in room 270, and audio
801 in room 810.
2017-07-17 22:42:18 -05:00
Paul Gilbert c3f8f1a514 TITANIC: Fix Maitre D not animating when talking 2017-07-17 22:00:14 -04:00
Paul Gilbert 5f42a21161 DEVTOOLS: Added German string translations to create_titanic
Thanks go to Joe Winzer for his work
2017-07-17 20:46:37 -04:00
Paul Gilbert 274eb7f492 TITANIC: Don't prod Maitre D's butt just by moving mouse on him 2017-07-17 20:16:20 -04:00
Paul Gilbert e8e7266214 TITANIC: Improve performance of event handling 2017-07-17 19:39:50 -04:00
Eugene Sandulenko 06e1445fd1 MACGUI: Fix warning 2017-07-18 00:02:45 +02:00