aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/state.cpp
AgeCommit message (Collapse)Author
2018-03-11SUPERNOVA: Removes unused functionJoseph-Eugene Winzer
2018-03-11SUPERNOVA: Encapsulates GuiElementJoseph-Eugene Winzer
It simplifies the overloaded functions for renderBox/Text and saveScreen
2018-03-11SUPERNOVA: Implements original quit promptJoseph-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-01-31SUPERNOVA: Mark intentional fallthrough in switchThierry Crozat
2018-01-31SUPERNOVA: Improve command button size for translationsThierry Crozat
2018-01-30SUPERNOVA: Ensure the GuiElement _text field is null terminatedThierry Crozat
This was reported by coverity (CID 1385566), and althought this was unlikely to happen, it was not impossible (due to the translations).
2018-01-30SUPERNOVA: Fix out of bound access when exiting the engine while in a dialogThierry Crozat
This was reported by coverity (CID 1385572).
2018-01-23SUPERNOVA: Handle RTL and Quit while editing textThierry 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: Changes message orderJoseph-Eugene Winzer
When taking off your helmet or life support in a room without oxygen, it showed the death screen before the 'taking off helmet/life support' message.
2018-01-23SUPERNOVA: Moves strings to GameManager classJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Prevents paletteFadeIn() to be triggeredJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Reverts brightness changeJoseph-Eugene Winzer
If the brightness is 0, it is faded in at the end of the game loop. In some instances, especially cutscenes, it makes the code harder to understand as in somecases the code expects the brightness to be faded in after having it faded out, set manually to 0 or when you leave a dark room, set by roomBrightness(). Removing it now, would just lead to more confusion during the port of Supernova part 2.
2018-01-23SUPERNOVA: Fixes object state updateJoseph-Eugene Winzer
In order to trigger a mouseField change in processInput(), we move the cursor to 0,0 first before restoring its original position.
2018-01-23SUPERNOVA: Pushes a mousemove to update object stateJoseph-Eugene Winzer
If you click on an exit on the map and there is again an exit on the same spot, it won't be recognized until the next mouse move/click. This change fakes a mouse move and thus updates the object state.
2018-01-23SUPERNOVA: Returns to launcher after outroJoseph-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 inventory scrollingJoseph-Eugene Winzer
Correctly moves inventory view when items are added/removed/cleared
2018-01-23SUPERNOVA: Implements money object for inventoryJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Sets CARRIED flag when added to inventoryJoseph-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: Registers cmdButton clicksJoseph-Eugene Winzer
Mouse clicks were consumed if a message was shown. This commit introduces an exception for clicks on command buttons. Also some refactoring.
2018-01-23SUPERNOVA: Disables OCCUPIED flag correctlyJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Save/restore _playerHidden flag in savegamesThierry Crozat
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: Fix calling onEntrance for new roomsThierry Crozat
There was an issue when the onEntrance for one room changes the current room. It would then fail to call onEntrance for that new room. This happened at lest once at the start as the Intro room onEntrance() changes to the first room at the end if the intro cutscene.
2018-01-23SUPERNOVA: Only call onEntrace once after changing roomThierry Crozat
2018-01-23SUPERNOVA: Remove unused function variantThierry Crozat
2018-01-23SUPERNOVA: Sets sections in the correct roomJoseph-Eugene Winzer
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: Some cleanup, simplify some codeStrangerke
2018-01-23SUPERNOVA: Implement alarmThierry Crozat
2018-01-23SUPERNOVA: Remove outdated comment and warningThierry Crozat
2018-01-23SUPERNOVA: Silence warning about unhandled switch casesThierry Crozat
2018-01-23SUPERNOVA: Small cleanupsStrangerke
2018-01-23SUPERNOVA; Move some strings to game text file,Strangerke
2018-01-23SUPERNOVA: Implement telomat, increase savegame versionStrangerke
2018-01-23SUPERNOVA: Consume click event when hiding messageThierry Crozat
2018-01-23SUPERNOVA: Implement searchStartEvent, fix bug in corridor initializationStrangerke
2018-01-23SUPERNOVA: Implement guardWalkEventStrangerke
2018-01-23SUPERNOVA: Fix timing of search eventsThierry Crozat
2018-01-23SUPERNOVA: Make sure to exit bathroom to the same room from which it was enteredThierry 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: Move 2 strings to the DAT fileStrangerke