Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-23 | SUPERNOVA: Adds code for remaining game logic | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Implements shock() and removes longjmps to 'dead' | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: cleanup | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Implements edit() | Joseph-Eugene Winzer | |
As the TODO says, there are still problems with the function that can be observed when using the terminal in the sleeping chamber. | |||
2018-01-23 | SUPERNOVA: Implements death screen | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Refactors init and destruction of GameManager | Joseph-Eugene Winzer | |
During the gameplay room state is overwritten and needs to be restored on restart/load. Currently the original room state is not preserved and thus needs to be destroyed and reinitialized to obtain the original state. | |||
2018-01-23 | SUPERNOVA: Adds clear() to Inventory Class | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Input handling | Joseph-Eugene Winzer | |
GetKeyInput/MouseInput/Input() block until the expected input happens. GetKeyInput() takes a parameter that checks if the key input is a 'printable' character, backspace, delete, return or escape. Also, the key state is now stored instead of just the ascii value of the pressed key. | |||
2018-01-23 | SUPERNOVA: Adds indicator for key presses | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Implements 'wait for input' | Joseph-Eugene Winzer | |
Currrently the only implemented scene that uses this function is looking at the monitor in the cockpit. Depending on use cases in other scenes the function needs to be extended. | |||
2018-01-23 | SUPERNOVA: Removes shadowing of variables | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Gets input before drawing calls; | Joseph-Eugene Winzer | |
Before the status line would show invalid input for a frame what was especially annoying during animations, as they currently tend to block the game loop for their duration. | |||
2018-01-23 | SUPERNOVA: Implements animation | Joseph-Eugene Winzer | |
The original game's time was stored in 55ms ticks but we just run on milliseconds. setAnimationTimer() sets the ticks the currrent room's animation() function will not be called. | |||
2018-01-23 | SUERNOVA: Initializes missing rooms on startup | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Rewrites animation for Cockpit and SleepCabin | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Implements delay for animations | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Corrects left mouse click behavior | Joseph-Eugene Winzer | |
This still needs work especially concerning actions that need two objects like ACTION_USE or ACTION_GIVE. | |||
2018-01-23 | SUPERNOVA: Fixes that objects are removed when taken | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Converts Inventory as GuiElements | Joseph-Eugene Winzer | |
By encapsulating the inventory state in GuiElements we can through out inventory_object | |||
2018-01-23 | SUPERNOVA: Removes isVisible flag from GuiElement | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Renames charcterWidth() to textWidth() | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Makes Inventory::get() return nullObject | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Corrects OPEN to more descriptive OPENABLE | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds tons of stuff | Joseph-Eugene Winzer | |
Most notably changes are, Handling of object state when calling drawImage() for inverse section rendering Beginning to convert GUI to GuiElements (_guiCommandButton) Mouse Input handling This is still WIP but better than the glitchfest before. | |||
2018-01-23 | SUPERNOVA: Removes warnings for Inventory code | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds GuiElement Class | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds missing copyright header | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Implements GUI routines and refactors code | Joseph-Eugene Winzer | |
Of course the short description does not adequately describe the changes made with this commit and I assume this won't be the last big restructuring unfortunately. Focus of this commit was to implement/fix the code so the main user interface can be rendered. Bugs in the core routines for rendering Messages and Images were fixed as well. |