aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/rooms.cpp
AgeCommit message (Collapse)Author
2018-01-23SUPERNOVA: Improve waiting until a sound has finished playingThierry Crozat
2018-01-23SUPERNOVA: Fix cursor not shown if escaping during the intro snoring sequenceThierry Crozat
2018-01-23SUPERNOVA: Fix missing reset of object CARRIED flag when clearing inventoryThierry Crozat
2018-01-23SUPERNOVA: Renames INT32_MAX to kMaxTimerValueJoseph-Eugene Winzer
Prevents collision with stdint.h INT32_MAX
2018-01-23SUPERNOVA: Removes commentJoseph-Eugene Winzer
renderRoom() and later in the game loop executeRoom() does everything that is explicitly called in the original.
2018-01-23SUPERNOVA: Hides cursor during snoring sequenceJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Aborts intro if game should be closedJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes fading in introJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Updates palette when changing room brightnessJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Renames audio constantsJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Renames audio constantsJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes outro cutsceneJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Implements money object for inventoryJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Replaces TICKETS with MONEYJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Introduces INT32_MAX for eventTimeJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Corrects max value for int32Joseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes setting of properiesJoseph-Eugene Winzer
resetProperty() clears the object's property flag compared to setProperty().
2018-01-23SUPERNOVA: Rename kAudioUndef2 to kAudioSmashJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes game freeze in bcorrdiorJoseph-Eugene Winzer
Most of the time _objectState[MAX_OBJECT - 1] was used for showing/hiding the GUI, here it was to indicate if the player is currently hidden behind a pillar though.
2018-01-23SUPERNOVA: Fixes turntable messageJoseph-Eugene Winzer
Do not show a message that the record is scratched when either the turnable is unplugged or the cable cut.
2018-01-23SUPERNOVA: Puts on suit when leaving the restaurantJoseph-Eugene Winzer
genericInteraction() has a special case when you take off your helmet in the restaurant, it strips you completely. Once you leave it's supposed to put on your suit, helmet and supply but instead if flagged generic objects as worn.
2018-01-23SUPERNOVA: Implement onEntrance for all corridorsThierry Crozat
2018-01-23SUPERNOVA: Fix clearing inventory when landing on AxacussThierry Crozat
If the player did pik up the discman earlier in the game, it should be kept. Also the inventory scroll needs to be reset after removing almost all the objects as otherwise we may see what seems to be an empty inventory with no arrow (although we can still scroll when clicking on the space where the up arrow should be).
2018-01-23SUPERNOVA: Removes Discman from inventoryJoseph-Eugene Winzer
After landing on Axacuss your items are removed, except for your knife and watch.
2018-01-23SUPERNOVA: Implement dialogs with variable textThierry Crozat
This was partially implemented but not finished. However I reverted the changes already done to support that in order to use a different approach.
2018-01-23SUPERNOVA: Complete implementation of walking through the JungleThierry Crozat
2018-01-23SUPERNOVA: Add 2 missing translation strings, handle variable dialogs in ↵Strangerke
AxacussCorridor5
2018-01-23SUPERNOVA: Small cleanupsStrangerke
2018-01-23SUPERNOVA: Implement telomat, increase savegame versionStrangerke
2018-01-23SUPERNOVA: Fix missing message when waking up from dreamThierry Crozat
2018-01-23SUPERNOVA: Fix handling of room brightnessThierry Crozat
There were several issues with the brighness due to the different implementation between the original and the code in scummvm. The code has now been modified to be much closer to the original, which fixed those issues and allowed to remove workarounds that had been added in various places to deal with those issues (but those workarounds had their own issues such as fade in happening too soon before switching to the new room).
2018-01-23SUPERNOVA: Fix some TODOsStrangerke
2018-01-23SUPERNOVA: Fix several issues with savegamesThierry Crozat
2018-01-23SUPERNOVA: Implement autosave used for dream sequenceThierry Crozat
2018-01-23SUPERNOVA: Use setCurrentImage instead of passing the image to renderImageThierry Crozat
This is more similar to what the original code does and allows to retire the renderImage variant that takes an image.
2018-01-23SUPERNOVA: Fix logic in rendering codeThierry Crozat
There were several issues fixed by this commit. The main ones are: - It was in many places only drawing the first section even for images that have multiple sections. - It was in some places using the wrong image. The first issue has been fixed by removing the GameManager::drawImage function, and moving its logic to SupernovaEngine::renderImage which was initially only drawing one section, but was nevertheless called directly from many place. The second image required more changes to the rendering code to allow setting the current image file when it is different from the room file. This fixes some memory issues and random crashes in places where it was for example trying to use the image -1. This also fixes the rendering of the flying cutscene.
2018-01-23SUPERNOVA: Implement shipstart cutsceneThierry Crozat
2018-01-23SUPERNOVA: enable general dialogs in AxacussIntersection and AxacussExitStrangerke
2018-01-23SUPERNOVA: Implement AxacussExit interaction logicStrangerke
2018-01-23SUPERNOVA: Add interaction logic for AxacussIntersectionStrangerke
2018-01-23SUPERNOVA: Remove variables and stub functions related to overlayThierry Crozat
2018-01-23SUPERNOVA: Implement event callback mechanism and Supernova eventThierry Crozat
2018-01-23SUPERNOVA: Fix recursive infinite loop in door closing animation in ↵Thierry Crozat
ArsanoEntrance
2018-01-23SUPERNOVA: Handle events during dialogsThierry Crozat
2018-01-23SUPERNOVA: Cleanup dialog codeThierry Crozat
The main change consists in using a separate byte array for the sentence removal flags, move some functions from the GameManager to the Room class, and add a few additional functions to manipulate this new array. This allows to clarify some code related to dialogs. This change also allows to switch the _shown array back to a bool array.
2018-01-23SUPERNOVA: Implement most dialog related functionsThierry Crozat
2018-01-23SUPERNOVA: Extract some more stings from rooms.cppStrangerke
2018-01-23SUPERNOVA: Remove AxacussCorridor5::interact in order to get rid of several ↵Strangerke
GOTOs
2018-01-23SUPERNOVA: extract strings for Axacuss Corridor 5Strangerke
2018-01-23SUPERNOVA: Merge two strings to help with translationThierry Crozat