Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-23 | SUPERNOVA: Removes redundant code | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Changes parameter name of timeToString() | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adjusts init time values | Joseph-Eugene Winzer | |
to the approximated ms per tick constant of 55ms. | |||
2018-01-23 | SUPERNOVA: Fixes setting alarm time on watch | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes too large edit() field | Joseph-Eugene Winzer | |
Before edit() cleared the input on screen by overdrawing it from x to the right side of the screen. This works fine for terminals but for example setting the watches alarm time it does not. The text font is 5x8 so overdrawing the max input length + 1 * 5 is sufficient to clear the screen from our input and the cursor. Also if the value ends up being too big it is clamped to the right side of the screen. | |||
2018-01-23 | SUPERNOVA: Removes redundant loops around edit() | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Renames ObjectID 'SLOT' | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Converts special characters | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Updates TODOs | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Removes getDOSTicks() | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Corrects GameState variable names | Joseph-Eugene Winzer | |
According to the naming convention class member variables need to be prefixed with an underscore. Unfortunately, I already started converting time constants when making this change so ticksToMsec() and constant changes are sprinkled over this commit. | |||
2018-01-23 | SUPERNOVA: Adds ticks to msec conversion macro | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes render error on death screen fadeout | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Implements turnOn() | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds ticks to msec conversion constant | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Removes TODOs | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes terminal in sleeping chamber | Joseph-Eugene Winzer | |
Instead of manipulating C-Strings edit() now takes a Common::String as a parameter and the terminal input gets redrawn after every keystroke what simplifies the function greatly. | |||
2018-01-23 | SUPERNOVA: Adds Alt-X as exit shortcut | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Corrects variables according to naming convention | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes rerendering of the room | Joseph-Eugene Winzer | |
One sprite can consist of many sections that are concatenated in a linked list. | |||
2018-01-23 | SUPERNOVA: Adds Audio info for rocks | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Implements the remaining room definitions | Joseph-Eugene Winzer | |
While it compiles, it is still WIP. Also there has been some confusion about the numbering of the AxacussCorridor classes among other things that need to be done. | |||
2018-01-23 | SUPERNOVA: Adds code for remaining game logic | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds text | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds resetProperty() for Objects | Joseph-Eugene Winzer | |
resetProperty() optionally takes an ObjectType as parameter that the object gets set to. Otherwise it will be set as NULLTYPE. | |||
2018-01-23 | SUPERNOVA: Adds and corrects constants | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes code | Joseph-Eugene Winzer | |
kMaxSection - 1 was used in the original code to indicate if the GUI is currently shown. In this engine an explicit variable _guiEnabled is used. | |||
2018-01-23 | SUPERNOVA: Replaces longjmp to 'dead' | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Substitues umlauts with their cp437 octal equivalent | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes SleepCabin::animation() | Joseph-Eugene Winzer | |
Some of the code didn't belong into the function. | |||
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: Fixes parameter name for getKeyInput() | Joseph-Eugene Winzer | |
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: Extends text rendering | Joseph-Eugene Winzer | |
textWidth() and renderText() are overloaded for handling single uint16 characters (useful when rendering key strokes directly) | |||
2018-01-23 | SUPERNOVA: Fixes object indices in room definition | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Corrects typo | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Updates NOTES | 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: Converts char game state variables to byte | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adjusts game loop delay | Joseph-Eugene Winzer | |
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 | |