aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/supernova.cpp
AgeCommit message (Collapse)Author
2019-07-28SUPERNOVA: Merge in the supernova2 engine.Jaromir Wysoglad
2019-07-28SUPERNOVA: Move part 1 files to it's own directoryJaromir Wysoglad
2019-07-28SUPERNOVA: Divide GameManager into 2 classesJaromir Wysoglad
GameManager got divided into a base class, that will be used for both parts and a derived class specific to only the first part.
2019-07-28SUPERNOVA: Partial merge of the engineJaromir Wysoglad
I am merging the second engine to the first one. Both should be fully functional as before right now Current merge file status: console: should be done graphics: should be done detection: 0% merged imageid: appears to not be used anywhere, so it may be removed resman: partialy merged rooms: totaly different, 0% merged screen: should be done screenstatic: done sound: partialy done state: a lot different, just started to merge supernova: mostly done
2019-07-28SUPERNOVA: Rearange supernova and supernova2 filesJaromir Wysoglad
Rearange files so that similar code is in the same order in both engines.
2019-05-28SUPERNOVA: Adds text reader to view text filesJoseph-Eugene Winzer
2019-05-28SUPERNOVA: Adds Help screenJoseph-Eugene Winzer
2019-02-06SUPERNOVA: Removes GameManager dependency for ScreenJoseph-Eugene Winzer
All calls from Screen member functions to the GameManager instance are relocated to the wrapper functions in SupernovaEngine.
2019-02-06SUPERNOVA: Adds renderImage overload for ImageIdJoseph-Eugene Winzer
2018-12-28SUPERNOVA: Save sleep savegame at end of normal savesThierry Crozat
This replaces using slot 999 to save this savegame and allows to properly handle having several playthroughs with a different state when going to sleep. This is also similar to what the original engine was doing.
2018-12-19ENGINES: Add GUIErrorMessageFormat to replace duplicated functions (#1455)Cameron Cawley
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: Removes renderImageSection() from SupernovaEngineJoseph-Eugene Winzer
This function is never called by itself. It is a helper function for renderImage().
2018-04-15SUPERNOVA: Removes unused RNG instanceJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Fixes type camel caseJoseph-Eugene Winzer
2018-04-15SUPERNOVA: Renames Music/AudioIndex to Music/AudioIdJoseph-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: Implements image bufferingJoseph-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: Renames _timer1 to _messageDurationJoseph-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 redundant keypress checkJoseph-Eugene Winzer
GameManager::processInput() already does the job
2018-03-11SUPERNOVA: Fixes formattingJoseph-Eugene Winzer
2018-03-11SUPERNOVA: Removes TODO for quitGameDialog()Joseph-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-01-23SUPERNOVA: Adds ModeListJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Make _event a local variableThierry Crozat
2018-01-23SUPERNOVA: Initializes RandomSource on stackJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Renames INT32_MAX to kMaxTimerValueJoseph-Eugene Winzer
Prevents collision with stdint.h INT32_MAX
2018-01-23SUPERNOVA: Fixes AudioStream leakJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Changes array to seperate variablesJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes segfault if dat file not foundJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Removes global constructor callJoseph-Eugene Winzer
Object() is redundant anyway as it instantiates an Object object and copies it to nullObject, which was already default constructed.
2018-01-23SUPERNOVA: Introduces INT32_MAX for eventTimeJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Corrects max value for int32Joseph-Eugene Winzer
2018-01-23SUPERNOVA: Do not try to render INTRO roomThierry Crozat
This room has no image and this avoids getting a warning about image file not found.
2018-01-23SUPERNOVA: Implement alarmThierry Crozat
2018-01-23SUPERNOVA: Fix handling of room brightnessThierry Crozat
There were several issues with the brighness due to the different implementation between the original and the code in scummvm. The code has now been modified to be much closer to the original, which fixed those issues and allowed to remove workarounds that had been added in various places to deal with those issues (but those workarounds had their own issues such as fade in happening too soon before switching to the new room).
2018-01-23SUPERNOVA: Load images on demandThierry Crozat