DaPorkchop_
10b60971f5
Make Nether portals spawn the player inside of them ( #4325 )
...
Currently the player is spawned immediately in front of them.
Simply changing `cNetherPortalScanner::OutOffset` to 0.5 wasn't enough, as the player would always be spawned on top of the portal, however checking for non-solid blocks instead of air fixes this.
2019-04-18 14:54:55 +01:00
peterbell10
4727ed2084
Add a formatting function for Vector3 ( #4282 )
...
* Vector3: Add custom fmt compatible formatter.
* cLuaState: Add fmt version of ApiParamError
* Use vector formatting in manual bindings
* Always log vectors with FLOG
2018-09-24 21:33:39 +01: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
Bond-009
b9fdaf8a94
Use clang-tidy to check more code conventions ( #4214 )
...
* Create clang-tidy.sh
* Add clang-tidy to circle.yml
* Fixed some naming violations
Fixes #4164
2018-05-06 18:07:34 +01:00
Lukas Pioch
4691bc5a29
Removed double includes ( #3885 )
2017-08-02 19:57:20 +01:00
Lane Kolbly
9d620a20a0
Work on NetherPortalScanner. Setup portal scanner to reset PortalCooldown. Changed where player is spawned. Added a_InitSpawn flag to CreateAndInitializeWorld.
2015-06-13 16:09:43 -05:00
Mattes D
f0ee0b8ce8
NetherPortalScanner: Fixed type conversion warnings.
2015-06-13 08:46:05 +02:00
Lane Kolbly
73b6a44d5f
Implemented nether portal scanning code.
2015-06-09 18:23:57 -05:00