Mathieu Schroeter
cab930d472
Fix glitch when a perso is deleted and the ground is moved
...
The perso must not be drawn because it doesn't exist anymore.
- It fixes issue #62 .
2018-06-25 00:28:36 +02:00
Mathieu Schroeter
c08b750804
Fix regression where the fire was no longer propagated
...
It's better to keep the map as it without changing this behaviour. It's
just protected with the map editor; then everything is now working
again.
It fixes issue https://github.com/blupi-games/planetblupi/issues/54
2018-03-14 17:57:53 +01:00
Mathieu Schroeter
e7dd0ec7c7
Ensure that it's not possible to put fire on all objects
...
Only burnable objects can have a fire.
Note that it's possible to re-enable the previous feature with the
--restore-bugs argument.
- It fixes issue #54 .
2018-02-18 23:33:30 +01:00
Mathieu Schroeter
546f5a86ba
Add smooth scrolling for the playing and build area
...
It fixes the issue #28 .
2017-10-30 18:14:31 +01:00
Mathieu Schroeter
481f4db4b4
Use a method for fixing the decor shifting
...
It will be used for supporting the smooth scrolling.
2017-10-30 17:37:59 +01:00
Mathieu Schroeter
c4c10cb9b4
Fix draw with large screen
2017-10-30 06:58:09 +01:00
Mathieu Schroeter
93c386a4ce
Cosmetic: rename coin to corner (2)
2017-10-28 20:04:51 +02:00
Mathieu Schroeter
0a17d2d92e
Cosmetic: rename coin to corner
2017-10-28 18:37:06 +02:00
Mathieu Schroeter
a64b03c1da
Remove obsolete mask argument of many draw functions
2017-10-18 07:04:35 +02:00
Mathieu Schroeter
c099ccb9e2
Cosmetic: rename to english
2017-10-04 07:05:55 +02:00
Mathieu Schroeter
8cd1cacb89
Rename windows types to something else
2017-08-21 22:08:25 +02:00
Mathieu Schroeter
2a1128ecef
COsmetic: update clang-format definition
2017-08-14 22:10:26 +02:00
Mathieu Schroeter
b4c5f62dcf
Replace sprintf by snprintf
2017-08-13 17:15:09 +02:00
Mathieu Schroeter
2c15835ddf
Fix bug where the buttons were not shown with the factory
...
The buttons are not shown when a blupi is just on south of the factory.
It's an offset problem that this commit is fixing.
2017-08-11 21:31:27 +02:00
Mathieu Schroeter
70a8bda9e4
Cosmetic: rename more def
2017-08-10 22:29:48 +02:00
Mathieu Schroeter
3e45f1cde2
Fix tooltip with electro building
...
Bug discoverd by https://youtu.be/MyWZj20-Iok?t=7m30s
2017-08-08 23:36:49 +02:00
Mathieu Schroeter
1b4f3822fa
Rename event with something less windows-like
2017-08-07 18:33:26 +02:00
Mathieu Schroeter
6dcf31fae9
Cosmetic: rename some actions from french to english
2017-08-07 18:27:36 +02:00
Mathieu Schroeter
90b9126d26
Enable build of wall and tower only if energy >= half
...
It was a bug because when the energy is lower,
Blupi dies immediatly but the wall is terminated
with the death. It makes no sense because the
wall and the tower needs a lot of energy and
in all cases the death of Blupi.
2017-08-06 21:28:40 +02:00
Mathieu Schroeter
1ee58d06c4
Cosmetic: fix indent with more recent clang-format
2017-08-04 23:34:10 +02:00
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
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
1e27bd8815
Use an enum for the error codes
2017-03-13 19:19:39 +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
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
83b459f84f
Rename cpp sources to cxx
2017-02-24 18:50:03 +01:00