Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-15 | SUPERNOVA: Adds skeleton for screen abstraction | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Adds image information | Joseph-Eugene Winzer | |
ImageID gives every image a name that will be used as an index into imageInfo that returns filenumber and section. | |||
2018-04-15 | SUPERNOVA: Implements image buffering | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Adds comment for using KNIFE on WIRE2 | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Renames NULL to nullptr | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Renames MSNImageDecoder to MSNImage | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Adds resource abstraction | Joseph-Eugene Winzer | |
The resource abstraction includes loading of sound files and cursor graphics. | |||
2018-04-14 | SUPERNOVA: Removes stopAudio() | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Adds init function to SupernovaEngine | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Adds sound abstraction | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Adds English msn2 to detection | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Renames _timer1 to _messageDuration | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Removes TODO | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Moves updateEvents() to GameManager | Joseph-Eugene Winzer | |
updatEvents() depends on an initalized GameManager instance and mostly manipulates its state. So it seemed fitting to move it over. | |||
2018-04-14 | SUPERNOVA: Processes all keyboard queries in processInput() | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Removes mouseInput3() | Joseph-Eugene Winzer | |
The function highlights dialog choices depending on the mouse position and loops till a mouse button is pressed. Since it is used in GameManager::dialog() only, inlining it seems reasonable, especially as the name was not descriptive in the first place. | |||
2018-04-14 | SUPERNOVA: Renames wait2() to wait() | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Removes redundant keypress check | Joseph-Eugene Winzer | |
GameManager::processInput() already does the job | |||
2018-04-07 | ALL: Load savegame thumbnail only when necessary | Adrian Frühwirth | |
This commit introduces the following changes: 1. Graphics::loadThumbnail() Now returns a boolean and takes a new argument skipThumbnail which defaults to false. In case of true, loadThumbnail() reads past the thumbnail data in the input stream instead of actually loading the thumbnail. This simplifies savegame handling where, up until now, many engines always read the whole savegame metadata (including the thumbnail) and then threw away the thumbnail when not needed (which is in almost all cases, the most common exception being MetaEngine::querySaveMetaInfos() which is responsible for loading savegame metadata for displaying it in the GUI launcher. 2. readSavegameHeader() Engines which already implement such a method (name varies) now take a new argument skipThumbnail (default: true) which is passed through to loadThumbnail(). This means that the default case for readSavegameHeader() is now _not_ loading the thumbnail from a savegame and just reading past it. In those cases, e.g. querySaveMetaInfos(), where we actually are interested in loading the thumbnail readSavegameHeader() needs to explicitely be called with skipThumbnail == false. Engines whose readSavegameHeader() (name varies) already takes an argument loadThumbnail have been adapted to have a similar prototype and semantics. I.e. readSaveHeader(in, loadThumbnail, header) now is readSaveHeader(in, header, skipThumbnail). 3. Error handling Engines which previously did not check the return value of readSavegameHeader() (name varies) now do so ensuring that possibly broken savegames (be it a broken thumbnail or something else) don't make it into the GUI launcher list in the first place. | |||
2018-03-23 | JANITORIAL: Silence GCC 7 fallthrough warning | Adrian Frühwirth | |
Confirmed intentional by Joefish. | |||
2018-03-11 | SUPERNOVA: Fixes formatting | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Removes TODO for quitGameDialog() | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Recenters animated text on loop | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Removes unused function | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Substitues constant strings | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Encapsulates GuiElement | Joseph-Eugene Winzer | |
It simplifies the overloaded functions for renderBox/Text and saveScreen | |||
2018-03-11 | SUPERNOVA: Implements original quit prompt | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Fixes formatting | Joseph-Eugene Winzer | |
Because of confusion when indentation level is raised and thus tabs or spaces should be used when aligning code, this commit switches to tabs to avoid any further confusion. | |||
2018-03-11 | SUPERNOVA: Removes Console commands | Joseph-Eugene Winzer | |
Most of them were for debugging only anyway and commands like `giveall` actually broke parts of the game (and didn't even give you all items). | |||
2018-03-11 | SUPERNOVA: Implements animated text during in/outro | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Appends NULL terminator to strings | Joseph-Eugene Winzer | |
The NULL terminator is needed during parsing. | |||
2018-03-11 | SUPERNOVA: Removes unused variable | Joseph-Eugene Winzer | |
2018-02-23 | SUPERNOVA: Add strings for quit game prompt | Thierry Crozat | |
2018-01-31 | SUPERNOVA: Mark intentional fallthrough in switch | Thierry Crozat | |
2018-01-31 | SUPERNOVA: Fix incorrect sanity check for debug command | Thierry Crozat | |
This was reported by coverity (CID 1385537). | |||
2018-01-31 | SUPERNOVA: Improve command button size for translations | Thierry Crozat | |
2018-01-30 | SUPERNOVA: Ensure the GuiElement _text field is null terminated | Thierry Crozat | |
This was reported by coverity (CID 1385566), and althought this was unlikely to happen, it was not impossible (due to the translations). | |||
2018-01-30 | SUPERNOVA: Fix out of bound access when exiting the engine while in a dialog | Thierry Crozat | |
This was reported by coverity (CID 1385572). | |||
2018-01-23 | SUPERNOVA: Fixes destruction of SoundSample buffer | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds ModeList | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Improve waiting until a sound has finished playing | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Make _event a local variable | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Handle RTL and Quit while editing text | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Remove declaration for unimplemented and unused function | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix cursor not shown if escaping during the intro snoring sequence | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix missing reset of object CARRIED flag when clearing inventory | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Initializes RandomSource on stack | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Renames INT32_MAX to kMaxTimerValue | Joseph-Eugene Winzer | |
Prevents collision with stdint.h INT32_MAX | |||
2018-01-23 | SUPERNOVA: Corrects header guard name | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes AudioStream leak | Joseph-Eugene Winzer | |