Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-23 | SUPERNOVA: Fix missing reset of object CARRIED flag when clearing inventory | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Initializes RandomSource on stack | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Renames INT32_MAX to kMaxTimerValue | Joseph-Eugene Winzer | |
Prevents collision with stdint.h INT32_MAX | |||
2018-01-23 | SUPERNOVA: Corrects header guard name | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes AudioStream leak | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Changes array to seperate variables | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes segfault if dat file not found | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Changes message order | Joseph-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-23 | SUPERNOVA: Removes global constructor call | Joseph-Eugene Winzer | |
Object() is redundant anyway as it instantiates an Object object and copies it to nullObject, which was already default constructed. | |||
2018-01-23 | SUPERNOVA: Moves strings to GameManager class | Joseph-Eugene Winzer | |
2018-01-23 | SUPERONVA: Sets uninitialized values to 0 | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Removes comment | Joseph-Eugene Winzer | |
renderRoom() and later in the game loop executeRoom() does everything that is explicitly called in the original. | |||
2018-01-23 | SUPERNOVA: Prevents paletteFadeIn() to be triggered | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Reverts brightness change | Joseph-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-23 | SUPERNOVA: Hides cursor during snoring sequence | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Aborts intro if game should be closed | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes object state update | Joseph-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-23 | SUPERNOVA: Pushes a mousemove to update object state | Joseph-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-23 | SUPERNOVA: Fixes fading in intro | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Returns to launcher after outro | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Updates palette when changing room brightness | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Renames audio constants | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Renames audio constants | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes outro cutscene | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes inventory scrolling | Joseph-Eugene Winzer | |
Correctly moves inventory view when items are added/removed/cleared | |||
2018-01-23 | SUPERNOVA: Implements money object for inventory | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Replaces TICKETS with MONEY | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Sets CARRIED flag when added to inventory | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Introduces INT32_MAX for eventTime | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Corrects max value for int32 | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes setting of properies | Joseph-Eugene Winzer | |
resetProperty() clears the object's property flag compared to setProperty(). | |||
2018-01-23 | SUPERNOVA: Registers cmdButton clicks | Joseph-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-23 | SUPERNOVA: Disables OCCUPIED flag correctly | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Rename kAudioUndef2 to kAudioSmash | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Save/restore _playerHidden flag in savegames | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fixes game freeze in bcorrdior | Joseph-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-23 | SUPERNOVA: Fixes turntable message | Joseph-Eugene Winzer | |
Do not show a message that the record is scratched when either the turnable is unplugged or the cable cut. | |||
2018-01-23 | SUPERNOVA: Puts on suit when leaving the restaurant | Joseph-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-23 | SUPERNOVA: Fix calling onEntrance for new rooms | Thierry 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-23 | SUPERNOVA: Do not try to render INTRO room | Thierry Crozat | |
This room has no image and this avoids getting a warning about image file not found. | |||
2018-01-23 | SUPERNOVA: Fix warning when not finding image file | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Only call onEntrace once after changing room | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Implement onEntrance for all corridors | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Remove unused function variant | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix clearing inventory when landing on Axacuss | Thierry 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-23 | SUPERNOVA: Removes redundant comments | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Sets sections in the correct room | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Removes Discman from inventory | Joseph-Eugene Winzer | |
After landing on Axacuss your items are removed, except for your knife and watch. | |||
2018-01-23 | SUPERNOVA: Implement dialogs with variable text | Thierry 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-23 | SUPERNOVA: Some cleanup, simplify some code | Strangerke | |