1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

756 Commits

Author SHA1 Message Date
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
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
5db7fe91f6 Bump patch version v1.12.4 2018-03-14 17:59:43 +01:00
Mathieu Schroeter
c08b750804 Fix regression where the fire was no longer propagated
It's better to keep the map as it without changing this behaviour. It's
just protected with the map editor; then everything is now working
again.

It fixes issue https://github.com/blupi-games/planetblupi/issues/54
2018-03-14 17:57:53 +01:00
Mathieu Schroeter
148e09c7e2 Fix music choice text position 2018-02-19 18:19:56 +01:00
Mathieu Schroeter
e88e58863b Merge branch 'master' into wip/landscape 2018-02-19 18:13:21 +01:00
Mathieu Schroeter
cddc7de326 Fix properly issue #53 by updating the stats v1.12.3 2018-02-19 18:05:47 +01:00
Mathieu Schroeter
b0be4e1139 Revert "Do not count blupis that are dying / burning"
This reverts commit e3d9377c424bc188bf97c861fe798fb3a1fa8c13.

Bad fix...
2018-02-19 18:05:33 +01:00
Mathieu Schroeter
e3d9377c42 Do not count blupis that are dying / burning
It fixes issue #53.
2018-02-19 17:33:59 +01:00
Mathieu Schroeter
eb1a1da420 Bump micro version for next release 2018-02-18 23:40:32 +01:00
Mathieu Schroeter
e7dd0ec7c7 Ensure that it's not possible to put fire on all objects
Only burnable objects can have a fire.

Note that it's possible to re-enable the previous feature with the
--restore-bugs argument.

- It fixes issue #54.
2018-02-18 23:33:30 +01:00
Mathieu Schroeter
d2046a9389 Move code for testing if an object can burn in a dedicated func 2018-02-18 23:24:06 +01:00
Mathieu Schroeter
1093c048ac Update some copyright dates 2018-02-14 06:36:22 +01:00
Mathieu Schroeter
403b5dbb3d Use the right mouse click (when building) for deleting
- It fixes issue #55.
2018-02-14 06:16:45 +01:00
Mathieu Schroeter
0bc1d00074 Cosmetic 2018-02-13 23:44:08 +01:00
Mathieu Schroeter
0239d1e4ee Ensure that gettext strings are always regenerated
- It fixes issue #52.
2018-02-13 23:38:23 +01:00
Mathieu Schroeter
61a1ab65eb Fix mission stripped paving stones goal when there are less or more than 4 blupi
The minimal number of blupi must be used instead of 4.

- It fixes issue #51.
v1.12.2
2018-02-05 23:21:56 +01:00
Mathieu Schroeter
883ab7ca19 Free the renderer only fter the textures in order to prevent double free
The reason is that the renderer tries to free the associated textures.
It generates assertion errors on macOS.
2018-02-05 18:22:31 +01:00
Mathieu Schroeter
8bfafd3e4e Fix first texture loading on OSX where it was possible to have garbage
The cache ensures that the texture is cleared after the rendering.
2018-02-05 18:14:21 +01:00