Mathieu Schroeter
89b1070dbe
Fix build on windows
2017-03-21 18:34:26 +01:00
Mathieu Schroeter
6c6163f5d9
Update PO files
2017-03-13 19:21:33 +01:00
Mathieu Schroeter
1e27bd8815
Use an enum for the error codes
2017-03-13 19:19:39 +01:00
Mathieu Schroeter
694c05717e
Replace a lot of c string by c++ string
2017-03-04 17:19:36 +01:00
Mathieu Schroeter
6608fa2fdb
Fix initial value for the fullscreen
2017-03-03 23:11:14 +01:00
Mathieu Schroeter
ed131da115
Use putenv instead of setenv
2017-03-03 23:03:58 +01:00
Mathieu Schroeter
b4ae782506
Remove dead code
2017-03-03 22:45:23 +01:00
Mathieu Schroeter
8de7181458
Remove useless mouse type code
2017-03-03 22:44:09 +01:00
Mathieu Schroeter
a77b8bfcba
Handle properly the fullscreen mode
...
The textures must be reloaded like with the new
window size.
2017-03-03 21:51:52 +01:00
Mathieu Schroeter
5ca80681a9
Set the logical size only at the init
2017-03-03 21:51:14 +01:00
Mathieu Schroeter
b0a3e7875d
Disable double scrilling when recording a demo
...
With the recorder, it's not possible to use these movements because only
the first key is recorded.
2017-03-03 18:14:45 +01:00
Mathieu Schroeter
6f028085ac
Replace if.. by switch
2017-03-03 18:11:21 +01:00
Mathieu Schroeter
fc37ddd017
Reload the textures (target) when the window size changes
2017-03-03 17:43:01 +01:00
Mathieu Schroeter
63285d466e
Exit the settings screen with escape or return
2017-03-03 17:42:29 +01:00
Mathieu Schroeter
10a81cc144
Cosmetic
2017-03-03 17:36:50 +01:00
Mathieu Schroeter
7d0f72f961
Better fix for the bug where blupi is not at the right z-index
...
It looks much better because in this case, the right object is in front
of Blupi (at least, it seems).
2017-03-03 17:35:27 +01:00
Mathieu Schroeter
56794b45dd
Set explicitly to false
2017-03-03 07:35:40 +01:00
Mathieu Schroeter
ec06fcc410
Set the texture props each Cache calls
2017-03-03 07:34:58 +01:00
Mathieu Schroeter
c1875fd3ab
Remove useless MAXIMAGE define
2017-03-03 07:05:18 +01:00
Mathieu Schroeter
d652db22e2
Use the TextureInfo struct for dimensions
2017-03-03 06:56:32 +01:00
Mathieu Schroeter
ad2ff485a2
Remove no longer needed dependencies
2017-03-03 06:55:43 +01:00
Mathieu Schroeter
3b027424a1
Replace the static texture array by a map
2017-03-02 22:37:17 +01:00
Mathieu Schroeter
90bfd940dd
Fix regression with demos
2017-03-02 19:43:33 +01:00
Mathieu Schroeter
b49e9d3d14
Fix build on windows
2017-03-02 19:04:51 +01:00
Mathieu Schroeter
2a4b13e8cc
Fix case where the build type is not defined
2017-03-02 18:55:41 +01:00
Mathieu Schroeter
5b789cfb2d
Handle decor shifting with multiple key press
...
Then it's possible to shift with the keyboard like the
mouse (NE, NW, SE, SW).
2017-03-01 23:05:09 +01:00
Mathieu Schroeter
874164e615
Try to keep more Blupi in some cases
...
It's possible to lost a Blupi (render) when some Blupi are staying
around an object like tomatoes. With this workaround, the render order
is not perfect but at least the Blupi is visible.
2017-03-01 22:23:15 +01:00
Mathieu Schroeter
ace9791ab0
Fix the mouse movements with scaling != of 1x
2017-03-01 18:10:20 +01:00
Mathieu Schroeter
ae6d01a519
Add getter for the window scale factor
2017-03-01 18:08:45 +01:00
Mathieu Schroeter
738c6b5047
Fix edition of base worlds
2017-03-01 07:07:38 +01:00
Mathieu Schroeter
4cdfe5ae56
Update po files
2017-02-28 22:41:41 +01:00
Mathieu Schroeter
9317da91e8
Fix version in the interface
2017-02-28 22:39:26 +01:00
Mathieu Schroeter
9f1107a32e
Update po files
2017-02-28 22:20:29 +01:00
Mathieu Schroeter
c630b94873
Fix depend for gettext processing
2017-02-28 22:19:38 +01:00
Mathieu Schroeter
8d19d8ce79
Fix warning
2017-02-28 21:54:42 +01:00
Mathieu Schroeter
016581ff18
Remove useless bool
2017-02-28 21:54:29 +01:00
Mathieu Schroeter
2347b6a86c
Reload the sound when changing of language
2017-02-28 21:49:36 +01:00
Mathieu Schroeter
6a4ec16935
Add a function to flush all sounds
2017-02-28 21:49:15 +01:00
Mathieu Schroeter
5ff9482422
Remove dead code
2017-02-28 20:58:09 +01:00
Mathieu Schroeter
34d0dd7f02
Add comments
2017-02-28 19:51:31 +01:00
Mathieu Schroeter
25ce46a186
Add a new global setting panel
...
It's not complete and the images are temporary.
This screen is useful in order to change the language,
the screen mode and the window size.
2017-02-28 19:44:56 +01:00
Mathieu Schroeter
4b55f8f92f
Add a user data to user event (optional)
2017-02-28 19:35:45 +01:00
Mathieu Schroeter
e372c4cc6d
Restore en_US in po file
2017-02-27 21:32:53 +01:00
Mathieu Schroeter
12e39d75e4
Generate AppImage only with release builds
2017-02-27 21:32:33 +01:00
Mathieu Schroeter
29fe4d83c6
Reduce intro image time
2017-02-26 22:21:33 +01:00
Mathieu Schroeter
84a73da2b2
Fix icon with AppImage
2017-02-26 22:21:19 +01:00
Mathieu Schroeter
2b634894d0
Fix text to quit the game
2017-02-26 22:01:38 +01:00
Mathieu Schroeter
c910c79f5f
Pause the game when the focus is lost
2017-02-26 21:39:30 +01:00
Mathieu Schroeter
2ba834578d
Fix window name
2017-02-26 20:47:07 +01:00
Mathieu Schroeter
b309f4d37f
Remove useless logical window size changes
2017-02-26 19:11:46 +01:00