aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova
AgeCommit message (Collapse)Author
2018-06-29SUPERNOVA: Fix warningEugene Sandulenko
2018-04-22JANITORIAL: Fix formattingAdrian Frühwirth
2018-04-19JANITORIAL: Fix whitespaceAdrian Frühwirth
2018-04-16SUPERNOVA: Removes unused variableJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Removes global nullObjectJoseph-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-15SUPERNOVA: Implements renderImage with ImageIdJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Removes renderImageSection() from SupernovaEngineJoseph-Eugene Winzer
This function is never called by itself. It is a helper function for renderImage().
2018-04-15SUPERNOVA: Moves constants to screen.hJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Corrects header includesJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Removes unused RNG instanceJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Fixes type camel caseJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Wraps resources in ScopedPtrJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Recreates ProtrackerStream on getSoundStreamJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Renames Music/AudioIndex to Music/AudioIdJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Fixes fallthrough warningJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Moves font data to screenstatic.cppJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Moves cursor buffer to resman.cppJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Fixes setCurrentImageJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Moves VGA Palette to screenstatic.cppJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Implements render functionsJoseph-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-15SUPERNOVA: Adds skeleton for screen abstractionJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Adds image informationJoseph-Eugene Winzer
ImageID gives every image a name that will be used as an index into imageInfo that returns filenumber and section.
2018-04-15SUPERNOVA: Implements image bufferingJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Adds comment for using KNIFE on WIRE2Joseph-Eugene Winzer
2018-04-15SUPERNOVA: Renames NULL to nullptrJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Renames MSNImageDecoder to MSNImageJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Adds resource abstractionJoseph-Eugene Winzer
The resource abstraction includes loading of sound files and cursor graphics.
2018-04-14SUPERNOVA: Removes stopAudio()Joseph-Eugene Winzer
2018-04-14SUPERNOVA: Adds init function to SupernovaEngineJoseph-Eugene Winzer
2018-04-14SUPERNOVA: Adds sound abstractionJoseph-Eugene Winzer
2018-04-14SUPERNOVA: Adds English msn2 to detectionJoseph-Eugene Winzer
2018-04-14SUPERNOVA: Renames _timer1 to _messageDurationJoseph-Eugene Winzer
2018-04-14SUPERNOVA: Removes TODOJoseph-Eugene Winzer
2018-04-14SUPERNOVA: Moves updateEvents() to GameManagerJoseph-Eugene Winzer
updatEvents() depends on an initalized GameManager instance and mostly manipulates its state. So it seemed fitting to move it over.
2018-04-14SUPERNOVA: Processes all keyboard queries in processInput()Joseph-Eugene Winzer
2018-04-14SUPERNOVA: 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-14SUPERNOVA: Renames wait2() to wait()Joseph-Eugene Winzer
2018-04-14SUPERNOVA: Removes redundant keypress checkJoseph-Eugene Winzer
GameManager::processInput() already does the job
2018-04-07ALL: Load savegame thumbnail only when necessaryAdrian 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-23JANITORIAL: Silence GCC 7 fallthrough warningAdrian Frühwirth
Confirmed intentional by Joefish.
2018-03-11SUPERNOVA: Fixes formattingJoseph-Eugene Winzer
2018-03-11SUPERNOVA: Removes TODO for quitGameDialog()Joseph-Eugene Winzer
2018-03-11SUPERNOVA: Recenters animated text on loopJoseph-Eugene Winzer
2018-03-11SUPERNOVA: Removes unused functionJoseph-Eugene Winzer
2018-03-11SUPERNOVA: Substitues constant stringsJoseph-Eugene Winzer
2018-03-11SUPERNOVA: Encapsulates GuiElementJoseph-Eugene Winzer
It simplifies the overloaded functions for renderBox/Text and saveScreen
2018-03-11SUPERNOVA: Implements original quit promptJoseph-Eugene Winzer
2018-03-11SUPERNOVA: Fixes formattingJoseph-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-11SUPERNOVA: Removes Console commandsJoseph-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-11SUPERNOVA: Implements animated text during in/outroJoseph-Eugene Winzer