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

142 Commits

Author SHA1 Message Date
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
cd7fbf1fb7 Merge branch 'master' into wip/landscape 2018-05-30 06:58:27 +02:00
Mathieu Schroeter
8c2bcf6244 Ignore the window position when creating 2018-05-29 17:41:31 +02:00
Mathieu Schroeter
e88e58863b Merge branch 'master' into wip/landscape 2018-02-19 18:13:21 +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
6975b664b9 Prefer directsound over winmm under Windows 2018-01-31 23:38:27 +01:00
Mathieu Schroeter
9543ebb60f Add support for all drivers (renderers) 2017-12-14 23:42:54 +01:00
Mathieu Schroeter
dc8f6319f0 Cosmetic: rename windowScale to zoom 2017-12-14 23:10:24 +01:00
Mathieu Schroeter
d27aaf4b3e Cosmetic: remove stupid comment 2017-12-14 23:08:05 +01:00
Mathieu Schroeter
1db67ed200 Save the window zoom and fullscreen settings in the user preferences 2017-12-14 23:07:17 +01:00
Mathieu Schroeter
f97d1c3644 Check that the zoom (-z) is in the range 2017-12-13 23:01:48 +01:00
Mathieu Schroeter
2ac9f735af Exit immediatly on error with the cli parser 2017-12-13 22:40:42 +01:00
Mathieu Schroeter
da3d683bf7 Add a global settings entry for switching between ogg and midi music 2017-12-12 23:48:21 +01:00
Mathieu Schroeter
14836df8fc Remove stupid code 2017-12-12 22:44:32 +01:00
Mathieu Schroeter
6237cfda9f Add the restoremidi option with the config.json file 2017-12-12 22:44:32 +01:00
Mathieu Schroeter
54d7eec1a3 Add a way to change the driver used by the accelerated renderer 2017-12-12 22:44:32 +01:00
Mathieu Schroeter
d2bfd12934 Restore midi playback support and add --restore-midi cli argument
- It closes issue #49.
2017-12-10 15:34:47 +01:00
Mathieu Schroeter
222113a343 Add log for SDL_Init failures 2017-12-02 23:23:35 +01:00
Mathieu Schroeter
cb4dd444b4 Fix renderer memleak 2017-11-26 21:57:04 +01:00
Mathieu Schroeter
61bd9261bf Use small timeouts with cURL 2017-11-01 07:01:22 +01:00
Mathieu Schroeter
4b8623f408 Abort the update curl request when exiting
It can take one second (max).

- It closes issue #40.
2017-11-01 06:58:46 +01:00
Mathieu Schroeter
6e7947b7be Disable the pause when the window is deactivated (debug) 2017-10-30 17:36:28 +01:00
Mathieu Schroeter
dfc729739c Cosmetic: fix indent after previous commit 2017-10-26 17:06:28 +02:00
Mathieu Schroeter
e0adfd4fed Do not block the game loop when the screen is shifting
It's related to #28.
2017-10-26 16:03:47 +02:00
Mathieu Schroeter
04f127af19 Prevent black screen (glitch) when a movie is not found 2017-10-21 23:31:32 +02:00
Mathieu Schroeter
b25259df51 Prevent black screen (glitch) when a movie is not found 2017-10-21 16:44:22 +02:00
Mathieu Schroeter
cf02f03a6c Use the book background on widescreen 2017-10-21 15:55:29 +02:00
Mathieu Schroeter
108c577b85 Use the back-build image as stretched background for wide screen
Concerns only screens provided with the map builder.
2017-10-21 15:31:38 +02:00
Mathieu Schroeter
56af742d0a Merge branch 'master' into wip/landscape 2017-10-21 10:52:54 +02:00
Mathieu Schroeter
b523641b86 Cosmetics 2017-10-20 17:43:05 +02:00
Mathieu Schroeter
a7018dbc50 Fix warning of unused function 2017-10-20 17:42:42 +02:00
Didier Raboud
6134edc96e Make the CURL dependency optional, through the PLANETBLUPI_HTTP_VERSION_CHECK CMake option 2017-10-20 16:32:40 +02:00
Mathieu Schroeter
f7640e92ce WIP: add an expanded mode for the backgrounds
It's just partially working.
2017-10-15 11:23:02 +02:00
Mathieu Schroeter
e56b83e87c Merge branch 'master' into wip/landscape 2017-10-11 16:21:40 +02:00
Mathieu Schroeter
1b242ca3aa Adapt the mouse cursor size according to the zoom 2017-10-11 16:08:27 +02:00
Mathieu Schroeter
da787a8586 Load the CHGROUND channel as an emty texture
It fixes the mapping for the floors when the screen is not 4:3.
2017-10-10 18:28:35 +02:00
Mathieu Schroeter
fd43a6ef01 WIP: add landscape support 2017-10-06 18:23:07 +02:00
Mathieu Schroeter
268f5d9e13 Add Italian characters to the little font too 2017-10-01 15:17:16 +02:00
Mathieu Schroeter
2e2847f3f0 Add extended characters for Italian 2017-09-29 16:25:12 +02:00
Mathieu Schroeter
1dcddd1f6c Fix regression introduced by a1549544d49fdbf4b118afe0031a882ff65ac212
The next version must be 1.10 instead of 1.9.3 in order to re-enable the
check update on all v1.9 versions.
2017-09-22 13:07:01 +02:00
Mathieu Schroeter
4ccd99fa04 Set the window size only if fullscreen is off 2017-09-20 06:46:35 +02:00
Mathieu Schroeter
6d4200e89c Ensure that the zoom settings is a supported value 2017-09-20 06:45:07 +02:00
Mathieu Schroeter
2496e53985 Use "zoom" instead of "scale" for config.json setting 2017-09-20 06:43:36 +02:00
Mathieu Schroeter
a66624f441 Cosmetic 2017-09-20 06:43:00 +02:00
Mathieu Schroeter
459759ffa5 WIP: add support for cli option to change the window size 2017-09-19 20:06:13 +02:00
Mathieu Schroeter
fcb6f00a7f Show the error dialog before creating the SDL window 2017-09-16 22:56:43 +02:00
Mathieu Schroeter
eb044e13ca Check that the file exists instead of crashing
- It closes issue #15.
2017-09-16 22:55:38 +02:00
Mathieu Schroeter
9b052fa8a2 Start with a window and after go in fullscreen
It prevents glitches with the textures on old systems.
No idea why...
2017-09-14 00:07:21 +02:00
Mathieu Schroeter
a17bbcefba Cosmetic: fix indent 2017-08-29 18:37:54 +02:00
Mathieu Schroeter
32aa5c9c3f Specify that we are in v1.9.0-rc1 2017-08-29 18:36:30 +02:00