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

255 Commits

Author SHA1 Message Date
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
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
29fe4d83c6 Reduce intro image time 2017-02-26 22:21:33 +01:00
Mathieu Schroeter
2b634894d0 Fix text to quit the game 2017-02-26 22:01:38 +01:00