aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
AgeCommit message (Collapse)Author
2019-12-31MOHAWK: LB: Add a console command to change the cursorCameron Cawley
2019-12-14MOHAWK: Remove Unused Engine Pointer from Riven Options DialogD G Turner
Flagged by GCC -Wunused-private-field
2019-12-02MOHAWK: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-15MOHAWK: MYST: Loop the flyby movies and allow skipping using left clickBastien Bouclet
Fixes #10599.
2019-11-10MOHAWK: MYST: Use OSystem::fillScreen now it works with all pixel formatsBastien Bouclet
2019-11-03MOHAWK: Stop relying on the target to detect the current gameBastien Bouclet
The target is user defined and not may not contain the game name
2019-11-03ENGINES: Stop using 'single id'Bastien Bouclet
2019-11-03ENGINES: Add an engine ID to all the enginesBastien Bouclet
2019-10-30MOHAWK: MYST: Save the options to ConfMan when the game is not startedBastien Bouclet
2019-10-29MOHAWK: RIVEN: Save the options to ConfMan when the game is not startedBastien Bouclet
That way changes made while on the main menu with no game started are persisted across sessions. When a game is started, the options are saved to the savegame as previously.
2019-10-27MOHAWK: MYST: Fix misuse of OSystem::fillScreenBastien Bouclet
OSystem::fillScreen is documented to only accept values between 0 and 255, and thus cannot be sanely used for hi-color graphics. This is probably an unfortunate leftover of when hi-color support was added. Fixes videos playing on a white background on the 3DS.
2019-10-26MOHAWK: Cut down on seeks when opening archivesBastien Bouclet
Helps with loading times on systems with slow storage.
2019-10-12MOHAWK: RIVEN: Modify cursor preloading to resolve crashing on 3DSMichael Ball
Common::PEResources being allocated on the stack was causing a stack overflow. ScummVM is configured to have 256kb of stack memory on the 3DS.
2019-10-05MOHAWK: Add Myst ME as a subengine, and mark 'jpeg' as a required dependencyEugene Sandulenko
Because our build system does not allow recursive dependencies, inserting #error for incorrect configuration. For enabling mystme, myst target must be enabled as well
2019-08-09GRAPHICS: Add a version of CursorManager::replaceCursor that accepts a ↵Cameron Cawley
Graphics::Cursor
2019-05-27MOHAWK: Fix MSVC warningsFilippos Karapetis
Fix assignments to float variables, by adding a float suffix
2019-05-01COMMON: Replace NEResourceType and PEResourceType with a shared enumCameron Cawley
2019-03-08MOHAWK: RIVEN: Fix using the jundle ladder without lowering itBastien Bouclet
It was possible to bypass lowering the ladder when using keyboard navigation. This is fixed using a game script patch to ensure the hotspot for getting down the ladder is disabled when appropriate.
2019-02-02MOHAWK: RIVEN: Add a console to quickly test all the cardsBastien Bouclet
Goes through all the cards clicking on hotspots at random.
2019-02-02MOHAWK: RIVEN: Prevent the card leave script from recursingBastien Bouclet
Recursion would happen when multiple events are received in the same frame. This could happen when mashing both the mouse and the keyboard to move around faster, as noticed by a speedrunner.
2019-01-30MOHAWK: RIVEN: Patch Jungle island book closing animation scriptBastien Bouclet
Fixes #10880.
2018-11-13MOHAWK: Fix Fall Through Compiler Warning.D G Turner
2018-10-07MOHAWK: Show the closed gate on the 3rd channelwood levelBastien Bouclet
The original game scripts are missing a delay. Fixes #10727.
2018-10-05MOHAWK: Add Detection Entries For Two LB Game Variants.D G Turner
These are from bug Trac #6745 "MOHAWK: Two unknown Living Book game variants..."
2018-10-04MOHAWK: Add Detection Entry for Spanish Variant of Arthurs Birthday.D G Turner
This is from Bug Trac #10705.
2018-09-09MOHAWK: RIVEN: Don't allow saving from the GMM if no game is startedBastien Bouclet
2018-09-09MOHAWK: RIVEN: Don't allow opening the main menu from the config screensBastien Bouclet
2018-09-09MOHAWK: RIVEN: Return to main menu after the creditsDavid Fioramonti
Like the original the game loop returns to the main menu after the credits end. The variable states are reset and the player can start a new game or load an old one.
2018-09-01MOHAWK: RIVEN: Wait for the sound track to end after the creditBastien Bouclet
2018-08-31MOHAWK: RIVEN: Let credits roll longerDavid Fioramonti
Fixes Trac#10675. Previously, the credits ended as soon as the last row was shown of the final credits image. Now some more black rows (empty rows) are shown and finally a few seconds of black. I set it to 8 seconds of wait beyond where the credits where previously stopping. In order to do this updateCredits was enhanced to work past the end of the last credits image (and just keep adding empty rows). The original game shows a black screen for a longer period than this. The credit image numbers are turned into enums.
2018-08-12MOHAWK: Fix warningEugene Sandulenko
2018-08-11MOHAWK: RIVEN: Delay less for slower systemsDavid Fioramonti
Some systems may take longer to process the game loop than others so we delay by a variable amount so faster and slower system execute the game loop the same number of times per second (the fps is capped at 100). Slower systems that take longer than 10ms to process the game loop won't have any delay.
2018-08-11MOHAWK: RIVEN: Move input handling to a separate functionDavid Fioramonti
Simplifies doFrame().
2018-08-11MOHAWK: RIVEN: Rework font loading so the TTF font is not leakedBastien Bouclet
2018-08-04MOHAWK: RIVEN: Fix crash when clicking on a marble with the mouse movingBastien Bouclet
In some cases a mouse moved event could be handled between the moment the xtakeit script was queued and the moment it is executed (on the same frame), causing the mouse position no longer to be over a marble rectangle. Fixes #10647.
2018-07-31MOHAWK: Fix Unused Variable Compiler Warning.D G Turner
This occurs when FreeType2 is not enabled and thus fontHeight variable is unused.
2018-07-30MOHAWK: MYST: Add support for the localized 25th gamesBastien Bouclet
2018-07-29MOHAWK: Silent Compiler Warning About Unused VM Pointer.D G Turner
This can be restored if required at a later time.
2018-07-27MOHAWK: RIVEN: Only use x mouse position to move dome slidersDavid Fioramonti
Fixes Trac#10642. The original engine will move the dome sliders whenever the player is dragging a dome slider to the left or right regardless of y position. In ScummVM the dome slider position would only change to the players x mouse position when the y value was also in the slider hotspot. This change removes the y check by making the point to be checked always have a y value in the hotspot rect. The x values are also bound to the max and min value that any of the slider hotspots can have. This allows the slider to go all the way to the left and right even if the user has gone past the slider area to the left or right while still holding the slider.
2018-07-25MOHAWK: MYST: Don't play the flyby movies when going back to MystBastien Bouclet
2018-07-21HOHAWK: RIVEN: Don't allow autosaving after credits have finishedDavid Fioramonti
There is a brief period after the credits finish, but before the engine closes that autosaving can happen. Fixes Trac#10635.
2018-07-21MOHAWK: MYST: Don't call the mouse up handler if executeMouseUp was usedBastien Bouclet
Fixes Trac#10573.
2018-07-17MOHAWK: RIVEN: Fix white screen before a bad ending's creditsBastien Bouclet
This was happening in the Polish version only. Fixes #10632.
2018-07-15MOHAWK: MYST: Have Mech fortress west direction persists after returningDavid Fioramonti
Fixes Trac#10575. When stepping away or pressing the buttom for the mechanical age fortress rotator after setting it west it would be south. This is because some variables used for a workaround were being reset everytime the rotator puzzle was being reinitalized (in o_fortressRotation_int). Which happens when the player steps back up to the rotator controls. This change simply removes the variables being reset so they retain the variables they had before. Those variables are already initalized in the Mechanical constructor.
2018-07-15MOHAWK: MYST: Don't set Mech direction when elevator button is pressedDavid Fioramonti
The direction that the fortress is pointing is calculated when the user locks on using the left throttle (after the gears have stopped). It also happens when the user hits the button. There is only a difference in the two behaviors when the user has changed the direction, but not locked on. The 2nd case can lead to the direction be different than what the last locked on direction was. Since the user can lock the direction to say north, turn it to west, not lock on and hit the button, which will set the direction to west. This can lead to confusion since a direction sound isn't played in this case. This change removes code, to prevent the recalculation of the direction when the button is pressed so that direction is always what it was last locked onto.
2018-07-13MOHAWk: RIVEN: Reset the mouse cursor when changing stack / unpausingBastien Bouclet
2018-07-13MOHAWK: RIVEN: Queue opening and closing the main menu as scriptsBastien Bouclet
This way all the other actions are blocked while the card load scripts are executed. Expecially, it's not possible anymore to open the main menu while the scripts for returning from the main menu are still executing. Fixes Trac#10628.
2018-07-11MOHAW: RIVEN: Added more localized 25th resource id workaroundsBastien Bouclet
Fixes Trac#10625, Fixes Trac#10624.
2018-07-10MOHAWK: RIVEN: Fix off-by-one ids in ospit for the 25th localized versionsBastien Bouclet
Fixes Trac#10620.
2018-07-08MOHAWK: MYST: Add delays at each step of Achenar's torture switch animBastien Bouclet
Fixes Trac#10606.