aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-23SUPERNOVA: Fix GCC Unused Variable Warnings.D G Turner
2018-01-23SUPERNOVA: Fix clicks at start and end of audio samplesThierry Crozat
The sound samples start with a 6 bytes header (including the size of the sample coded on a little endian 16 bits uint on bytes 2 and 3) and end with 4 bytes set to null. Those were passed to the raw stream, which resulted in the audible clicks. Note that we could use the information from the header to load the sound samples instead of keeping around an array of offset and size.
2018-01-23SUPERNOVA: Add saving/loading of playtimeThierry Crozat
2018-01-23SUPERNOVA: Disable loading during intro cutsceneThierry Crozat
Loading during the intro is not currently working and is not trivial to implement. So disable it for now.
2018-01-23SUPERNOVA: Properly handle loading saved game from launcherThierry 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: Fix exiting intro cutscene using EscapeThierry Crozat
2018-01-23SUPERNOVA: Restores brightness when leaving the caveJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Implements screen shakeJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Restores brightness if power onJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes rendering and logic for cableJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds current room to save fileJoseph-Eugene Winzer
and restores player location to it on load.
2018-01-23SUPERNOVA: Implements inventory arrowsJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Scrolls inventory when taking an objectJoseph-Eugene Winzer
Signed-off-by: Joseph-Eugene Winzer <joewinzer@googlemail.com>
2018-01-23SUPERNOVA: Limits inventory scrollJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Removes saveload.hJoseph-Eugene Winzer
This header file contained info on the data structres of the original game. The engine reimplementation is too different now to easily provide compatibility for the original save files though.
2018-01-23SUPERNOVA: Fix missing return value for cmdGiveAll debug commandThierry Crozat
2018-01-23SUPERNOVA: Allows saving by defaultJoseph-Eugene Winzer
When saving is not apropriate, for example during cutscenes, explicitly disable it.
2018-01-23SUPERNOVA: Fixes playing vinyl in CabinL3Joseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes save/load dialogJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes de-/serialization of game stateJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds Outro initializationJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Assigns room id of ShipOuterSpaceJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes number of roomsJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Remvomes manual assigning of current roomJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds Intro before starting roomJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Alters wait function to stall at least _delay msJoseph-Eugene Winzer
wait2() is used for updating events all over the code with a parameter of 1, so to be sure there's at least one update it is wrapped in a do-while now.
2018-01-23SUPERNOVA: Adds key input check functionJoseph-Eugene Winzer
This is temporary. Input is all over the place right now I feel, so it will be reworked 'soon'.
2018-01-23SUPERNOVA: Fixes returned constant on load failJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Raises save game limit to 99Joseph-Eugene Winzer
2018-01-23SUPERNOVA: Changes increment size for fade in/outJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes mouse events during introJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds text speed variableJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds constantsJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Removes commentsJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds message prompt on exitJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Simplifies timing codeJoseph-Eugene Winzer
Removing remnants of the original code like _timeAlarmSystem.
2018-01-23SUPERNOVA: Implements de-/serializationJoseph-Eugene Winzer
WIP. It is currently broken.
2018-01-23SUPERNOVA: Adds engine pauseJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds room id to objectsJoseph-Eugene Winzer
This commit helps especially during serialization of the inventory to determine which room the object belongs to.
2018-01-23SUPERNOVA: Extends MetaEngine for load/save supportJoseph-Eugene Winzer
2018-01-23SUPERNOVA: FormattingJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds RoomID to RoomsJoseph-Eugene Winzer
GameManager::airless() determined if the space suit could be taken off by comparing the current room pointer to the allocated room objects. This led to indeterministic behavior as sometimes airless() would falsely return true as the dynamic allocation of the Room objects cannot be expected to be in a certain order. Implementing the corresponing RoomID to a Room objects solves this problem.
2018-01-23 SUPERNOVA: Ignores mouse clicks while sound is playingJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Implements Return To LauncherJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds structs for loading original save filesJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Removes color macrosJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes umlaut in object descriptionJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds explicitly invalid state for ObjectsJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Substitutes static variables with privatesJoseph-Eugene Winzer