Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 1 | -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 Kolbly | 2017-09-19 | 1 | -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 D | 2017-06-16 | 1 | -2/+14 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | Fixes problems with windows: | Lukas Pioch | 2017-06-05 | 1 | -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) | mathiascode | 2017-02-15 | 1 | -2/+2 |
| | |||||
* | - Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update. | QUSpilPrgm | 2016-06-15 | 1 | -3/+3 |
| | | | | - Fixes a range check inside cIncrementalRedstoneSimulator::Simulate | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -6/+6 |
| | |||||
* | Reorganised the redstone simulator | Tiger Wang | 2015-12-18 | 1 | -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 player | Gargaj | 2015-12-13 | 1 | -1/+2 |
| | |||||
* | Add enum for Sound and Particle Effects | Dave Tucker | 2015-11-24 | 1 | -7/+8 |
| | | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | ||||
* | Fixed DropSpenser sound #2333 | mmdk95 | 2015-07-12 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' into Inventory | Howaner | 2015-01-25 | 1 | -1/+1 |
|\ | |||||
| * | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -1/+1 |
| | | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | | Own classes for all windows. | Howaner | 2014-12-13 | 1 | -0/+1 |
|/ | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -9/+13 |
| | |||||
* | Merged branch 'master' of git://github.com/sriehl/MCServer | Mattes D | 2014-10-21 | 1 | -10/+6 |
|\ | |||||
| * | convert old style casts to fix warnings | Steven Riehl | 2014-10-12 | 1 | -11/+7 |
|/ | |||||
* | Removed WSSCompact | Tiger Wang | 2014-09-30 | 1 | -48/+0 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into chestcarts | Tiger Wang | 2014-09-27 | 1 | -1/+0 |
|\ | | | | | | | | | Conflicts: src/Entities/Minecart.cpp | ||||
| * | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -1/+0 |
| | | |||||
* | | Implemented Chest Minecarts | Tiger Wang | 2014-09-13 | 1 | -1/+0 |
|/ | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -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 bug | Tiger Wang | 2014-07-15 | 1 | -1/+1 |
| | |||||
* | BlockEntities is warnings free | Tycho | 2014-02-24 | 1 | -0/+1 |
| | |||||
* | Removed some unneeded BroadcastWholeWindow()s | Tiger Wang | 2014-02-12 | 1 | -7/+0 |
| | |||||
* | Moved json includes to where they are really needed. | madmaxoft | 2013-11-28 | 1 | -0/+1 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+266 |