Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2018-01-22 | SUPERNOVA: Replaces magic numbers | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Implements rendering of newspaper articles | Joseph-Eugene Winzer | |
The resolution will change dynamically depending what image is about to be rendered. As there are no other GUI elements shown that depend on the screen resolution when the artciles are rendered, there shouldn't be any problems. | |||
2018-01-22 | SUPERNOVA: Buffers audio samples on startup | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Reformatting | Joseph-Eugene Winzer | |
Substitute size_t with ScummVM defined uint type | |||
2018-01-22 | SUPERNOVA: Enables debug console and preload images | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Implements loading of newspaper images | Joseph-Eugene Winzer | |
While the 640x480 images are loaded correctly, they are displayed cropped to 320x240, the default resolution. | |||
2018-01-22 | SUPERNOVA: Fixes file name creation | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Refactoring | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Enables rendering of debug console | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Formatting | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds missing copyright notes | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Adds room specific game logic | Joseph-Eugene Winzer | |
This is the game logic for the first act of the game. It will see restructuring to remove gotos/jumps and hardcoded differences in game behavior depending on settings (e.g. sound on/off). | |||
2018-01-22 | SUPERNOVA: Refactoring | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Refactors and adds GameManager functions | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Changes return type to int for getDOSTicks() | Joseph-Eugene Winzer | |
The maximum return value is 0x1800B0, so easily covered by int (assuming 32bit+ architecture) | |||
2018-01-22 | SUPERNOVA: Extends renderText() | Joseph-Eugene Winzer | |
Restructures the renderText() function for providing a renderText(text) overload that starts rendering the string where the last call stopped. | |||
2018-01-22 | SUPERNOVA: Adds further game logic stubs | Joseph-Eugene Winzer | |
Signed-off-by: Joseph-Eugene Winzer <m999@openmailbox.org> | |||
2018-01-22 | SUPERNOVA: Extends Rooms for setting section visibility | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Provides rooms with engine pointers | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Lifts encapsulation of GameManager Class | Joseph-Eugene Winzer | |
Room specific logic needs access to functions that currently are unavailable to them. Once no further extension or rearchitecture is rather unlikely, thoughts on encapsulation can be given but for now all members will be made public. | |||
2018-01-22 | SUPERNOVA: Renames game functions | Joseph-Eugene Winzer | |
2018-01-22 | SUPERNOVA: Implements GameManager Class and extension to engine | Joseph-Eugene Winzer | |
An instance of GameManager acts as an interface between the game logic and engine. It provides game specific functions like isHelmetOff() to check if the player wears his helmet. This commit also adds engine extensions like saveScreen() and restoreScreen() that makes use of the ScreenBufferStack class for temporarily saving and restoring sections of the screen. Most of the structure and code is bound to change but gives something to improve on. | |||
2018-01-22 | SUPERNOVA: Extends screen message system | Joseph-Eugene Winzer | |
Messages will be 'removable' by over-rendering the message by invoking removeMessage() with what was previously overdrawn. _messageDisplayed might need to be reworked to an int, depending if there are multiple messages rendered simultaneously. |