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

30 Commits

Author SHA1 Message Date
Mathieu Schroeter
8b7142a084 Add the option for chaning the render quality
It toggles between 'nearest' (faster) and 'best' (slower but more
prettier). It's enabled only when the game runs in fullscreen.

The option can be passed by command line argument `--render-quality on`,
by settings.json file with a `"renderquality": true` entry or simply
with the main settings screen in the game.
2018-08-06 07:20:23 +02:00
Mathieu Schroeter
d43bbb9784 Update copyrights where appropriate 2018-08-03 12:20:15 +02:00
Mathieu Schroeter
39a2cf926b Optimize the wide background stuff by loading only on demand
It uses less memory.
2018-07-30 18:39:08 +02:00
Mathieu Schroeter
e440cc3f76 Remove he wide background for the movies (by default) 2018-07-28 15:37:12 +02:00
Mathieu Schroeter
65f80113dd Use the wide stars background for last win movie 2018-07-26 22:54:59 +02:00
Mathieu Schroeter
8a27f631a0 Fix possible flicker with video backgrounds 2018-07-25 07:30:57 +02:00
Mathieu Schroeter
70f4f74e11 Draw the wide background with win movies 2018-07-25 00:00:35 +02:00
Mathieu Schroeter
d1fc426e48 Pass the pixmap to the movie class 2018-07-24 23:58:49 +02:00
Mathieu Schroeter
c8a0a42e62 Use SDL_RWops for video loading
It should fix Android video support. For emscripten
it's still not working.
2018-07-20 22:43:13 +02:00
Mathieu Schroeter
e8e36360f8 Merge branch 'master' into wip/landscape 2018-07-03 00:12:20 +02:00
Mathieu Schroeter
0f3c7a34a5 Adapt movie impl. for SDL_kitchensink1 API 2018-07-02 23:20:37 +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
e88e58863b Merge branch 'master' into wip/landscape 2018-02-19 18:13:21 +01:00
Mathieu Schroeter
a058da17a3 Move the function to test if a file exists in misc 2017-12-10 15:29:11 +01: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
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
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
8cd1cacb89 Rename windows types to something else 2017-08-21 22:08:25 +02:00
Mathieu Schroeter
98c9191a11 Reorder includes 2017-08-20 21:53:59 +02:00
Mathieu Schroeter
2a1128ecef COsmetic: update clang-format definition 2017-08-14 22:10:26 +02:00
Mathieu Schroeter
1b4f3822fa Rename event with something less windows-like 2017-08-07 18:33:26 +02:00
Mathieu Schroeter
4b2cf9417d Reformat with clang-format file 2017-08-04 00:21:47 +02:00
Mathieu Schroeter
57b6190a53 Add license header in all source files 2017-08-03 22:51:40 +02:00
Mathieu Schroeter
694c05717e Replace a lot of c string by c++ string 2017-03-04 17:19:36 +01:00
Mathieu Schroeter
b309f4d37f Remove useless logical window size changes 2017-02-26 19:11:46 +01:00
Mathieu Schroeter
83b459f84f Rename cpp sources to cxx 2017-02-24 18:50:03 +01:00