summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockFence.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-01Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D1-1/+1
2020-04-21Vector3 in Handlers (#4680)Mattes D1-8/+40
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-5/+13
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-1/+1
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-2/+2
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
2017-09-19Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly1-1/+1
* Made BroadcastSoundEffect take vector parameters. * Added docs for new vectored methods * Removed old code * Fixed lua warnings * Made old BroadcastSoundEffect not an override. * m_Block to m_BlockPos, used Vector3d constructor where prettier. * a_Block to a_BlockPos * Changed thunderbolt a_Block to a_BlockPos
2017-08-21Fixed build for older clang versions (#3935)Bond-0091-1/+1
2017-08-21Fully implemented leashes (#3798)Pablo Beltrán1-1/+61
2017-08-03Remove double includes part 2 (#3890)peterbell101-1/+0
2017-07-28Check for intersection between placed blocks and entities. (#3850)Lane Kolbly1-0/+80
* Check for intersection between placed blocks and entities. + Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks. * Factored block-entity placement checking into another function in cPlayer. - Removed vector min/max functions * Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity. + Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement.