aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/supernova.h
AgeCommit message (Collapse)Author
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: 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: 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: 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-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: Fixes destruction of SoundSample bufferJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Make _event a local variableThierry Crozat
2018-01-23SUPERNOVA: Remove declaration for unimplemented and unused functionThierry Crozat
2018-01-23SUPERNOVA: Initializes RandomSource on stackJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Corrects header guard nameJoseph-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: Save/restore _playerHidden flag in savegamesThierry Crozat
2018-01-23SUPERNOVA: Implement dialogs with variable textThierry Crozat
This was partially implemented but not finished. However I reverted the changes already done to support that in order to use a different approach.
2018-01-23SUPERNOVA: Implement alarmThierry Crozat
2018-01-23SUPERNOVA; Move some strings to game text file,Strangerke
2018-01-23SUPERNOVA: Implement telomat, increase savegame versionStrangerke
2018-01-23SUPERNOVA: Update savegame versionStrangerke
2018-01-23SUPERNOVA: Load images on demandThierry Crozat
2018-01-23SUPERNOVA: Fix several issues with savegamesThierry Crozat
2018-01-23SUPERNOVA: Implement autosave used for dream sequenceThierry Crozat
2018-01-23SUPERNOVA: Use setCurrentImage instead of passing the image to renderImageThierry Crozat
This is more similar to what the original code does and allows to retire the renderImage variant that takes an image.
2018-01-23SUPERNOVA: Add warning when trying to use out of bound file numberThierry Crozat
This is likely happening, and a comment has also been added to indicate this. The warning was added to help detect those issue and so that we don't forgert about it.
2018-01-23SUPERNOVA: Fix logic in rendering codeThierry Crozat
There were several issues fixed by this commit. The main ones are: - It was in many places only drawing the first section even for images that have multiple sections. - It was in some places using the wrong image. The first issue has been fixed by removing the GameManager::drawImage function, and moving its logic to SupernovaEngine::renderImage which was initially only drawing one section, but was nevertheless called directly from many place. The second image required more changes to the rendering code to allow setting the current image file when it is different from the room file. This fixes some memory issues and random crashes in places where it was for example trying to use the image -1. This also fixes the rendering of the flying cutscene.
2018-01-23SUPERNOVA: Implement text speed dialogThierry Crozat
The text speed is also saved in the scummvm.ini file so that it persists between runs.
2018-01-23SUPERNOVA: Properly handle timer stop/startThierry Crozat
2018-01-23SUPERNOVA: Implement event callback mechanism and Supernova eventThierry Crozat
2018-01-23SUPERNOVA: Fix crash when displaying strings larger than the screenThierry Crozat
2018-01-23SUPERNOVA: Replace a class variable used in a single function by a local ↵Thierry Crozat
variable
2018-01-23SUPERNOVA: Cleanup dialog codeThierry Crozat
The main change consists in using a separate byte array for the sentence removal flags, move some functions from the GameManager to the Room class, and add a few additional functions to manipulate this new array. This allows to clarify some code related to dialogs. This change also allows to switch the _shown array back to a bool array.
2018-01-23SUPERNOVA: Fix some warningsStrangerke
2018-01-23SUPERNOVA: Move object name and description strings to engine data fileThierry Crozat
2018-01-23SUPERNOVA: Start using strings from the engine data fileThierry Crozat
This means that now all that remains to be done to play in English is to move all the strings to the engine data file and to translate them.
2018-01-23SUPERNOVA: Load strings from the supernova.dat fileThierry Crozat
2018-01-23SUPERNOVA: Add getting translated images from the engine data fileThierry Crozat
2018-01-23SUPERNOVA: Clean indentationsThierry Crozat
2018-01-23SUPERNOVA: Improve save state handlingThierry Crozat
The saved game files now start with a header and version which allows to do some sanity check and will allow to change the format in the future if needed. Also the MetaEngine can now be queried for the meta infos of a save state.
2018-01-23SUPERNOVA: Adds text speed variableJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Implements de-/serializationJoseph-Eugene Winzer
WIP. It is currently broken.
2018-01-23SUPERNOVA: Adds engine pauseJoseph-Eugene Winzer