Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-15 | SUPERNOVA: Removes global nullObject | Joseph-Eugene Winzer | |
Before nullObject was a static member of Object class and now a member of GameManager. Also the Inventory constructor was extended for taking a pointer to the nullObject that Invetory::get() returns if no Object was found. | |||
2018-04-15 | SUPERNOVA: Implements renderImage with ImageId | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Removes renderImageSection() from SupernovaEngine | Joseph-Eugene Winzer | |
This function is never called by itself. It is a helper function for renderImage(). | |||
2018-04-15 | SUPERNOVA: Moves constants to screen.h | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Corrects header includes | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Removes unused RNG instance | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Fixes type camel case | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Wraps resources in ScopedPtr | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Recreates ProtrackerStream on getSoundStream | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Renames Music/AudioIndex to Music/AudioId | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Fixes fallthrough warning | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Moves font data to screenstatic.cpp | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Moves cursor buffer to resman.cpp | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Fixes setCurrentImage | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Moves VGA Palette to screenstatic.cpp | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Implements render functions | Joseph-Eugene Winzer | |
Although SupernovaEngine forwards render calls to screen, it also exposed members publicly like _brightness. Therefore, a few changes were necessary in rooms and state. | |||
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 | |