Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-05-05 | Move item placement into item handlers (#5184) | Tiger Wang | 1 | -141/+96 | |
* Move item placement into item handlers + Add appropriate CanBeAt checks in cPlayer::PlaceBlocks, into which all placement handlers call. * Partly addresses #5157 * Fixes #4878 * Fixes #2919 * Fixes #4629 * Fixes #4239 * Fixes #4849 Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> * Review fixes * Update APIDesc.lua * Rename Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> | |||||
2020-10-08 | Merged OnBreak with OnPlayerBreak (#4967) | 12xx12 | 1 | -2/+3 | |
Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-10-05 | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 1 | -1/+1 | |
* Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-09-20 | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 1 | -21/+16 | |
* 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> | |||||
2020-09-13 | Rail: avoid invalid game states (#4864) | Tiger Wang | 1 | -12/+10 | |
+ Check CanBeAt Ref: #4859 Co-authored-by: Alexander Harkness <me@bearbin.net> | |||||
2020-04-21 | Vector3 in Handlers (#4680) | Mattes D | 1 | -22/+28 | |
Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | |||||
2020-04-16 | Using Super. | Mattes D | 1 | -4/+4 | |
2019-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 1 | -38/+57 | |
2017-11-21 | cBlockRail: Fix assertion failure (#4075) | peterbell10 | 1 | -3/+3 | |
2017-11-20 | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 1 | -49/+50 | |
2017-09-21 | Only allow rails to be placed where valid. | peterbell10 | 1 | -1/+8 | |
Fixes #3507. | |||||
2017-08-06 | Removed unneeded includes (#3902) | Lukas Pioch | 1 | -2/+0 | |
2017-08-01 | cBlockHandler: take player by ref | peterbell10 | 1 | -1/+1 | |
2017-07-18 | Made cBlockHandler OnPlacedByPlayer call OnPlaced, made BlockRailHandler use NeighborChanged instead of OnNeighborChanged. | Lane Kolbly | 1 | -16/+16 | |
2016-12-09 | Fix meta mirror (#3470) | Mattes D | 1 | -32/+56 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -15/+15 | |
2015-12-18 | Reorganised the redstone simulator | Tiger Wang | 1 | -3/+4 | |
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved | |||||
2015-07-14 | Improved maps | Tiger Wang | 1 | -13/+7 | |
2015-07-01 | Added neighbor specification in the OnNeighborChanged() block callback. | Mattes D | 1 | -19/+17 | |
Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields. Fixes #2213. | |||||
2015-05-19 | Fixed compile and a few more warnings | tycho | 1 | -1/+6 | |
2015-05-09 | More style checking. | Mattes D | 1 | -8/+8 | |
Spaces around some operators are checked. | |||||
2014-12-05 | BasicStyle: Added missing braces to control statements. | Mattes D | 1 | -16/+72 | |
2014-10-25 | Fixed some block checks | Tiger Wang | 1 | -2/+2 | |
* Fixes #1330 | |||||
2014-07-17 | Basic style fixes. | madmaxoft | 1 | -11/+11 | |
2014-07-17 | Normalized comments. | madmaxoft | 1 | -1/+1 | |
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. | |||||
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 1 | -1/+1 | |
2014-03-30 | Fixed a few Clang warnings in BlockHandlers. | madmaxoft | 1 | -0/+1 | |
2014-03-26 | Fixed Minor typos. | narroo | 1 | -6/+6 | |
2014-03-24 | Added MetaRotate/Mirror Support for a number of classes. | narroo | 1 | -0/+135 | |
2014-03-01 | g_BlockXXX => cBlockInfo::XXX | andrew | 1 | -2/+2 | |
2014-02-04 | Improved Type safety of eBlockFace | Tycho | 1 | -2/+2 | |
May Fix #640 | |||||
2014-02-01 | Changed pointers to references | Tycho | 1 | -18/+18 | |
2014-02-01 | Changed signitures of Several BLockHandler Methods | Tycho | 1 | -3/+3 | |
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | |||||
2014-01-26 | Refactored GetPlacementBlockTypeMeta | Tycho | 1 | -1/+0 | |
2014-01-26 | Refactored cBlockHandler::OnUse and dependents | Tycho | 1 | -71/+71 | |
2014-01-19 | Fixed weird meta with curved rails | Tiger Wang | 1 | -5/+15 | |
2014-01-19 | Added more rail functionality | Tiger Wang | 1 | -4/+4 | |
2013-12-25 | Fixed rails not updating with diagonals | Tiger Wang | 1 | -0/+34 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-10-31 | Adhering to project standards. | Samuel Barney | 1 | -1/+6 | |
2013-10-31 | Added missing conventions for windows. | Samuel Barney | 1 | -1/+1 | |
2013-10-30 | Broken rail blocks now stack. | Samuel Barney | 1 | -0/+3 | |
2013-09-03 | Fixed inconsistent meta naming | Tiger Wang | 1 | -51/+51 | |
2013-08-29 | Implemented xoft's suggestions [SEE DESC] | Tiger Wang | 1 | -82/+51 | |
Rail metas are now in BlockID and exported to LUA Minecart now does a SetMass, instead of m_Mass Minecarts use SubType instead of TypeType | |||||
2013-07-29 | Changed everyting to Unix line endings. | Alexander Harkness | 1 | -421/+421 | |
2013-03-15 | Huge performance boost in blockhandlers, they have direct access to chunk data when blockchecking. | madmaxoft@gmail.com | 1 | -67/+145 | |
Also fixed vines' placement. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1278 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -99/+126 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-26 | Fixed certain blocks crashing clients when mined | luksor111@gmail.com | 1 | -1/+2 | |
Fixed rail duplication glitch Fixed fall damage calculation Glass no longer drops glass git-svn-id: http://mc-server.googlecode.com/svn/trunk@1068 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-25 | Implemented rail placement mechanics. | luksor111@gmail.com | 1 | -0/+315 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1065 0a769ca7-a7f5-676a-18bf-c427514a06d6 |