Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-22 | JANITORIAL: Fix formatting | Adrian Frühwirth | |
2018-04-15 | SUPERNOVA: Removes global nullObject | Joseph-Eugene Winzer | |
Before nullObject was a static member of Object class and now a member of GameManager. Also the Inventory constructor was extended for taking a pointer to the nullObject that Invetory::get() returns if no Object was found. | |||
2018-04-15 | SUPERNOVA: Fixes type camel case | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Implements render functions | Joseph-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-15 | SUPERNOVA: Renames MSNImageDecoder to MSNImage | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Adds sound abstraction | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Renames _timer1 to _messageDuration | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Removes TODO | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Moves updateEvents() to GameManager | Joseph-Eugene Winzer | |
updatEvents() depends on an initalized GameManager instance and mostly manipulates its state. So it seemed fitting to move it over. | |||
2018-04-14 | SUPERNOVA: Processes all keyboard queries in processInput() | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Removes mouseInput3() | Joseph-Eugene Winzer | |
The function highlights dialog choices depending on the mouse position and loops till a mouse button is pressed. Since it is used in GameManager::dialog() only, inlining it seems reasonable, especially as the name was not descriptive in the first place. | |||
2018-04-14 | SUPERNOVA: Renames wait2() to wait() | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Removes unused function | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Encapsulates GuiElement | Joseph-Eugene Winzer | |
It simplifies the overloaded functions for renderBox/Text and saveScreen | |||
2018-03-11 | SUPERNOVA: Implements original quit prompt | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Fixes formatting | Joseph-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-11 | SUPERNOVA: Implements animated text during in/outro | Joseph-Eugene Winzer | |
2018-01-31 | SUPERNOVA: Mark intentional fallthrough in switch | Thierry Crozat | |
2018-01-31 | SUPERNOVA: Improve command button size for translations | Thierry Crozat | |
2018-01-30 | SUPERNOVA: Ensure the GuiElement _text field is null terminated | Thierry 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-30 | SUPERNOVA: Fix out of bound access when exiting the engine while in a dialog | Thierry Crozat | |
This was reported by coverity (CID 1385572). | |||
2018-01-23 | SUPERNOVA: Handle RTL and Quit while editing text | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix missing reset of object CARRIED flag when clearing inventory | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Renames INT32_MAX to kMaxTimerValue | Joseph-Eugene Winzer | |
Prevents collision with stdint.h INT32_MAX | |||
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: Moves strings to GameManager class | Joseph-Eugene Winzer | |
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: 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: 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 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: 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: 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: 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: 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: Only call onEntrace once after changing room | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Remove unused function variant | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Sets sections in the correct room | Joseph-Eugene Winzer | |
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 | |
2018-01-23 | SUPERNOVA: Implement alarm | Thierry Crozat | |