summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/DropSpenserEntity.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prefer static_cast to reinterpret_cast (#4223)peterbell102018-05-021-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.
* Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly2017-09-191-2/+2
| | | | | | | | | | | | | | | | | | * 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
* BlockEntities: Support cloning self.Mattes D2017-06-161-2/+14
|
* FastRandom rewrite (#3754)peterbell102017-06-131-1/+1
|
* Fixes problems with windows:Lukas Pioch2017-06-051-1/+1
| | | | | - Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers
* Updated sounds and effect IDs (#3422)mathiascode2017-02-151-2/+2
|
* - Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update.QUSpilPrgm2016-06-151-3/+3
| | | | - Fixes a range check inside cIncrementalRedstoneSimulator::Simulate
* Bulk clearing of whitespaceLogicParrot2016-02-051-6/+6
|
* Reorganised the redstone simulatorTiger Wang2015-12-181-15/+1
| | | | | | -> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-1/+2
|
* Add enum for Sound and Particle EffectsDave Tucker2015-11-241-7/+8
| | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
* Fixed DropSpenser sound #2333mmdk952015-07-121-2/+2
|
* Merge branch 'master' into InventoryHowaner2015-01-251-1/+1
|\
| * Initial convertion of a_Dt to std::chronoTycho2015-01-111-1/+1
| | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* | Own classes for all windows.Howaner2014-12-131-0/+1
|/
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-9/+13
|
* Merged branch 'master' of git://github.com/sriehl/MCServerMattes D2014-10-211-10/+6
|\
| * convert old style casts to fix warningsSteven Riehl2014-10-121-11/+7
|/
* Removed WSSCompactTiger Wang2014-09-301-48/+0
|
* Merge remote-tracking branch 'origin/master' into chestcartsTiger Wang2014-09-271-1/+0
|\ | | | | | | | | Conflicts: src/Entities/Minecart.cpp
| * Removed more unessicary includesTycho2014-09-261-1/+0
| |
* | Implemented Chest MinecartsTiger Wang2014-09-131-1/+0
|/
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* Normalized comments.madmaxoft2014-07-171-4/+4
| | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* Fixed a DropSpenser AddFace bugTiger Wang2014-07-151-1/+1
|
* BlockEntities is warnings freeTycho2014-02-241-0/+1
|
* Removed some unneeded BroadcastWholeWindow()sTiger Wang2014-02-121-7/+0
|
* Moved json includes to where they are really needed.madmaxoft2013-11-281-0/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+266