Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2018-01-23 | SUPERNOVA: Fix incorrect delay for message display | Thierry Crozat | |
The delay was not set, meaning the messages were immediately removed in some cutscenes. | |||
2018-01-23 | SUPERNOVA: Implement event callback mechanism and Supernova event | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix image rendering when removing image | Thierry Crozat | |
This is mostly used in talk animations and result in bad artefacts. The issue was a regression introduced in commit e0f6da0. | |||
2018-01-23 | SUPERNOVA: Do not run animations while a text box is displayed | Thierry Crozat | |
That is also what the original is doing, and this avoid having graphical glitches. | |||
2018-01-23 | SUPERNOVA: Fix crash when displaying strings larger than the screen | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Reduce memory usage to store sections and simplify code | Thierry Crozat | |
Each section was store dusing the full image size. Now it only uses the section size, which should reduce considerably the amout of memory used for each image. Also when a section has one or more next section, they were all drawn on the surface for this section, but then they were drawn again on their own surface. And while this should not cause any issue, this was really unnecessary (and prevented optimizing the surface size for each section). So now this is no longer the case and the surface for a section only contains this section. | |||
2018-01-23 | SUPERNOVA: Replace a class variable used in a single function by a local ↵ | Thierry Crozat | |
variable | |||
2018-01-23 | SUPERNOVA: Cleanup dialog code | Thierry 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-23 | SUPERNOVA: Fix delay when loading a savedgame while a message is displayed | Thierry Crozat | |
This required the user to click a mouse button to close the message and get to the mew state. Now the message is automatically closed before loading the new state. | |||
2018-01-23 | SUPERNOVA: Fix displaying image missing last row and last column | Thierry Crozat | |
This also fixes a crash for single row image sections | |||
2018-01-23 | SUPERNOVA: Fix some warnings | Strangerke | |
2018-01-23 | SUPERNOVA: Improve interactivity of title screen and intro cutscene | Thierry Crozat | |
We can now press the mouse button to leave the title screen instead of having to press a key. Since the mouse cursor was visible, not being able to press the mouse button was strange. Especially as it was possible to use the mouse button earlier in the title screen. Also we can now use the mouse button or any key other than escape during the cutscene to move to the next sentence. And the code is more reactive to pressing the Escape key (we don't need to wait for the current annimation to finish) to exit the cutscene. | |||
2018-01-23 | SUPERNOVA: Move object name and description strings to engine data file | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Load strings from the supernova.dat file | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Plug memory leak in MOD music streams | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Clean indentations | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix GCC Warning for Malformed Narrowing Conversions in C++11. | D G Turner | |
2018-01-23 | SUPERNOVA: Fix clicks at start and end of audio samples | Thierry 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-23 | SUPERNOVA: Add saving/loading of playtime | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Properly handle loading saved game from launcher | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Improve save state handling | Thierry 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-23 | SUPERNOVA: Allows saving by default | Joseph-Eugene Winzer | |
When saving is not apropriate, for example during cutscenes, explicitly disable it. | |||
2018-01-23 | SUPERNOVA: Fixes save/load dialog | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes returned constant on load fail | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Raises save game limit to 99 | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Changes increment size for fade in/out | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes mouse events during intro | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds text speed variable | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Removes comments | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Implements de-/serialization | Joseph-Eugene Winzer | |
WIP. It is currently broken. | |||
2018-01-23 | SUPERNOVA: Adds engine pause | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds RoomID to Rooms | Joseph-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 playing | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Implements Return To Launcher | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Updates TODOs | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Removes getDOSTicks() | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds Alt-X as exit shortcut | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes rerendering of the room | Joseph-Eugene Winzer | |
One sprite can consist of many sections that are concatenated in a linked list. | |||
2018-01-23 | SUPERNOVA: Adds Audio info for rocks | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: cleanup | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Adds indicator for key presses | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Extends text rendering | Joseph-Eugene Winzer | |
textWidth() and renderText() are overloaded for handling single uint16 characters (useful when rendering key strokes directly) | |||
2018-01-23 | SUPERNOVA: Adjusts game loop delay | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Implements animation | Joseph-Eugene Winzer | |
The original game's time was stored in 55ms ticks but we just run on milliseconds. setAnimationTimer() sets the ticks the currrent room's animation() function will not be called. | |||
2018-01-23 | SUPERNOVA: Refactors event loop | Joseph-Eugene Winzer | |
2018-01-23 | SUPERNOVA: Fixes font rendering | Joseph-Eugene Winzer | |