Mathieu Schroeter
a6c17df306
Fix locale output
2017-02-21 22:35:48 +01:00
Mathieu Schroeter
6e3950ef1f
Cosmetic: fix indent
2017-02-21 22:34:02 +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
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
e75387fd5f
Force the use of UTF-8 with gettext
2017-02-18 19:04:00 +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
679a3b6d0a
Initialize gettext for planetblupi domain
2017-02-14 21:59:33 +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
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
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
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
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
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
Mathieu Schroeter
0e338b45db
Convert to UTF-8
2017-02-12 00:44:46 +01:00
Mathieu Schroeter
716bbbfc5a
Fix locations of movies, sounds, config and pictures
2017-02-11 22:39:25 +01:00
Mathieu Schroeter
36a1822d59
Fix path on unix-like OS
2017-02-11 19:35:50 +01:00
Mathieu Schroeter
f7fa611593
Fix crash when exiting while a movie is playing
2017-02-11 19:23:26 +01:00
Mathieu Schroeter
14385461fa
Fix a lot of warnings
2017-02-11 18:33:40 +01:00
Mathieu Schroeter
90ba4b791c
WIP: convert to CMake
2017-02-10 23:03:33 +01:00