Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-23 | SUPERNOVA: Adds explicitly invalid state for Objects | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Converts Object name and description to Strings | 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: Renames ObjectID 'SLOT' | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Updates TODOs | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds ticks to msec conversion macro | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds ticks to msec conversion constant | 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: Corrects typo | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Corrects OPEN to more descriptive OPENABLE | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Extends Object Class | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Converts strings back to cp437 | 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. | |||
2018-01-22 | SUPERNOVA: Converts mouse cursor data | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Buffers audio samples on startup | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds missing copyright notes | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds constant messages | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds GameState Class | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds static combine() to Object Class | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds text for commands in GUI | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds hasProperty() for Objects and bit ops | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds methods for alterting Object state | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Refactoring | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Removes ORing ObjectTypes from msn_def.h | Joseph-Eugene Winzer | |
The reason for the removal is because of gcc warnings when the operator is not used in a translation unit that includes msn_def.h. Currently I also see it used in the game logic anyway so there's no need for it to be defined in a ubiquitiously used header file like msn_def.h | |||
2018-01-22 | SUPERNOVA: Adds color palette constants | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Moves Object Class from rooms.h to msn_def.h | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds an empty ObjectType/ID and RoomID | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Add palette fade in/out | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: add text rendering | Joseph-Eugene Winzer | |
Currently renderText() has two performance drawbacks. First, it locks the screen surface during the whole function for drawing the text directly to it. Besides that, it accesses the pixels in a cache unfriendly way because the font glyphs are stored tilted by 90 degrees. Most likely it won't pose any problems but if it should those issues need to be prioritized. | |||
2018-01-22 | SUPERNOVA: add characterWidth() function | Joseph-Eugene Winzer | |
Also did some cleanup on the font definition | |||
2018-01-22 | SUPERNOVA: (TEMP COMMIT) drawing to screen surface | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Added basic game loop and play sound samples | Joseph-Eugene Winzer | |
There has been many other changes like copy/pasting room definitions, skeleton for image decoder, .. Getting supernova mod format support seems to be a good next step. |