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
Mathieu Schroeter
96851b8d47
Hide the cursor when a movie is playing
2017-02-12 19:07:41 +01:00
Mathieu Schroeter
003ca2621b
Cosmetic
2017-02-12 19:05:05 +01:00
Mathieu Schroeter
d00d27a768
Remove vsync
2017-02-12 19:04:57 +01:00
Mathieu Schroeter
d3cb222b98
Skip rendering when the movie is started
2017-02-12 19:04:46 +01:00
Mathieu Schroeter
a832b24869
Use a resizable window
2017-02-12 18:42:45 +01:00
Mathieu Schroeter
52770afe74
Fix fullscreen mode
...
Use the real retio (no stretching).
2017-02-12 18:37:08 +01:00
Mathieu Schroeter
a4b72aee38
Fix fullscreen scrolling
2017-02-12 18:20:12 +01:00
Mathieu Schroeter
3105fd0f00
Cosmetics
2017-02-12 18:06:46 +01:00
Mathieu Schroeter
abc37fd901
Fix more uninitialized variables
2017-02-12 18:06:36 +01:00
Mathieu Schroeter
d3d77efa14
Fix more uninitialized variable (valgrind)
2017-02-12 17:52:29 +01:00
Mathieu Schroeter
7a7bf16ac9
Fix bad use of snprintf
2017-02-12 17:46:18 +01:00
Mathieu Schroeter
f8ce7844cb
Cosmetic
2017-02-12 17:45:09 +01:00
Mathieu Schroeter
a14440e1f6
Fix use of uninitialized variables (thanks valgrind)
2017-02-12 17:44:25 +01:00
Mathieu Schroeter
ebec94b32b
Cosmetics: fix style, remove deadcode, const
2017-02-12 14:36:34 +01:00
Mathieu Schroeter
01c8b5a042
Cosmetic: change coding style with
...
astyle src/*.{cpp,h} -s4 -Y -m0 -p -xg -xd -H -k3 -W3 -y -xb -xj -O -c -xy -xC80 -U
2017-02-12 13:14:22 +01:00
Mathieu Schroeter
564bfb97f3
Fix demo loading
2017-02-12 00:58:35 +01:00
Mathieu Schroeter
59698849e1
Use type with explicit length especially for long
...
The long type on win64 is 32 bits, and 64 bits on linux 64.
2017-02-12 00:51:38 +01:00