Mattes D
365cbc6e1c
Refactored more of Entities and BlockEntities to use Vector3. ( #4403 )
2019-09-29 14:59:24 +02:00
peterbell10
950aeffff8
CheckBasicStyle: Check number of empty lines between functions ( #4267 )
...
Add check for number of empty lines between functions and fix the corresponding failures
2018-07-26 22:24:36 +01:00
peterbell10
a4dbb5c582
Prefer static_cast to reinterpret_cast ( #4223 )
...
* Change reinterpret_cast -> static_cast wherever possible
* Remove more unnecessary `const_cast`s.
reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
2018-05-02 08:50:36 +01:00
Lukas Pioch
4691bc5a29
Removed double includes ( #3885 )
2017-08-02 19:57:20 +01:00
Mattes D
0dd1cd750b
BlockEntities: Support cloning self.
2017-06-16 14:11:28 +02:00
Lukas Pioch
7922e6addb
Fixes problems with windows:
...
- Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check
- Close open lua window in destructor, to avoid dangling pointers
2017-06-05 15:14:23 +02:00
peterbell10
ad4172d21c
Minor cBrewingRecipes cleanup ( #3731 )
2017-05-28 20:08:23 +02:00
Lukas Pioch
41bfb22834
Corrected brewingstand and added support for fuel
2017-05-08 06:30:54 +02:00
Lukas Pioch
d620dcdd08
Moved variables into scope, removed unused variables and fixed variables
2015-12-17 10:48:36 +01:00
Gargaj
f9008a4860
allow use failures to propagate from the entity/block to the player
2015-12-13 13:27:38 +01:00
worktycho
171867009e
Fix memory leak
...
Fixes CID 132249
2015-11-08 22:34:52 +00:00
Lukas Pioch
9749c3aac9
Implemented brewing
2015-11-03 18:00:55 +01:00