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

165 Commits

Author SHA1 Message Date
Mathieu Schroeter
a095bdb7e9 Cosmetics 2017-02-14 23:47:24 +01:00
Mathieu Schroeter
524b386535 Put mo files to the appropriate directory 2017-02-14 23:47:12 +01:00
Mathieu Schroeter
d28342b615 Cosmetic 2017-02-14 23:11:27 +01:00
Mathieu Schroeter
e9d2782b9c Cosmetics 2017-02-14 23:10:12 +01:00
Mathieu Schroeter
079b18c0fd Fix dependency 2017-02-14 23:07:44 +01:00
Mathieu Schroeter
679a3b6d0a Initialize gettext for planetblupi domain 2017-02-14 21:59:33 +01:00
Mathieu Schroeter
69b5959282 Add fr translations 2017-02-14 19:09:15 +01:00
Mathieu Schroeter
1c4916ea7e Fix original text 2017-02-14 19:09:00 +01:00
Mathieu Schroeter
e2341032ac Add stuff to sync po files 2017-02-14 19:08:48 +01:00
Mathieu Schroeter
d44f4bba4a Merge branch 'master' into wip/gettext 2017-02-14 18:18:03 +01:00
Mathieu Schroeter
b40c7b6ec4 Fix link on all platforms 2017-02-14 18:17:45 +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
c4c8de7465 Add SDL2_image dependency 2017-02-14 17:27:19 +01:00
Mathieu Schroeter
968af40f35 WIP: begin work for gettext support 2017-02-13 23:05:49 +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
99043ee068 Remove dead config 2017-02-13 22:08:25 +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
Mathieu Schroeter
0e338b45db Convert to UTF-8 2017-02-12 00:44:46 +01:00
Mathieu Schroeter
0af18aa9eb Fix access to 'enigmes' file 2017-02-12 00:31:00 +01:00
Mathieu Schroeter
7bd8874cf3 Fix memory overflow 2017-02-11 23:19:47 +01:00
Mathieu Schroeter
fbc84c2aad Fix location for the worlds 2017-02-11 22:53:03 +01:00
Mathieu Schroeter
c11c7a7300 Do not use GetWindowSurface when the renderer is accelerated 2017-02-11 22:42:02 +01:00
Mathieu Schroeter
90c25f5d15 Move resources which must not be copied (for now)
The locales are not handled properly...
2017-02-11 22:40:58 +01:00
Mathieu Schroeter
716bbbfc5a Fix locations of movies, sounds, config and pictures 2017-02-11 22:39:25 +01:00
Mathieu Schroeter
7d9c1b524b Remove obsolete MSVS stuff 2017-02-11 21:44:43 +01:00
Mathieu Schroeter
01156f514a Fix build on linux 2017-02-11 21:43:47 +01:00