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

82 Commits

Author SHA1 Message Date
Mathieu Schroeter
36eba728a5 Add provisory log for the renders 2017-02-22 22:56:26 +01:00
Mathieu Schroeter
a6c17df306 Fix locale output 2017-02-21 22:35:48 +01:00
Mathieu Schroeter
b77327aec0 Add a GetShareDir helper 2017-02-21 22:34:55 +01:00
Mathieu Schroeter
6e3950ef1f Cosmetic: fix indent 2017-02-21 22:34:02 +01:00
Mathieu Schroeter
7d4a4f7b4f Cosmetic: translate a comment 2017-02-20 18:45:31 +01:00
Mathieu Schroeter
cf898541fd Simplify 2017-02-20 18:43:26 +01:00
Mathieu Schroeter
32a485535d Cosmetic: improve comments 2017-02-20 18:42:47 +01:00
Mathieu Schroeter
db13ba1388 Simplify 2017-02-20 18:29:55 +01:00
Mathieu Schroeter
f6334f8701 Cosmetic: fix style 2017-02-20 18:29:36 +01:00
Mathieu Schroeter
f07c5c9543 Cosmetic: remove useless comments 2017-02-20 18:29:20 +01:00
Mathieu Schroeter
acb0ba6516 Cosmetic: align 2017-02-20 18:25:33 +01:00
Mathieu Schroeter
7599660eff Use constant and auto length array 2017-02-20 18:25:22 +01:00
Mathieu Schroeter
c14f1913db Remove obsolete resource header file
It was useful only for the win32 resources. With gettext it makes no
sense.
2017-02-20 18:18:11 +01:00
Mathieu Schroeter
2ff130b8a9 Cosmetic: remove noise (mostly comments) 2017-02-20 18:14:37 +01:00
Mathieu Schroeter
0c4085e862 Cosmetic: rename the main event function 2017-02-20 18:07:55 +01:00
Mathieu Schroeter
ce80abf359 Cosmetic: update some comments 2017-02-20 18:06:34 +01:00
Mathieu Schroeter
c8ca6b918f Use the Microsoft implementation of rand
It's very important, otherwise the behaviour is changed between the
platforms and the demos are not running correctly.
2017-02-19 11:14:00 +01:00
Mathieu Schroeter
0913898809 Remose useless test on signed char 2017-02-18 19:35:19 +01:00
Mathieu Schroeter
45102da4dd Fix warnings for format in printf 2017-02-18 19:35:01 +01:00
Mathieu Schroeter
1437249b16 Initialize variables 2017-02-18 19:18:59 +01:00
Mathieu Schroeter
e75387fd5f Force the use of UTF-8 with gettext 2017-02-18 19:04:00 +01:00
Mathieu Schroeter
cb0baf10cf Restore tooltips with in-game buttons 2017-02-18 18:25:30 +01:00
Mathieu Schroeter
5a14d55aa8 Fix resources for all languages and add en_US variant
Note that the english stories texts have been found on a pirated
version of Planet Blupi. The original files are lost. For the german
version, I'm still searching.
2017-02-18 18:04:33 +01:00
Mathieu Schroeter
fbde31bb86 Fix translations 2017-02-18 12:18:19 +01:00
Mathieu Schroeter
5a17637e9f Add all translations 2017-02-17 18:33:55 +01:00
Mathieu Schroeter
311e7dabad Add missing string to translate 2017-02-17 18:11:50 +01:00
Mathieu Schroeter
57aad9888c Remove useless context stuff with gettext 2017-02-15 22:13:58 +01:00
Mathieu Schroeter
8bee1511bb Cosmetics 2017-02-15 22:03:57 +01:00
Mathieu Schroeter
4ba48134ba Fix missing call on gettext 2017-02-15 22:03:57 +01:00
Mathieu Schroeter
fdd30b8079 Add missing text to gettext 2017-02-15 22:03:57 +01:00
Mathieu Schroeter
b78bebcf00 Add primitif UTF-8 support 2017-02-15 18:33:49 +01:00
Mathieu Schroeter
778527f73b Cosmetic: remove useless stuff 2017-02-15 17:42:02 +01:00
Mathieu Schroeter
d2e4c3542a Rename to avoid confusing 2017-02-15 17:39:03 +01:00
Mathieu Schroeter
974f535809 Merge branch 'master' into wip/gettext 2017-02-15 17:35:24 +01:00
Mathieu Schroeter
97850c8def Use countof with textures too 2017-02-15 17:34:48 +01:00
Mathieu Schroeter
abadbda3d8 Fix freeing of cursors list
It uses only 14 elements, not 100 like MAXIMAGE.
2017-02-15 17:34:03 +01:00
Mathieu Schroeter
cc106b4d1c Fix potential leak with file handle 2017-02-15 17:33:22 +01:00
Mathieu Schroeter
148b11bd33 Add countof macro for arrays 2017-02-15 17:33:03 +01:00
Mathieu Schroeter
679a3b6d0a Initialize gettext for planetblupi domain 2017-02-14 21:59:33 +01:00
Mathieu Schroeter
1c4916ea7e Fix original text 2017-02-14 19:09:00 +01:00
Mathieu Schroeter
eb093b103c Use real fullscreen mode
The logical size is not adapted for a game like planetblupi.
We should create the textures for higher definitions and a
dynamic view for the game map.
2017-02-14 18:03:50 +01:00
Mathieu Schroeter
9ae4056b92 Remove live resizing
It's not working very fine with directx.
2017-02-14 17:28:23 +01:00
Mathieu Schroeter
9bf4441cd8 Remove files that should not be in the repository 2017-02-14 17:27:43 +01:00
Mathieu Schroeter
95a1245e1d Cosmetic: fix comment chars 2017-02-13 23:04:38 +01:00
Mathieu Schroeter
918b16efff Clear the screen before each new render 2017-02-13 22:17:11 +01:00
Mathieu Schroeter
49289cac8c Redraw everything with each iteration
It prevents glitches with some drivers like Intel. The performances are
not a problem.
2017-02-13 22:07:09 +01:00
Mathieu Schroeter
387955f580 Use autodetect for renderer + option 2017-02-13 00:09:37 +01:00
Mathieu Schroeter
430b6db175 Fix filename of most of image files 2017-02-12 23:19:37 +01:00
Mathieu Schroeter
de9987a5e9 Transform all images to PNG 2017-02-12 22:06:08 +01:00
Mathieu Schroeter
53b1fa3dea Try with the software renderer if accelerated fails 2017-02-12 19:15:59 +01:00