Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the redstone solid block handler | Tiger Wang | 2020-08-08 | 1 | -24/+3 |
| | | | | | | | - 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 | -3/+24 |
| | |||||
* | Fixed various MSVC warnings. | Mattes D | 2020-05-06 | 1 | -0/+1 |
| | |||||
* | Buttons can now be triggered by arrows. (#4670) | DrButcher | 2020-05-03 | 1 | -18/+115 |
| | | | * Buttons can now be triggered by arrows. | ||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -27/+66 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -2/+2 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -0/+1 |
| | | | | | | | | | The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | ||||
* | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 2019-10-28 | 1 | -1/+1 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -10/+11 |
| | |||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 1 | -1/+1 |
| | | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | ||||
* | 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 | -11/+10 |
| | |||||
* | 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 | ||||
* | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 2017-08-17 | 1 | -2/+2 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -3/+3 |
| | |||||
* | Updated sounds and effect IDs (#3422) | mathiascode | 2017-02-15 | 1 | -2/+2 |
| | |||||
* | Reduced unnecessary block updates | LogicParrot | 2016-04-22 | 1 | -2/+2 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -4/+4 |
| | |||||
* | Reorganised the redstone simulator | Tiger Wang | 2015-12-18 | 1 | -8/+18 |
| | | | | | | -> 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 | -3/+4 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -7/+6 |
| | |||||
* | Buttons no longer click on when already on. Buttons now play sound when clicking off. | Hax52 | 2015-06-24 | 1 | -3/+23 |
| | |||||
* | Fixed warnings in MSVC. | Mattes D | 2015-06-02 | 1 | -0/+6 |
| | | | | It complained about undefined return values or using uninitialized variables. | ||||
* | Fixed a lot of warnings | tycho | 2015-05-19 | 1 | -1/+1 |
| | |||||
* | Removed 0x6, 0x7 from BlockButton. | Alexandre Guertin | 2015-03-25 | 1 | -5/+3 |
| | |||||
* | Buttons can be placed on the top and on the bottom face of a block | Alexandre Guertin | 2015-03-09 | 1 | -1/+7 |
| | |||||
* | 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 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 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. | ||||
* | 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 | -1/+1 |
| | | | | | + They now detect if the block they are on occupies its voxel, instead of just being solid | ||||
* | Fixed spelling; Rotater to Rotator. | narroo | 2014-03-25 | 1 | -3/+3 |
| | |||||
* | Merge pull request #729 from worktycho/MetaRotate | Mattes D | 2014-03-08 | 1 | -2/+3 |
|\ | | | | | Alternitive solution to #503 | ||||
| * | Reformatted | Tycho | 2014-03-02 | 1 | -2/+2 |
| | | |||||
| * | Implemented Rotations | Tycho | 2014-03-01 | 1 | -2/+3 |
| | | |||||
| * | Added some Metadate rotaters using templated Mixin | Tycho | 2014-02-27 | 1 | -2/+2 |
| | | |||||
* | | 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 Signiture of OnDestroyedByPlayer | Tycho | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -7/+7 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Refactored cBlockHandler::OnUse and dependents | Tycho | 2014-01-26 | 1 | -6/+6 |
| | |||||
* | First attempt at Implementing Interfaces | Tycho | 2014-01-25 | 1 | -1/+1 |
| | |||||
* | Fixed duplication glitch with QueueSetBlock | Tiger Wang | 2013-12-06 | 1 | -2/+2 |
| | | | | | | | If a coordinate was queued, and then the block there was broken, it would reappear: double items! Also now just sets meta if previous and current blocktypes matched. | ||||
* | Removed unneeded CPP files | Tiger Wang | 2013-11-29 | 1 | -6/+20 |
| | | | | Also removed unneeded #include in BlockStems | ||||
* | Merged master into redstonefixes | Tiger Wang | 2013-11-27 | 1 | -2/+5 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -6/+30 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+69 |