83805 Commits

Author SHA1 Message Date
Thierry Crozat
30a3ab640e SUPERNOVA: Improve English translation 2018-01-23 02:15:38 +00:00
Thierry Crozat
eb43b029cc SUPERNOVA: Improve English translation 2018-01-23 02:15:38 +00:00
Thierry Crozat
682dfa0e0c SUPERNOVA: Fix two incorrect German strings 2018-01-23 02:15:38 +00:00
Thierry Crozat
54201327f7 SUPERNOVA: Fix image rendering when removing image
This is mostly used in talk animations and result in bad artefacts.
The issue was a regression introduced in commit e0f6da0.
2018-01-23 02:15:38 +00:00
Thierry Crozat
c8c6eeb974 SUPERNOVA: Fix usage of uninitialized variables 2018-01-23 02:15:38 +00:00
Thierry Crozat
3f2c0673e4 SUPERNOVA: Do not run animations while a text box is displayed
That is also what the original is doing, and this avoid having
graphical glitches.
2018-01-23 02:15:38 +00:00
Thierry Crozat
a159a19324 SUPERNOVA: Split English translation on two lines
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 02:15:37 +00:00
Thierry Crozat
8f7dcbe4ac SUPERNOVA: Fix crash when displaying strings larger than the screen 2018-01-23 02:15:37 +00:00
Thierry Crozat
841e7182f2 SUPERNOVA: Reduce memory usage to store sections and simplify code
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 02:15:37 +00:00
Thierry Crozat
73278c3f9f SUPERNOVA: Replace a class variable used in a single function by a local variable 2018-01-23 02:15:37 +00:00
Thierry Crozat
5b76bbb016 SUPERNOVA: Fix graphics glitches 2018-01-23 02:15:37 +00:00
Thierry Crozat
5dd3bea723 SUPERNOVA: Fix incorrect German string 2018-01-23 02:15:37 +00:00
Thierry Crozat
5362f3bc26 SUPERNOVA: Improve English translation 2018-01-23 02:15:37 +00:00
Thierry Crozat
7c40e38d7c SUPERNOVA: Fix recursive infinite loop in door closing animation in ArsanoEntrance 2018-01-23 02:15:37 +00:00
Thierry Crozat
bd6cdf4ba2 SUPERNOVA: Handle events during dialogs 2018-01-23 02:15:37 +00:00
Thierry Crozat
7bf803f6e6 SUPERNOVA: Cleanup dialog code
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 02:15:37 +00:00
Thierry Crozat
21899d8716 SUPERNOVA: Implement most dialog related functions 2018-01-23 02:15:37 +00:00
Thierry Crozat
f4b10b7a83 SUPERNOVA: Add missing game string 2018-01-23 02:15:37 +00:00
Thierry Crozat
06c46bd281 SUPERNOVA: Fix incorrect German string 2018-01-23 02:15:37 +00:00
Thierry Crozat
f98fcd139b SUPERNOVA: Fix screen shake
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 02:15:36 +00:00
Thierry Crozat
29397932af SUPERNOVA: Fix incorrect translation 2018-01-23 02:15:36 +00:00
Thierry Crozat
8950934a47 SUPERNOVA: Fix incorrect string 2018-01-23 02:15:36 +00:00
Thierry Crozat
e06d7cc99b SUPERNOVA: Fix incorrect game text strings 2018-01-23 02:15:36 +00:00
Thierry Crozat
7f8806e929 SUPERNOVA: Update English translation 2018-01-23 02:15:36 +00:00
Thierry Crozat
15b4e7a298 SUPERNOVA: Fix delay when loading a savedgame while a message is displayed
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 02:15:36 +00:00
Strangerke
201fd0ff56 SUPERNOVA: Change detection to use data files instead of executables 2018-01-23 02:15:36 +00:00
Thierry Crozat
73c9c7ad50 SUPERNOVA: Update English translation 2018-01-23 02:15:36 +00:00
Strangerke
1cee221e7a SUPERNOVA: Finish the string extraction in state.cpp 2018-01-23 02:15:36 +00:00
Thierry Crozat
5b25fc282d SUPERNOVA: Update English translation 2018-01-23 02:15:36 +00:00
Thierry Crozat
21415efa40 SUPERNOVA: Use octal value for non-ASCII characters in game text 2018-01-23 02:15:36 +00:00
Strangerke
d4351a5ff2 SUPERNOVA: Extract some strings from state.cpp 2018-01-23 02:15:36 +00:00
Strangerke
c4ee3e72b7 SUPERNOVA: Extract some more stings from rooms.cpp 2018-01-23 02:15:35 +00:00
Strangerke
e0dde7865b SUPERNOVA: Remove AxacussCorridor5::interact in order to get rid of several GOTOs 2018-01-23 02:15:35 +00:00
Strangerke
f213ea8e0a SUPERNOVA: extract strings for Axacuss Corridor 5 2018-01-23 02:15:35 +00:00
Thierry Crozat
9db84783be SUPERNOVA: Merge two strings to help with translation 2018-01-23 02:15:35 +00:00
Thierry Crozat
52952c48a7 SUPERNOVA: Fix displaying image missing last row and last column
This also fixes a crash for single row image sections
2018-01-23 02:15:35 +00:00
Strangerke
4d7d802333 SUPERNOVA: Change the signature of dialog(), fix calls, extract some more strings 2018-01-23 02:15:35 +00:00
Thierry Crozat
49e3dd5864 SUPERNOVA: Update English translation 2018-01-23 02:15:35 +00:00
Strangerke
7cfe38501c SUPERNOVA: Extract ArsanoGlider, ArsanoMeetup 2 & 3 and AxacussCell strings 2018-01-23 02:15:35 +00:00
Strangerke
56f9328e90 SUPERNOVA: Extract ArsanoRoger texts 2018-01-23 02:15:35 +00:00
Strangerke
609856d36a SUPERNOVA: Fix a remaining kStringDialogSeparator 2018-01-23 02:15:35 +00:00
Strangerke
ed9d92407e SUPERNOVA: Extract more dialog texts 2018-01-23 02:15:35 +00:00
Strangerke
38fbda9189 SUPERNOVA: Extract strings used in ShipHold and operations related to the cable 2018-01-23 02:15:35 +00:00
Strangerke
cb12a88fc5 SUPERNOVA: Extract strings for ShibCabinL3 & R3 and for ShipAirlock 2018-01-23 02:15:35 +00:00
Thierry Crozat
a141438e60 SUPERNOVA: Fix check of dialog status in ArsanoRoger onEntrance 2018-01-23 02:15:34 +00:00
Thierry Crozat
c290e144db SUPERNOVA: Simplify a bit the code 2018-01-23 02:15:34 +00:00
Thierry Crozat
ae65de93fa SUPERNOVA: Fix non-ASCII character in game strings 2018-01-23 02:15:34 +00:00
Strangerke
572f205e67 SUPERNOVA: Extract the strings from ShipCockpit 2018-01-23 02:15:34 +00:00
Strangerke
f23baf902f SUPERNOVA: Extract strings for Ship Hall and Ship Sleep Cabin 2018-01-23 02:15:34 +00:00
Strangerke
31a0496091 SUPERNOVA: Janitorial - Fix some spacing in rooms.cpp 2018-01-23 02:15:34 +00:00