Age | Commit message (Collapse) | Author | |
---|---|---|---|
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: Implement shipstart cutscene | Thierry Crozat | |
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: Fix initialization of timer when starting or loading game | Thierry Crozat | |
2018-01-23 | SUPERNOVA: enable general dialogs in AxacussIntersection and AxacussExit | Strangerke | |
2018-01-23 | SUPERNOVA: Fix bug in AxacussExit | Strangerke | |
2018-01-23 | SUPERNOVA: Implement AxacussExit interaction logic | Strangerke | |
2018-01-23 | SUPERNOVA: Add interaction logic for AxacussIntersection | Strangerke | |
2018-01-23 | SUPERNOVA: Fix bug in GUARD room definition | Strangerke | |
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: Add string for text speed dialog | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Check shouldQuit to break from input loop | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Properly handle timer stop/start | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Display stubs, remove useless function declaration | Strangerke | |
2018-01-23 | SUPERNOVA: Fix warning | Strangerke | |
2018-01-23 | SUPERNOVA: Disable loading and saving during execution of event callbacks | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix room brightness | Thierry Crozat | |
The incorrect implementation meant than for example when leaving the cave the room could stay black. Note that the implementation is still approximative for the HOLD and LANDINGMODULE rooms. | |||
2018-01-23 | SUPERNOVA: Remove variables and stub functions related to overlay | 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 combining ObjectType enum values | Thierry Crozat | |
It was storing the result of bitwise operation on the ObjectType enum values in a ObjectType variable. But that was incorrect as the result was not a value from the enum. Also removing a property was actually adding the property if it was not present in the value initially. | |||
2018-01-23 | SUPERNOVA: Improve English translation | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Add strings for supernova explosion cutscene | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Improve English translation | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Improve English translation | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix two incorrect German strings | 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: Fix usage of uninitialized variables | Thierry Crozat | |
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: Split English translation on two lines | Thierry Crozat | |
The string is too long to be displayed on a single line (and the original German string was already on two lines). | |||
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: Fix graphics glitches | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix incorrect German string | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Improve English translation | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix recursive infinite loop in door closing animation in ↵ | Thierry Crozat | |
ArsanoEntrance | |||
2018-01-23 | SUPERNOVA: Handle events during dialogs | Thierry Crozat | |
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: Implement most dialog related functions | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Add missing game string | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix incorrect German string | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix screen shake | Thierry Crozat | |
OSystem::setShakePos(int) can only take positive offset (as documented). Passing a negative offset caused memory issues in the drawing code and some random crashes. | |||
2018-01-23 | SUPERNOVA: Fix incorrect translation | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix incorrect string | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Fix incorrect game text strings | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Update English translation | Thierry Crozat | |
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: Change detection to use data files instead of executables | Strangerke | |