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
190147015d
Get size only when necessary
2018-06-27 18:19:38 +02:00
Mathieu Schroeter
4a21224de5
Prevent bad width and height values
2018-06-27 18:18:21 +02:00
Mathieu Schroeter
e03a539744
Cosmetic: remove dead code
2018-06-27 18:17:44 +02:00
Mathieu Schroeter
94996ef4d7
Cosmetic: fix format
2018-06-27 17:32:41 +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
9a7ffb887f
Move display stuff in a dedicated source file
...
The display ratio is computed with the user's screen. It's no longer a
static value.
It must be improved in order to fix the ratio according to screen
changes.
2018-06-27 07:01:37 +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
e260ddf5e3
Add missing comment for #if
2018-06-26 22:49:34 +02:00
Mathieu Schroeter
93f5389132
Cosmetics
2018-06-26 19:14:55 +02:00
Mathieu Schroeter
bf31378ffc
Cosmetics
2018-06-26 19:11:49 +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
3834861c1e
Fix mouse wrap in fullscreen (desktop)
2018-06-25 17:58:24 +02:00
Mathieu Schroeter
589b720474
Merge branch 'master' into wip/landscape
2018-06-25 17:22:35 +02:00
Mathieu Schroeter
cab930d472
Fix glitch when a perso is deleted and the ground is moved
...
The perso must not be drawn because it doesn't exist anymore.
- It fixes issue #62 .
2018-06-25 00:28:36 +02:00
Mathieu Schroeter
c2b4bee30f
Ensure to destroy the main texture on reload
2018-06-14 23:51:58 +02:00
Mathieu Schroeter
17e9f1e3e4
Fix use of mainTexture with landscape fullscreen
2018-06-14 23:51:05 +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
0289b0224b
WIP: add handling support for desktop fullscreen mode
2018-06-13 23:15:23 +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
daf70260de
Pass the event manager to pixmap
2018-06-13 23:10:24 +02:00
Mathieu Schroeter
84a671a763
Merge branch 'master' into wip/landscape
2018-06-11 23:22:37 +02:00
Mathieu Schroeter
34869f1736
Fix black backgrounds with opengles2
2018-06-11 18:18:07 +02:00
Mathieu Schroeter
33464784ed
Revert "Fix linking with winpthread"
...
This reverts commit 50c728c791895d822b0f474a37dbdd609ba21337.
2018-06-08 07:47:39 +02:00
Mathieu Schroeter
ce411bfd88
Revert "Do not deploy winpthread anymore"
...
This reverts commit 27b8a5d031df4ed9e743133e37150fb4fd343539.
2018-06-08 07:47:35 +02:00
Mathieu Schroeter
9c4b94baf8
Upgrade cmake version
2018-06-08 07:47:12 +02:00
Mathieu Schroeter
27b8a5d031
Do not deploy winpthread anymore
2018-06-07 21:58:56 +02:00
Mathieu Schroeter
50c728c791
Fix linking with winpthread
...
Closes issue #24 .
2018-06-07 21:56:13 +02:00
Mathieu Schroeter
af14cc196f
Sign the AppImage only if SIGN_APP is true
v1.12.5
2018-06-06 18:04:14 +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
a68625dafd
Bump micro version for the next stable release
2018-05-29 18:18:37 +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
8c2bcf6244
Ignore the window position when creating
2018-05-29 17:41:31 +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
8ffec6c29f
Fix right click on the first tree
...
It fixes the issue #58 .
2018-05-28 18:19:35 +02:00
Mathieu Schroeter
e2ac1d96c5
Does not check for world files with private missions
2018-03-16 11:49:23 +01:00