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
67c7c4c970
Fix regression when recording or playing a demo
...
Only keyboard events must be accepted with demos.
2017-10-31 18:45:06 +01:00
Mathieu Schroeter
503ed8ce7f
Fix uninitialized variable
2017-10-30 18:26:01 +01:00
Mathieu Schroeter
546f5a86ba
Add smooth scrolling for the playing and build area
...
It fixes the issue #28 .
2017-10-30 18:14:31 +01:00
Mathieu Schroeter
64a0bf6512
Cosmetic
2017-10-30 17:38:51 +01:00
Mathieu Schroeter
481f4db4b4
Use a method for fixing the decor shifting
...
It will be used for supporting the smooth scrolling.
2017-10-30 17:37:59 +01:00
Mathieu Schroeter
6e7947b7be
Disable the pause when the window is deactivated (debug)
2017-10-30 17:36:28 +01:00
Mathieu Schroeter
c4c10cb9b4
Fix draw with large screen
2017-10-30 06:58:09 +01:00
Mathieu Schroeter
93c386a4ce
Cosmetic: rename coin to corner (2)
2017-10-28 20:04:51 +02:00
Mathieu Schroeter
0a17d2d92e
Cosmetic: rename coin to corner
2017-10-28 18:37:06 +02: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
a64ee92541
Fix one more polish character width
2017-10-25 18:33:57 +02:00
Mathieu Schroeter
9909f38aab
Fix polish chars for little font
...
It closes issue #36 .
2017-10-25 18:30:10 +02:00
Mathieu Schroeter
1d1189c33e
Fix animation with the disciple
...
It fixes issue #38 .
2017-10-25 16:00:30 +02:00
Mathieu Schroeter
4db92b4da6
Cosmetic: translate some comments to english
2017-10-25 07:06:14 +02:00
Mathieu Schroeter
a26b71a2d8
Show enemies in the stats when using cheat code
...
It concerns the difficult skill level.
2017-10-25 06:46:09 +02:00
Mathieu Schroeter
bb787147db
Merge branch 'master' into wip/landscape
2017-10-25 06:41:53 +02:00
Mathieu Schroeter
51ffe896be
Replace a char by Sint8
...
It should fix build on some arch like arm and ppc.
2017-10-25 06:41:11 +02:00
Mathieu Schroeter
af31192f73
Merge branch 'master' into wip/landscape
2017-10-23 19:31:12 +02:00
Mathieu Schroeter
a17a7e1dda
Prevent bad values with the language to restore
2017-10-23 19:30:59 +02:00
Mathieu Schroeter
05a8c4469a
Fix noise when saving info.blp file
...
The enum must be sync with the vector. I should rewrite
this stuff otherwise.
2017-10-23 19:30:29 +02:00
Mathieu Schroeter
e8f3fc7e37
Initialize the struct
2017-10-23 19:29:23 +02:00
Mathieu Schroeter
d052ab4da3
Merge branch 'master' into wip/landscape
2017-10-23 18:29:40 +02:00
Mathieu Schroeter
6da7be9e78
Cosmetic: apply clang-format
2017-10-23 17:32:18 +02:00
krzys-h
b96741b45f
Merge remote-tracking branch 'origin/master' into HEAD
2017-10-22 20:57:31 +02:00
Mathieu Schroeter
c8cf431e38
Clear the texture when the movie is starting
...
Otherwise it's possible to see garbage with the first frame.
2017-10-21 23:31:46 +02:00
Mathieu Schroeter
37da5b3b07
Fix memleak by using a variable on the stack
2017-10-21 23:31:39 +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
e39c2eaedd
Remove obsolete argument
2017-10-21 23:31:20 +02:00
Mathieu Schroeter
10630b4b53
Clear the texture when the movie is starting
...
Otherwise it's possible to see garbage with the first frame.
2017-10-21 21:30:26 +02:00
Mathieu Schroeter
27d3bc6ac5
Fix memleak by using a variable on the stack
2017-10-21 18:41:53 +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
7f9761e069
Fix movie ratio on widescreen
2017-10-21 16:19:05 +02:00
Mathieu Schroeter
8df65c2a28
Remove obsolete argument
2017-10-21 16:04:26 +02:00
Mathieu Schroeter
bf7857d61a
Use the widescreen background only with widescreens
2017-10-21 15:59:18 +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
dfe3647a74
Add a BltFast function with src and dst rect
2017-10-21 15:30:37 +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
a64b03c1da
Remove obsolete mask argument of many draw functions
2017-10-18 07:04:35 +02:00
Mathieu Schroeter
9c43bcae44
Merge branch 'master' into wip/landscape
2017-10-18 06:43:56 +02:00
Mathieu Schroeter
9d23c1012c
Return in the game when ESC is used in the stop phase
...
It prevents to lost the current game just because we use two times the
ESC key. It's better to return in the game when ESCAPE is used from the
STOP phase (game paused).
2017-10-18 06:43:04 +02:00
Mathieu Schroeter
9b6d571e07
Use expand mode for the build background
2017-10-15 22:13:58 +02:00
Mathieu Schroeter
62717b4e1a
Finish expand mode for playing backgrounds
2017-10-15 22:08:22 +02:00
Mathieu Schroeter
f65fb90fe5
Cosmetics
2017-10-15 11:23:38 +02:00