50703 Commits

Author SHA1 Message Date
Bastien Bouclet
3e99dd8ccc MOHAWK: Myst: Switch to bounds checked opcode arguments 2017-07-22 20:38:56 +02:00
Bastien Bouclet
75040819c6 MOHAWK: Myst: Rewrite the sound code
It now more closely matches the original. Effect sounds are now stopped
when resuming background sounds.

Fixes #9574, Fixes #9920.
2017-07-22 20:38:56 +02:00
Bastien Bouclet
a2fc282e1c MOHAWK: Myst: Move the sound code to its own class 2017-07-22 20:38:56 +02:00
Bastien Bouclet
01480f9a00 MOHAWK: Myst: Fix the quickTest debug command 2017-07-22 20:38:56 +02:00
Bastien Bouclet
64303abb07 MOHAWK: Myst: Update the screen only once per frame
Change all inner loops to call the same frame function.

Remove the draw delay code. Now that we have proper frame pacing it is
not necessary anymore to wait before drawing to make sure the previous
frame stayed on the screen long enough.

Fixes #9915, #9922, #9923.
2017-07-22 20:38:56 +02:00
Bastien Bouclet
9cb6c872b7 MOHAWK: Myst: Decorrelate hotspot handling from event handling
This makes sure doFrame can be called from anywhere, including scripts.
2017-07-22 20:38:56 +02:00
Bastien Bouclet
8f0fa86fbc MOHAWK: Myst: Change blocking sounds to use the main loop 2017-07-22 20:38:56 +02:00
Bastien Bouclet
3dd4da0c37 MOHAWK: Myst: Change the delay opcode to use the main loop 2017-07-22 20:38:56 +02:00
Bastien Bouclet
49fa0bdd68 MOHAWK: Myst: Change blocking movies and waits to use the main loop 2017-07-22 20:38:56 +02:00
Bastien Bouclet
a106dc8dd4 MOHAWK: Remove unused parameters VideoManager 2017-07-22 20:38:56 +02:00
Bastien Bouclet
c5496e3206 MOHAWK: Get rid of VideoHandle 2017-07-22 20:38:56 +02:00
Bastien Bouclet
0b9bfb3d3c MOHAWK: Myst: Remove delayUntilMovieEnds
This will break movies called by scripts until event handling is
decorrelated from script calls.
2017-07-22 20:38:56 +02:00
Bastien Bouclet
8f59348ec3 MOHAWK: Myst: Start reworking mainloop detection 2017-07-22 20:38:56 +02:00
Bastien Bouclet
ee9328323b MOHAWK: Myst: Move frame handling to a separate method 2017-07-22 20:38:56 +02:00
Bastien Bouclet
3c04ad0227 MOHAWK: Myst: Keep track of the resource being clicked 2017-07-22 20:38:56 +02:00
Bastien Bouclet
49f48a5b8d MOHAWK: Myst: Turn the currently active resource into a pointer 2017-07-22 20:38:56 +02:00
Bastien Bouclet
9ac98d0fc9 MOHAWK: Myst: Always update the screen during the gameloop 2017-07-22 20:38:56 +02:00
Simei Yin
a1be6d4209 SLUDGE: Move sprite bank to graphics manager 2017-07-21 14:00:24 +02:00
Simei Yin
5c853fbd65 SLUDGE: Add some windows-only games with running problems 2017-07-21 13:29:57 +02:00
Simei Yin
e120aa585e SLUDGE: Add game Life Flashes By 2017-07-21 11:57:29 +02:00
Simei Yin
e4cbba9d09 SLUDGE: Add game The Interview 2017-07-21 11:49:01 +02:00
Simei Yin
0cc9e59105 SLUDGE: Add game Frasse and the Peas of Kejick 2017-07-21 11:45:45 +02:00
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
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
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
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