summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/MobSpawnerEntity.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-09-24Add a formatting function for Vector3 (#4282)peterbell101-1/+1
* Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG
2018-07-24Broadcast refactor (#4264)peterbell101-4/+2
* Move Broadcast functions from cChunkMap to cBroadcaster - Remove cBroadcastInterface in favour of cBroadcaster. - cChunk: Remove broadcast functions. * resurect broadcast interface * Absorb cBroadcaster into cWorld. Removes the need for forwarding the function calls. * Improve const-correctness * Use Int8 instead of char + Comment `ForClients` functions * Improve comments * Broadcaster: Rename ForClients functions
2018-05-02Prefer static_cast to reinterpret_cast (#4223)peterbell101-1/+1
* 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.
2017-10-02Fixed 2 small warnings (#4055)Bond-0091-1/+1
2017-09-25BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038)Bond-0091-1/+1
2017-09-19Removed UTF-8 BOM (#4033)Lukas Pioch1-1/+1
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell101-28/+13
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot1-13/+28
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell101-28/+13
2017-08-07Changed entity ownership model to use smart pointersTiger Wang1-2/+2
2017-06-16BlockEntities: Support cloning self.Mattes D1-5/+19
2017-06-13FastRandom rewrite (#3754)peterbell101-6/+6
2016-11-18Removed ClientHandle.h dependencies from common headers.Mattes D1-0/+1
2015-12-13allow use failures to propagate from the entity/block to the playerGargaj1-2/+4
2015-11-24Add enum for Sound and Particle EffectsDave Tucker1-1/+1
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2015-05-28Fix commentstycho1-1/+2
2015-05-24Made -Weverything an error.tycho1-4/+9
2015-05-19Make -Werror disabling file onlytycho1-2/+2
Ad fix a load of warnings
2015-03-21Changed cEntity::m_UniqueID to UInt32.Mattes D1-1/+1
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-1/+1
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2014-12-17NULL -> nullptrTiger Wang1-2/+2
2014-12-01MobSpawner fixes.Howaner1-2/+2
2014-11-29Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes.Howaner1-46/+1
2014-11-18Finished mob spawner implementation.Howaner1-29/+4
2014-09-27Fixed compile errors.Howaner1-38/+38
2014-09-19Implemented mob spawner.Howaner1-21/+289
2014-09-17Created MobSpawnerEntity class.Howaner1-0/+92