Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2018-01-23 | SUPERNOVA: Rewrites animation for Cockpit and SleepCabin | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Implements showing cockpit monitor | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes visibility of room constructors | Joseph-Eugene Winzer | |
Signed-off-by: Joseph-Eugene Winzer <m999@openmailbox.org> | |||
2018-01-23 | SUPERNOVA: Corrects exit direction of sleeping cabin | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds definitions for remaining rooms | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Implements delay for animations | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Refactors event loop | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes typo in room definition | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Initializes clickField.next with 0 | Joseph-Eugene Winzer | |
It seems it is possible that some objects or subsequent click fields 'pointed' to by next are outside of the initialized range and are expected to be zeroed. This would explain the non-deterministic freezes I experienced. | |||
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: Fixes font rendering | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Renames charcterWidth() to textWidth() | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds table for octal cp437 umlauts | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Makes Inventory::get() return nullObject | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Refactors room definitions | Joseph-Eugene Winzer | |
Calling renderImage() directly causes unintended side effects since e9d7b7ca0f as drawImage() besides rendering also set visibility flags. | |||
2018-01-23 | SUPERNOVA: Corrects OPEN to more descriptive OPENABLE | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds debugging code for rendering available sections | 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: Fixes renderRoom() by limiting the section range | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: removeMessage() now restores the screen on destruction | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Fixes typo in definition of objects | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Enables renderImage() to render inverse sections | Joseph-Eugene Winzer | |
Besides the addition of inverse sections, the 'fullscreen' parameter was removed as it was used only for testing purposes in the beginning. | |||
2018-01-22 | SUPERNOVA: Removes 'inverse section' case | Joseph-Eugene Winzer | |
This code section was converted from the original source, where the sections are directly drawn to the screen instead of buffered. If a section > 128 is set as parameter, the function takes the dimensions of section - 128 and draws this region of section 0 to the screen, thus restoring it. It would not make sense loading part of section 0 in seperate Surfaces especially since kMaxSection is smaller than 128 the else branch is never entered so removing it doesn't change the programs behavior. | |||
2018-01-22 | SUPERNOVA: Adds GuiElement Class | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Extends Object Class | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds info to NOTES | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Fixes bathroom location on minimap | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds missing copyright header | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Cosmetic changes in console code | 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: Fixes Message positioning | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Fixes parameters passed to fillRect() | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Fixes ScreenBufferStack | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Fixes endianess issue for drawing cursor | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Buffer Music files | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Implements playSoundMod() | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Buffers sections of image on init | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Converts mouse cursor data | Joseph-Eugene Winzer | |