Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-15 | SUPERNOVA: Removes global nullObject | Joseph-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-15 | SUPERNOVA: Removes renderImageSection() from SupernovaEngine | Joseph-Eugene Winzer | |
This function is never called by itself. It is a helper function for renderImage(). | |||
2018-04-15 | SUPERNOVA: Removes unused RNG instance | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Fixes type camel case | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Renames Music/AudioIndex to Music/AudioId | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Fixes setCurrentImage | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Moves VGA Palette to screenstatic.cpp | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Implements render functions | Joseph-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-15 | SUPERNOVA: Implements image buffering | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Renames NULL to nullptr | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Renames MSNImageDecoder to MSNImage | Joseph-Eugene Winzer | |
2018-04-15 | SUPERNOVA: Adds resource abstraction | Joseph-Eugene Winzer | |
The resource abstraction includes loading of sound files and cursor graphics. | |||
2018-04-14 | SUPERNOVA: Removes stopAudio() | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Adds init function to SupernovaEngine | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Adds sound abstraction | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Renames _timer1 to _messageDuration | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Moves updateEvents() to GameManager | Joseph-Eugene Winzer | |
updatEvents() depends on an initalized GameManager instance and mostly manipulates its state. So it seemed fitting to move it over. | |||
2018-04-14 | SUPERNOVA: Processes all keyboard queries in processInput() | Joseph-Eugene Winzer | |
2018-04-14 | SUPERNOVA: Removes redundant keypress check | Joseph-Eugene Winzer | |
GameManager::processInput() already does the job | |||
2018-03-11 | SUPERNOVA: Fixes formatting | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Removes TODO for quitGameDialog() | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Substitues constant strings | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Encapsulates GuiElement | Joseph-Eugene Winzer | |
It simplifies the overloaded functions for renderBox/Text and saveScreen | |||
2018-03-11 | SUPERNOVA: Implements original quit prompt | Joseph-Eugene Winzer | |
2018-03-11 | SUPERNOVA: Fixes formatting | Joseph-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-23 | SUPERNOVA: Adds ModeList | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Make _event a local variable | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Initializes RandomSource on stack | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Renames INT32_MAX to kMaxTimerValue | Joseph-Eugene Winzer | |
Prevents collision with stdint.h INT32_MAX | |||
2018-01-23 | SUPERNOVA: Fixes AudioStream leak | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Changes array to seperate variables | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes segfault if dat file not found | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Removes global constructor call | Joseph-Eugene Winzer | |
Object() is redundant anyway as it instantiates an Object object and copies it to nullObject, which was already default constructed. | |||
2018-01-23 | SUPERNOVA: Introduces INT32_MAX for eventTime | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Corrects max value for int32 | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Do not try to render INTRO room | Thierry Crozat | |
This room has no image and this avoids getting a warning about image file not found. | |||
2018-01-23 | SUPERNOVA: Implement alarm | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix handling of room brightness | Thierry 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-23 | SUPERNOVA: Load images on demand | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix several issues with savegames | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Implement errorTempSave() | Strangerke | |
2018-01-23 | SUPERNOVA: Implement autosave used for dream sequence | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Use setCurrentImage instead of passing the image to renderImage | Thierry Crozat | |
This is more similar to what the original code does and allows to retire the renderImage variant that takes an image. | |||
2018-01-23 | SUPERNOVA: Add warning when trying to use out of bound file number | Thierry 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-23 | SUPERNOVA: Fix logic in rendering code | Thierry 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-23 | SUPERNOVA: Fix room rendering | Thierry Crozat | |
It could initially access the wrong image to check the number of section. The code was working fine as long as it had one section, so there was probably no bad side effect to using the wrong image (except if it was NULL). | |||
2018-01-23 | SUPERNOVA: Implement text speed dialog | Thierry Crozat | |
The text speed is also saved in the scummvm.ini file so that it persists between runs. | |||
2018-01-23 | SUPERNOVA: Properly handle timer stop/start | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Disable loading and saving during execution of event callbacks | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix updating the palette brightness when the current image has no ↵ | Thierry Crozat | |
palette |