aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2018-01-23SUPERNOVA: Fixes dimming when ship energy lowJoseph-Eugene Winzer
roomBrightness() saw the greatest change by ripping out dimColors(). I compared the result with the original game and I cannot see any difference by just reducing the palette brightness to 60%.
2018-01-23SUPERNOVA: Fixes cockpit displayJoseph-Eugene Winzer
Cruising speed and distance were inaccurate.
2018-01-23SUPERNOVA: RefactoringJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds console command 'giveall'Joseph-Eugene Winzer
Adds crucial items to the inventory. It eases debugging while loading of savestates is not possible.
2018-01-23SUPERNOVA: RefactoringJoseph-Eugene Winzer
Renaming variables of GameState to avoid ambiguity.
2018-01-23SUPERNOVA: Fixes overdraw of inputJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Converts Object name and description to StringsJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Removes redundant codeJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Changes parameter name of timeToString()Joseph-Eugene Winzer
2018-01-23SUPERNOVA: Adjusts init time valuesJoseph-Eugene Winzer
to the approximated ms per tick constant of 55ms.
2018-01-23SUPERNOVA: Fixes setting alarm time on watchJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes too large edit() fieldJoseph-Eugene Winzer
Before edit() cleared the input on screen by overdrawing it from x to the right side of the screen. This works fine for terminals but for example setting the watches alarm time it does not. The text font is 5x8 so overdrawing the max input length + 1 * 5 is sufficient to clear the screen from our input and the cursor. Also if the value ends up being too big it is clamped to the right side of the screen.
2018-01-23SUPERNOVA: Removes redundant loops around edit()Joseph-Eugene Winzer
2018-01-23SUPERNOVA: Renames ObjectID 'SLOT'Joseph-Eugene Winzer
2018-01-23SUPERNOVA: Converts special charactersJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Updates TODOsJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Removes getDOSTicks()Joseph-Eugene Winzer
2018-01-23SUPERNOVA: Corrects GameState variable namesJoseph-Eugene Winzer
According to the naming convention class member variables need to be prefixed with an underscore. Unfortunately, I already started converting time constants when making this change so ticksToMsec() and constant changes are sprinkled over this commit.
2018-01-23SUPERNOVA: Adds ticks to msec conversion macroJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes render error on death screen fadeoutJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Implements turnOn()Joseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds ticks to msec conversion constantJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Removes TODOsJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes terminal in sleeping chamberJoseph-Eugene Winzer
Instead of manipulating C-Strings edit() now takes a Common::String as a parameter and the terminal input gets redrawn after every keystroke what simplifies the function greatly.
2018-01-23SUPERNOVA: Adds Alt-X as exit shortcutJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Corrects variables according to naming conventionJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes rerendering of the roomJoseph-Eugene Winzer
One sprite can consist of many sections that are concatenated in a linked list.
2018-01-23SUPERNOVA: Adds Audio info for rocksJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Implements the remaining room definitionsJoseph-Eugene Winzer
While it compiles, it is still WIP. Also there has been some confusion about the numbering of the AxacussCorridor classes among other things that need to be done.
2018-01-23SUPERNOVA: Adds code for remaining game logicJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds textJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Adds resetProperty() for ObjectsJoseph-Eugene Winzer
resetProperty() optionally takes an ObjectType as parameter that the object gets set to. Otherwise it will be set as NULLTYPE.
2018-01-23SUPERNOVA: Adds and corrects constantsJoseph-Eugene Winzer
2018-01-23SUPERNOVA: Fixes codeJoseph-Eugene Winzer
kMaxSection - 1 was used in the original code to indicate if the GUI is currently shown. In this engine an explicit variable _guiEnabled is used.
2018-01-23SUPERNOVA: Replaces longjmp to 'dead'Joseph-Eugene Winzer