Mathieu Schroeter
4f856916a0
Cosmetic: fix indent
2017-08-04 21:52:35 +02:00
Mathieu Schroeter
e1e8d7d844
Remove dead code
2017-08-04 21:51:48 +02:00
Mathieu Schroeter
a14adc4fe5
Fix build with clang
2017-08-04 21:45:17 +02:00
Mathieu Schroeter
0b9dda2a92
Fix warnings with clang
2017-08-04 21:45:04 +02:00
Mathieu Schroeter
2d7a6f28d1
Cosmetic: translate comments
2017-08-04 21:04:04 +02:00
Mathieu Schroeter
8ac93b8e40
Remove useless directx argument
2017-08-04 20:53:25 +02:00
Mathieu Schroeter
1772691a0b
Cosmetic: fix typo
2017-08-04 20:52:56 +02:00
Mathieu Schroeter
4b2cf9417d
Reformat with clang-format file
2017-08-04 00:21:47 +02:00
Mathieu Schroeter
57b6190a53
Add license header in all source files
2017-08-03 22:51:40 +02:00
Mathieu Schroeter
1fb73742a9
Fix windows state after fullscreen
2017-08-03 15:15:33 +02:00
Mathieu Schroeter
5fc903683e
Disable window icon (prefer winrc and linux desktop)
2017-08-02 20:35:20 +02:00
Mathieu Schroeter
c4d21aec31
Add all icons with the AppImage
2017-08-01 19:38:34 +02:00
Mathieu Schroeter
4caa6922b3
Reload only sounds that are not the same
...
It seems that it fixes a random crash on darwin in the SDL audio
internals.
2017-07-30 23:14:56 +02:00
Mathieu Schroeter
d67010c87a
Ensure that all channels are halted before free
2017-07-30 22:38:51 +02:00
Mathieu Schroeter
9b72cc0810
Merge remote-tracking branch 'origin/master' into wip/darwin
2017-07-30 21:31:45 +02:00
Mathieu Schroeter
9013032ce5
Fix icons for SDL and Windows
2017-07-30 19:29:53 +02:00
Mathieu Schroeter
512bf0d6f6
Add missing include for std::string
2017-07-30 00:17:35 +02:00
Mathieu Schroeter
6788ff99bd
Change the website to www.blupi.org
2017-07-28 18:49:15 +02:00
Mathieu Schroeter
1441a12d03
Change the window title when we change of language
2017-07-28 18:46:03 +02:00
Mathieu Schroeter
b946926b16
Add a image especially for the main setup screen (new screen)
2017-07-28 09:41:12 +02:00
Mathieu Schroeter
643f5eead2
Fix mask when building an object
...
It uses a white and black mask. See BuildIconMask for details.
2017-07-22 18:08:50 +02:00
Mathieu Schroeter
ac128c7e46
Cosmetic: rename fr filenames to en
2017-07-09 13:35:48 +02:00
Mathieu Schroeter
89b1070dbe
Fix build on windows
2017-03-21 18:34:26 +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
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
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
9317da91e8
Fix version in the interface
2017-02-28 22:39:26 +01:00