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

515 Commits

Author SHA1 Message Date
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
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
3e5768510e Cosmetics 2017-10-13 18:43:25 +02:00
Mathieu Schroeter
bf493e706d Fix skill level buttons positions 2017-10-13 18:43:13 +02:00
Mathieu Schroeter
10fbf3bf65 Fix draw with large screen 2017-10-13 16:04:08 +02:00
Mathieu Schroeter
c5f2df30b1 Merge branch 'master' into wip/landscape 2017-10-11 16:50:48 +02:00
Mathieu Schroeter
c81b41192d Fix cheat text visibility regression 2017-10-11 16:50:00 +02:00
Mathieu Schroeter
ff3a6e0907 Fix more text positions with wide screen 2017-10-11 16:31:29 +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
dcbfd5cc35 Add a method to create an empty texture 2017-10-10 18:28:09 +02:00
Mathieu Schroeter
04bc9ed5e0 Fix ground image size 2017-10-10 18:27:20 +02:00
Mathieu Schroeter
fd43a6ef01 WIP: add landscape support 2017-10-06 18:23:07 +02:00
Mathieu Schroeter
d47108c3aa Fix regression with difficult skill level
The IsTerminated() stuff is based on the statistics. In the case of the
difficult skill level, only the table must be adapted, not the counters.
The counters are used by the check for the ending conditions.
2017-10-06 18:11:24 +02:00
Mathieu Schroeter
b9ab6272f8 Update comments to english 2017-10-04 07:06:12 +02:00
Mathieu Schroeter
c099ccb9e2 Cosmetic: rename to english 2017-10-04 07:05:55 +02:00
Mathieu Schroeter
13a5229a87 Use a screen factor of 4/3 to compute the width 2017-10-04 07:01:03 +02:00
Mathieu Schroeter
268f5d9e13 Add Italian characters to the little font too 2017-10-01 15:17:16 +02:00
Mathieu Schroeter
00d4fbf59e Add Italian translation 2017-09-29 16:26:46 +02:00
Mathieu Schroeter
1014213645 Cosmetic 2017-09-29 16:25:58 +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
4c234737ff Disable the pause keyboard event with difficult skill level
- It closes issue #22.
2017-09-22 12:48:20 +02:00
Mathieu Schroeter
07f13f6059 Disable the click on enemies even when visible in stat (difficult skill)
It concerns issue #22.
2017-09-22 12:45:08 +02:00
Mathieu Schroeter
74ba9ea8f8 Hide enemies (under fog) from stat with the difficult skill level
It concerns issue #22.
2017-09-22 12:44:07 +02:00
Mathieu Schroeter
8a9849c27e Hide enemies from the map (with fog) with the difficult skill level
It's the first step for resolving issue #22.
2017-09-22 12:18:45 +02:00
Mathieu Schroeter
18551ced5f Invert logic for readability 2017-09-22 11:53:59 +02:00
Mathieu Schroeter
dc6895ffdc Check for tower rays in all cases
- It fixes the issue #26.

It's no longer possible to have rays with an object that is not a tower.
You can reenable this bug with --restore-bugs.
2017-09-22 11:41:33 +02:00
Mathieu Schroeter
fff8fe2915 Fix bug where it's possible to take an enemy in a trap
See https://youtu.be/MyWZj20-Iok?t=50s

- It closes issue #20.

It can be restored with --restore-bugs.
2017-09-22 10:46:38 +02:00