aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/rooms.cpp
AgeCommit message (Collapse)Author
2018-04-15SUPERNOVA: Fixes type camel caseJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Fixes fallthrough warningJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Implements render functionsJoseph-Eugene Winzer
Although SupernovaEngine forwards render calls to screen, it also exposed members publicly like _brightness. Therefore, a few changes were necessary in rooms and state.
2018-04-15SUPERNOVA: Adds comment for using KNIFE on WIRE2Joseph-Eugene Winzer
2018-04-14SUPERNOVA: Adds sound abstractionJoseph-Eugene Winzer
2018-04-14SUPERNOVA: Renames _timer1 to _messageDurationJoseph-Eugene Winzer
2018-04-14SUPERNOVA: Moves updateEvents() to GameManagerJoseph-Eugene Winzer
updatEvents() depends on an initalized GameManager instance and mostly manipulates its state. So it seemed fitting to move it over.
2018-04-14SUPERNOVA: Renames wait2() to wait()Joseph-Eugene Winzer
2018-03-23JANITORIAL: Silence GCC 7 fallthrough warningAdrian Frühwirth
Confirmed intentional by Joefish.
2018-03-11SUPERNOVA: Recenters animated text on loopJoseph-Eugene Winzer
2018-03-11SUPERNOVA: Fixes formattingJoseph-Eugene Winzer
Because of confusion when indentation level is raised and thus tabs or spaces should be used when aligning code, this commit switches to tabs to avoid any further confusion.
2018-03-11SUPERNOVA: Implements animated text during in/outroJoseph-Eugene Winzer
2018-03-11SUPERNOVA: Appends NULL terminator to stringsJoseph-Eugene Winzer
The NULL terminator is needed during parsing.
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