Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 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 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 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 | |
2018-01-23 | SUPERNOVA: Finish the string extraction in state.cpp | Strangerke | |
2018-01-23 | SUPERNOVA: Extract some strings from state.cpp | Strangerke | |
2018-01-23 | SUPERNOVA: Extract some more stings from rooms.cpp | Strangerke | |
2018-01-23 | SUPERNOVA: Remove AxacussCorridor5::interact in order to get rid of several ↵ | Strangerke | |
GOTOs | |||
2018-01-23 | SUPERNOVA: extract strings for Axacuss Corridor 5 | Strangerke | |
2018-01-23 | SUPERNOVA: Merge two strings to help with translation | Thierry Crozat | |
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: Change the signature of dialog(), fix calls, extract some more ↵ | Strangerke | |
strings | |||
2018-01-23 | SUPERNOVA: Extract ArsanoGlider, ArsanoMeetup 2 & 3 and AxacussCell strings | Strangerke | |
2018-01-23 | SUPERNOVA: Extract ArsanoRoger texts | Strangerke | |
2018-01-23 | SUPERNOVA: Fix a remaining kStringDialogSeparator | Strangerke | |
2018-01-23 | SUPERNOVA: Extract more dialog texts | Strangerke | |
2018-01-23 | SUPERNOVA: Extract strings used in ShipHold and operations related to the cable | Strangerke | |
2018-01-23 | SUPERNOVA: Extract strings for ShibCabinL3 & R3 and for ShipAirlock | Strangerke | |
2018-01-23 | SUPERNOVA: Fix check of dialog status in ArsanoRoger onEntrance | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Simplify a bit the code | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Extract the strings from ShipCockpit | Strangerke | |
2018-01-23 | SUPERNOVA: Extract strings for Ship Hall and Ship Sleep Cabin | Strangerke | |
2018-01-23 | SUPERNOVA: Janitorial - Fix some spacing in rooms.cpp | Strangerke | |
2018-01-23 | SUPERNOVA: Remove useless 2nd initialization of _shown to false | Strangerke | |
2018-01-23 | SUPERNOVA: Remove useless defines | Strangerke | |
2018-01-23 | SUPERNOVA: Change _shown to an array of bytes in order to handle extra ↵ | Strangerke | |
values used by dialogs, fix ArsanoMeetup2::onEntrance by using a shown variable | |||
2018-01-23 | SUPERNOVA: Fix some warnings | Strangerke | |
2018-01-23 | SUPERNOVA: Improve translated title display | Thierry Crozat | |
The title is displayed on three lines aligned on their center, but the code provides the left coordinate for each line so we need to compute it based on the translated line length. | |||
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 intro cutscene strings to engine data file | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Move object name and description strings to engine data file | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Add POTFILES to get translated text for the GUI | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Start using strings from the engine data file | Thierry Crozat | |
This means that now all that remains to be done to play in English is to move all the strings to the engine data file and to translate them. | |||
2018-01-23 | SUPERNOVA: Load strings from the supernova.dat file | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Add detection entry for English translation | Thierry Crozat | |
2018-01-23 | SUPERNOVA: Add getting translated images from the engine data 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 compilation using MSVC9, silent some CppCheck warnings | Strangerke | |
2018-01-23 | SUPERNOVA: Fix GCC Signed vs. Unsigned Comparison Warnings. | D G Turner | |
2018-01-23 | SUPERNOVA: Fix GCC Warning for Malformed Narrowing Conversions in C++11. | D G Turner | |
2018-01-23 | SUPERNOVA: Fix GCC Unused Variable Warnings. | 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. |