aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/supernova.cpp
AgeCommit message (Collapse)Author
2019-07-28SUPERNOVA: Fix most of Codacy issuesJaromir Wysoglad
* Fix mismatched delete in create_image.cpp * Add shebangs to create_ms2_data.***.sh * Reduce scopes of some variables * Substitute bitwise and for logical and in GamaManager2::passageConstruction
2019-07-28SUPERNOVA: Merge getInput and waitOnInput methods.Jaromir Wysoglad
2019-07-28SUPERNOVA: Make improved mode an engine option.Jaromir Wysoglad
2019-07-28SUPERNOVA: Add help screen translationJaromir Wysoglad
2019-07-28SUPERNOVA: Fix some code issues pointed by CriezyJaromir Wysoglad
Remove 2 unused variables and a function call with wrong datatype
2019-07-28SUPERNOVA: Refactor .dat file accessJaromir Wysoglad
2019-07-28SUPERNOVA: Merge create_supernova toolsJaromir Wysoglad
2019-07-28SUPERNOVA: Load info files from .dat fileJaromir Wysoglad
2019-07-28SUPERNOVA: Code refactoringJaromir Wysoglad
Add constant for inverting sections (number 128) Move some initialization in initState from derived classes to base class. Simpilfy AxacussCorridor4::onEntrance
2019-07-28SUPERNOVA: Add improved modeJaromir Wysoglad
2019-07-28SUPERNOVA: Fix bugsJaromir Wysoglad
Fix GUI not working after leaving text edit field Forbid showing help, info, doc screens, when GUI isn't alowed, this should mimic the original game better and also resolves some issues.
2019-07-28SUPERNOVA: Add info, doc, help screens for MS2Jaromir Wysoglad
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