Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
48 hours | Clean up CanBeAt Functions (#5587) | Alexander Harkness | 1 | -1/+1 | |
* Use cChunkDef::IsValidHeight for CanBeAt functions, and related helpers. * Add mixins for SolidSurfaceUnderneat and DirtLikeUnderneath * Minor fixes after change review. | |||||
2021-05-05 | Move item placement into item handlers (#5184) | Tiger Wang | 1 | -182/+0 | |
* 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-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-25 | Unify block entity pickup conversion | Tiger Wang | 1 | -3/+2 | |
- Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it | |||||
2020-09-20 | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 1 | -41/+32 | |
* 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-04-21 | Vector3 in Handlers (#4680) | Mattes D | 1 | -13/+14 | |
Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | |||||
2020-04-16 | Using Super. | Mattes D | 1 | -3/+3 | |
2020-04-11 | Fix rotation metas on blocks | Alexander Harkness | 1 | -2/+2 | |
2020-04-10 | Add mixins for blocks that rotate based on player yaw at placement | Alexander Harkness | 1 | -10/+14 | |
Also add observer block handler. | |||||
2019-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 1 | -9/+31 | |
2017-08-01 | cBlockHandler: take player by ref | peterbell10 | 1 | -2/+2 | |
2017-02-05 | Fixed bindings for cBlockArea:Read and Write. (#3568) | Mattes D | 1 | -2/+2 | |
The original bindings accepted nil as the World param, causing a crash. | |||||
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -8/+8 | |
2015-07-14 | Improved maps | Tiger Wang | 1 | -7/+7 | |
2014-12-24 | Refactored all player block placing to go through hooks. | Mattes D | 1 | -52/+13 | |
Fixes #1618. | |||||
2014-09-09 | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 1 | -6/+0 | |
2014-07-17 | Basic style fixes. | madmaxoft | 1 | -2/+2 | |
2014-07-07 | Implemented trapped chests & others | Tiger Wang | 1 | -22/+22 | |
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | |||||
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 1 | -0/+1 | |
2014-03-30 | Fixed chest rotator. | madmaxoft | 1 | -2/+2 | |
2014-03-25 | Fixed spelling; Rotater to Rotator. | narroo | 1 | -3/+3 | |
2014-03-24 | Added MetaRotate/Mirror Support for a number of classes. | narroo | 1 | -2/+2 | |
2014-03-02 | Reformatted | Tycho | 1 | -2/+2 | |
2014-03-01 | Fixed errors | Tycho | 1 | -1/+1 | |
2014-03-01 | Implemented Rotations | Tycho | 1 | -2/+3 | |
2014-02-27 | Added some Metadate rotaters using templated Mixin | Tycho | 1 | -2/+2 | |
2014-02-04 | Improved Type safety of eBlockFace | Tycho | 1 | -2/+2 | |
May Fix #640 | |||||
2014-02-04 | Fixed chest placement. | madmaxoft | 1 | -2/+4 | |
Fixes #624. | |||||
2014-02-02 | Fixed #624 | Tiger Wang | 1 | -0/+6 | |
2014-02-01 | Changed pointers to references | Tycho | 1 | -9/+9 | |
2014-02-01 | Changed signitures of Several BLockHandler Methods | Tycho | 1 | -3/+8 | |
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 | -13/+13 | |
2014-01-17 | Removed internal cEntity::GetRot() usage. | madmaxoft | 1 | -5/+5 | |
2014-01-16 | Removed obsoleted functions | Tiger Wang | 1 | -2/+2 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -1/+1 | |
2013-08-05 | Added the Carpet block. | madmaxoft | 1 | -0/+1 | |
2013-07-29 | Changed everyting to Unix line endings. | Alexander Harkness | 1 | -222/+222 | |
2013-03-09 | Pickups are now being saved into Anvil. | madmaxoft@gmail.com | 1 | -3/+3 | |
Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -30/+78 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-20 | Double chests are formed correctly in all situations (meta is adjusted for the neighboring chest) | madmaxoft@gmail.com | 1 | -2/+70 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@991 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-20 | Chest does check if it can be placed at the coords specified (the client does the check itself, too, but this may be good for scripts) | madmaxoft@gmail.com | 1 | -0/+68 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@989 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-03 | Moved blockticking into blockhandler classes. | madmaxoft@gmail.com | 1 | -5/+5 | |
Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-01 | Slight refactoring of BlockHandlers - dropping unneeded virtual functions | madmaxoft@gmail.com | 1 | -5/+17 | |
( http://forum.mc-server.org/showthread.php?tid=434&pid=4734#pid4734 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@917 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-29 | Unified folder name-casing | madmaxoft@gmail.com | 1 | -0/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-11 | Merged in a patch for sounds by l0udPL | madmaxoft@gmail.com | 1 | -1/+5 | |
http://forum.mc-server.org/showthread.php?tid=434&pid=4564#pid4564 git-svn-id: http://mc-server.googlecode.com/svn/trunk@858 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-16 | Some code improvements | lapayo94@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | A new Block handling system :o | lapayo94@gmail.com | 1 | -0/+22 | |
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6 |