Bastien Bouclet
ab46dae8d7
MOHAWK: RIVEN: Rework font loading so the TTF font is not leaked
2018-08-11 08:58:12 +02:00
Eugene Sandulenko
0ca52f62a4
MOHAWK: RIVEN: Draw menu with TTF fonts
2018-06-29 13:31:54 +02:00
Bastien Bouclet
b0681082a9
MOHAWK: RIVEN: Fix out of bounds write in the flies effect
...
Fixes Trac#10579.
2018-06-22 06:35:24 +02:00
Bastien Bouclet
84b2dc5cc8
MOHAWK: Fix some clang-tidy warnings
2018-03-31 13:36:09 +02:00
Colin Snover
432fd522d2
ENGINES: Remove default1x scaler flag
...
This flag is removed for a few reasons:
* Engines universally set this flag to true for widths > 320,
which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
since its behaviour was almost completely undocumented and users
would need to figure out that they'd need an explicit non-default
scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
deciding how the backend may choose to render its virtual screen.
The choice of rendering behaviour belongs to the user, and the
backend, in that order.
A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Bastien Bouclet
661487c2b5
MOHAWK: Riven: Move the water effect to its own class
...
Fixes the per frame scripts being leaked.
Fixes #10215 .
2017-09-20 07:16:20 +02:00
Bastien Bouclet
c6e6d0b3df
MOHAWK: Riven: Ensure the entire view is drawn when pan transitions complete
...
Fixes #10063 .
2017-08-05 14:14:37 +02:00
Bastien Bouclet
69c1f70818
MOHAWK: Riven: Let the gameloop gracefully end when quitting
...
Prevents the quit confirmation dialog from being displayed at the end of
the game's ending if it is enabled.
Fixes #9943 .
2017-07-29 18:20:45 +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
Bastien Bouclet
1141bfc1a6
MOHAWK: Riven: Clear the effects screen at the beginning of credits
...
It is used as a source for the fade from black effect. Ensures the first
fading effect fades from black and not the previous view.
Fixes #9929 , #9930 , #9931 , #9932 , #9933 .
2017-07-10 08:07:45 +02:00
Bastien Bouclet
efcbe65757
MOHAWK: Riven: Fix ending video not playing when using the trap book
...
Fixes #9911 .
2017-07-09 06:55:10 +02:00
Bastien Bouclet
08e642314e
MOHAWK: Check the Books external commands against the original
2017-07-03 08:50:10 +02:00
Bastien Bouclet
121c0ee08c
MOHAWK: Don't update the screen immediatly after drawing
...
Updating the screen needs to happen exactly once at the end of each game
loop.
2017-07-03 08:50:10 +02:00
Bastien Bouclet
f977b57123
MOHAWK: Rewrite the Riven movie manager
2017-07-03 08:50:10 +02:00
Bastien Bouclet
1aa4233802
MOHAWK: Rework stack frame updates to work like the original
2017-07-03 08:50:10 +02:00
Bastien Bouclet
aa32c5e584
MOHAWK: Pass rects by const reference in Riven's graphics manager
2017-07-03 08:50:10 +02:00
Bastien Bouclet
3900597996
MOHAWK: Implement card transitions for Riven
2017-07-03 08:50:10 +02:00
Bastien Bouclet
1286e7fcf0
MOHAWK: Use an enum for Riven's transition types
2017-07-03 08:50:10 +02:00
Bastien Bouclet
0ba035eea6
MOHAWK: Move Riven inventory code to a new class
2017-07-03 08:50:10 +02:00
Bastien Bouclet
ab2d151541
MOHAWK: Implement the (fire)flies effect mainly used in jungle island
2017-07-03 08:50:10 +02:00
Bastien Bouclet
85712e56c8
MOHAWK: Only allow a single pixel format in Riven to simplify the implementation
2017-07-03 08:50:10 +02:00
Bastien Bouclet
e9b67081c3
MOHAWK: Introduce the effects intermediary screen
2017-07-03 08:50:10 +02:00
Bastien Bouclet
05bed84a85
MOHAWK: Rename the card and stack accessors
2017-07-03 08:50:10 +02:00
Bastien Bouclet
3c8decec0a
MOHAWK: Move the resource names to RivenStack
2017-07-03 08:50:10 +02:00
Bastien Bouclet
f752066a8e
MOHAWK: Introduce a new RivenStack class
2017-07-03 08:50:10 +02:00
Bastien Bouclet
2fbe284a31
MOHAWK: Chane Riven's graphics manager to automatically handle screen updates
2017-07-03 08:50:10 +02:00
Bastien Bouclet
1bb5424ddd
MOHAWK: Move PLST handling to the RivenCard class
2017-07-03 08:50:10 +02:00
Bastien Bouclet
abe6889bbe
MOHAWK: Remove the current card id from the Riven engine class
2017-07-03 08:50:10 +02:00
Bastien Bouclet
2756d6226b
MOHAWK: Add a Riven specific sound manager
...
- Add ambient sound fading
- Fix ambient sound volume to use the list-level volume
2016-08-11 19:53:20 +02:00
Strangerke
359ef3de53
MOHAWK: Initialize some more variables
2016-06-01 07:44:02 +02:00
Matthew Hoops
0a899876e7
MOHAWK: Use original stack ID mapping for Riven
2014-05-03 22:55:50 -04:00
Johannes Schickel
abd9e92086
MOHAWK: Make GPL headers consistent in themselves.
2014-02-18 02:39:36 +01:00
Johannes Schickel
575cfca013
MOHAWK: Take advantage of Surface::getPixels.
2013-08-03 04:02:51 +02:00
Johannes Schickel
6eb9c8da9e
MOHAWK: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:32 +02:00
Johannes Schickel
d214391431
MOHAWK: Get rid of casts on OSystem::copyRectToScreen calls.
2012-06-16 02:38:59 +02:00
Matthew Hoops
5e52b0a5d4
MOHAWK: Split the graphics classes into their own files
2012-03-10 13:55:08 -05:00