Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 2020-09-20 | 1 | -23/+14 |
| | | | | | | | | | | | | | * BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | Remove the redstone solid block handler | Tiger Wang | 2020-08-08 | 1 | -2/+1 |
| | | | | | | | - Remove cSolidBlockHandler * Functionality now integrated into simulator dispatcher * Fix door double open/close issues, arisen due to the top/bottom halves getting different power + Small migration to block states for redstone wire | ||||
* | Toggleables: update simulators when changed | Tiger Wang | 2020-07-26 | 1 | -1/+2 |
| | |||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -31/+40 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -4/+4 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -5/+50 |
| | |||||
* | Deal with covered switches consistently (#4161) | peterbell10 | 2018-02-05 | 1 | -4/+1 |
| | | | | | | | * Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message() | ||||
* | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 2017-11-20 | 1 | -4/+5 |
| | |||||
* | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 2017-09-19 | 1 | -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 | ||||
* | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 2017-08-17 | 1 | -1/+1 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -2/+2 |
| | |||||
* | Updated sounds and effect IDs (#3422) | mathiascode | 2017-02-15 | 1 | -1/+1 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -4/+4 |
| | |||||
* | Reorganised the redstone simulator | Tiger Wang | 2015-12-18 | 1 | -0/+6 |
| | | | | | | -> 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 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -1/+1 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -8/+6 |
| | |||||
* | Fixed warnings in MSVC. | Mattes D | 2015-06-02 | 1 | -0/+4 |
| | | | | It complained about undefined return values or using uninitialized variables. | ||||
* | Fixed compile and a few more warnings | tycho | 2015-05-19 | 1 | -7/+7 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -1/+1 |
| | | | | Spaces around some operators are checked. | ||||
* | Added mechanics placeable on halfslabs | Julian Laubstein | 2014-10-19 | 1 | -7/+29 |
| | |||||
* | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 2014-09-09 | 1 | -6/+0 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 2014-07-13 | 1 | -1/+1 |
| | |||||
* | Redstone simulator is alerted to lever unpowering | Tiger Wang | 2014-07-02 | 1 | -0/+1 |
| | | | | | * Fixed the "fix" that broke the fix for #535, thereby fixing said issue * Fixed #535 | ||||
* | Minor change to buttons and levers | Tiger Wang | 2014-06-28 | 1 | -2/+2 |
| | | | | | + They now detect if the block they are on occupies its voxel, instead of just being solid | ||||
* | Fixed sign and lever rotations. | madmaxoft | 2014-06-23 | 1 | -5/+6 |
| | |||||
* | Added MetaRotate/Mirror Support for a number of classes. | narroo | 2014-03-24 | 1 | -3/+34 |
| | |||||
* | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -1/+1 |
| | |||||
* | Fixed compile and some warnings in MSVS | Tiger Wang | 2014-02-09 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into playerimprovements | Tiger Wang | 2014-02-09 | 1 | -4/+4 |
|\ | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua | ||||
| * | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -4/+4 |
| | | | | | | | | May Fix #640 | ||||
* | | Fixed a bunch of MSVS warnings | Tiger Wang | 2014-02-05 | 1 | -1/+1 |
|/ | | | | | * Possibly also fixed some bugs with pathfinding and TNT, though unlikely | ||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -6/+6 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -6/+6 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Fixed #535 | Tiger Wang | 2014-01-16 | 1 | -1/+1 |
| | |||||
* | Removed unneeded CPP files | Tiger Wang | 2013-11-29 | 1 | -2/+12 |
| | | | | Also removed unneeded #include in BlockStems | ||||
* | Merged master into redstonefixes | Tiger Wang | 2013-11-27 | 1 | -7/+40 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -2/+17 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+53 |