Mathieu Schroeter
1e45e9ee1c
Fix the phase where to return from the READ phase
...
If the game is not started, it must just return to the INFO phase
instead of the STOP phase.
2018-08-08 07:15:55 +02:00
Mathieu Schroeter
b1c6fa9003
Move the main screen button always to the left
2018-08-08 06:49:28 +02:00
Mathieu Schroeter
c704966f6b
Change the text about the anti-aliasing stuff
2018-08-07 00:00:26 +02:00
Mathieu Schroeter
7c6a0a25c0
Disable the render quality buttons with legacy mode
2018-08-06 18:08:09 +02:00
Mathieu Schroeter
4729455602
Change the render quality text value when non-desktop
2018-08-06 17:59:24 +02:00
Mathieu Schroeter
8b7142a084
Add the option for chaning the render quality
...
It toggles between 'nearest' (faster) and 'best' (slower but more
prettier). It's enabled only when the game runs in fullscreen.
The option can be passed by command line argument `--render-quality on`,
by settings.json file with a `"renderquality": true` entry or simply
with the main settings screen in the game.
2018-08-06 07:20:23 +02:00
Mathieu Schroeter
39a2cf926b
Optimize the wide background stuff by loading only on demand
...
It uses less memory.
2018-07-30 18:39:08 +02:00
Mathieu Schroeter
65f80113dd
Use the wide stars background for last win movie
2018-07-26 22:54:59 +02:00
Mathieu Schroeter
68fd32a18d
Remove back-title to back-stars
2018-07-25 18:09:26 +02:00
Mathieu Schroeter
8d67df23b1
Add widescreen background for school win screen
2018-07-23 23:34:06 +02:00
Mathieu Schroeter
83d5b34416
Add widescreen background for title screen
2018-07-23 18:41:54 +02:00
Mathieu Schroeter
d458b67fd2
Add widescreen background for wind and lost screens
2018-07-23 17:49:35 +02:00
Mathieu Schroeter
a6b35337b5
Add widescreen background for bye screen
2018-07-23 07:27:20 +02:00
Mathieu Schroeter
c9c4944e6a
Add wide background for setup screens
2018-07-22 23:14:04 +02:00
Mathieu Schroeter
8299c401a6
Add wide background for chest read
2018-07-22 16:09:12 +02:00
Mathieu Schroeter
1bedfdca85
Add wide background for chest write
2018-07-22 16:00:23 +02:00
Mathieu Schroeter
289881e71c
Disable gettext catalog switching with MUSL
...
It seems not possible to change the language at runtime.
2018-07-22 15:01:04 +02:00
Mathieu Schroeter
298d02c6f9
Change the fullscreen mode with JS too
...
But the fullscreen provided by the browser is not handled by the game.
It must be forwarded in the native code in order to switch properly the
fullscreen boolean.
2018-07-21 17:32:54 +02:00
Mathieu Schroeter
561469f4fd
WIP
2018-07-20 14:54:08 +02:00
Mathieu Schroeter
5993c8f402
Change texts and fix translations
2018-06-30 15:37:36 +02:00
Mathieu Schroeter
c1b336ab86
Cosmetic
2018-06-29 00:27:19 +02:00
Mathieu Schroeter
278e52db45
Fix warning (bad assignment)
2018-06-29 00:27:08 +02:00
Mathieu Schroeter
7032a42f43
Fix text for switching of mode in fullscreen
2018-06-29 00:26:32 +02:00
Mathieu Schroeter
6bf6b3de07
Restart the game when the display mode has changed
2018-06-28 23:55:08 +02:00
Mathieu Schroeter
05dd698578
Add a --legacy option for starting the game in 640x480 mode
2018-06-28 23:54:30 +02:00
Mathieu Schroeter
988962d74a
Retrieve the right ratio accordingly to the current display
...
It's no longer forced to 16:9.
2018-06-27 17:31:59 +02:00
Mathieu Schroeter
e70873a7b8
Make like previous commit but with the recording
2018-06-26 23:16:03 +02:00
Mathieu Schroeter
881a0137b4
Disable smooth scroll with demos
...
It prevents lag and bad shift with mouse clicks.
2018-06-26 23:14:29 +02:00
Mathieu Schroeter
438c01181e
Reduce glitches when chagin the window mode/size
2018-06-26 19:05:01 +02:00
Mathieu Schroeter
fc977d926e
Force the display 0 on windows only with the native 640x480 resolution
2018-06-26 18:47:15 +02:00
Mathieu Schroeter
ab39906c5e
Merge branch 'master' into wip/landscape
2018-06-26 18:30:59 +02:00
Mathieu Schroeter
315b18e8eb
Use the progress function only where necessary
...
And prefer static on the way.
2018-06-26 18:17:25 +02:00
Mathieu Schroeter
3ebe028640
Fix mouse pos when zoom=2 > fullscreen
2018-06-25 22:53:10 +02:00
Mathieu Schroeter
375388b22f
Fix mouse position when changing zoom and fullscreen
2018-06-25 22:17:39 +02:00
Mathieu Schroeter
c79961e803
Merge branch 'wip/fullscreen' into wip/landscape
2018-06-13 23:42:55 +02:00
Mathieu Schroeter
b3c6b53693
WIP: add impl. of fullscreen desktop
...
It's possible to switch between both mode (fullscreen 640x480 and
fullscreen desktop). The zoom option is used for this switch in
fullscreen. The textes must be adapted in this case.
2018-06-13 23:16:59 +02:00
Mathieu Schroeter
967819a5b8
Add a method for testing if a demo is playing
2018-06-13 23:11:29 +02:00
Mathieu Schroeter
84a671a763
Merge branch 'master' into wip/landscape
2018-06-11 23:22:37 +02:00
Mathieu Schroeter
b116a98d4e
Revert "Do not change the bordered style on Windows"
...
It's not a problem...
This reverts commit 2d80222257f5745fd86d61e1800cdc08e1b7d8b8.
2018-05-31 22:47:57 +02:00
Mathieu Schroeter
3aba743cd4
Reload the textures when the renderer is asking for
...
It seems that it fixes textures lose completly.
2018-05-31 22:46:03 +02:00
Mathieu Schroeter
2d80222257
Do not change the bordered style on Windows
...
It's useless and it seems that the textures reload doesn't work
everytime in this case.
2018-05-31 22:28:51 +02:00
Mathieu Schroeter
0654c3939a
Force main display (0) for fullscreen mode
...
It seems that it doesn't work fine to set the fullscreen mode on the
second display (at least with NVidia) and Windows.
2018-05-31 22:27:34 +02:00
Mathieu Schroeter
cd7fbf1fb7
Merge branch 'master' into wip/landscape
2018-05-30 06:58:27 +02:00
Mathieu Schroeter
43ba6df7af
Fix mostly the fullscreen switching with more than 1 display
...
It concerns the issue #59 .
It's not perfect but it works much better (at leats on Linux). The idea
is to move the window to the top left corner of the current display.
2018-05-29 18:06:04 +02:00
Mathieu Schroeter
96cbf54167
Do not move the window when switching with fullscreen mode
2018-05-29 17:42:05 +02:00
Mathieu Schroeter
340e7becac
Center the window on the right display with zoom switching
2018-05-29 17:38:51 +02:00
Mathieu Schroeter
e2ac1d96c5
Does not check for world files with private missions
2018-03-16 11:49:23 +01:00
Mathieu Schroeter
ef362c8b37
Fix the last win screen with private missions
...
It returns to the main screen when the last mission is finished.
It fixes issue #56 .
2018-03-16 11:46:31 +01:00
Mathieu Schroeter
537c077146
Use a define for the max private missions number
2018-03-16 11:46:23 +01:00
Mathieu Schroeter
148e09c7e2
Fix music choice text position
2018-02-19 18:19:56 +01:00