Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-04-03 | New hotfix to prevent calling OnBroken (#4600) | Alexander Harkness | 1 | -3/+4 | |
* Fix stack overflow in breaking ice. Stupid fix, but it does work and is used in other places too... * Replace hotfix for pistons with better one * Fix comments in BlockBed handler | |||||
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 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 | |||||
2020-03-22 | Don't push blocks outside world height limits (#4516) | Mat | 1 | -0/+5 | |
* Don't push blocks outside world height limits * Style fix * Apply suggestion Co-Authored-By: peterbell10 <peterbell10@live.co.uk> * Apply suggestion Co-Authored-By: peterbell10 <peterbell10@live.co.uk> * Improvements * Add block type check back * Revert line break changes * Update BlockPiston.cpp Co-authored-by: peterbell10 <peterbell10@live.co.uk> | |||||
2019-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 1 | -52/+23 | |
2018-08-29 | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 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. | |||||
2018-07-25 | At long last... Piston animations! | Tiger Wang | 1 | -59/+99 | |
* Fixes #3198 * Fixes #57 (again lol) | |||||
2017-11-20 | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 1 | -2/+2 | |
2017-09-19 | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 1 | -4/+4 | |
* 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 | |||||
2017-08-25 | Bed piston fix (#3956) | Lane Kolbly | 1 | -2/+3 | |
* Threaded world interface into ConvertBlockToPickups * Changed how cBlockPiston::PushBlocks sets the old block to air, so that the block exists for the DropBlock call. * Removed unused a_Digger argument. * Removed incorrect comment * This time actually removed a_Digger references. | |||||
2017-08-03 | Remove double includes part 2 (#3890) | peterbell10 | 1 | -3/+0 | |
2017-08-01 | cBlockHandler: take player by ref | peterbell10 | 1 | -4/+4 | |
2017-07-17 | Allocate redstone component handlers upfront | peterbell10 | 1 | -22/+22 | |
2017-02-15 | Updated sounds and effect IDs (#3422) | mathiascode | 1 | -2/+2 | |
2016-10-20 | StyleCheck: Add "else has to be on a separate line" (#3412) | mohe2015 | 1 | -1/+2 | |
2016-07-06 | Fixed piston destroying other pistons | Altenius | 1 | -5/+9 | |
Fixes #3251 | |||||
2015-11-07 | Refactored code to use vectors in the cPistonHandler class | bibo38 | 1 | -47/+37 | |
2015-11-07 | Added some code improvements | bibo38 | 1 | -16/+36 | |
2015-11-07 | Renamed GetDirectionVec into VectorFromMetaData to improve code readability. | bibo38 | 1 | -5/+5 | |
2015-11-07 | Fixed the style problems and added some comments | bibo38 | 1 | -6/+17 | |
2015-11-07 | Extracted block moving code into a seperate method | bibo38 | 1 | -77/+48 | |
2015-11-07 | Replaced the usage of pistonMeta with a direction vector to allow better meta value abstraction | bibo38 | 1 | -72/+60 | |
2015-11-07 | Fixed pulling/pushing of breakable blocks, which are not required to be moved | bibo38 | 1 | -3/+20 | |
2015-11-07 | Implemented the basic slime block pulling | bibo38 | 1 | -17/+62 | |
2015-11-07 | Implemented the SlimeBlock into the CanPush method to allow slimeblocks to work correctly when pushed | bibo38 | 1 | -15/+26 | |
2015-11-07 | Piston extension now works with the new recursive CanPushBlock method. | bibo38 | 1 | -36/+41 | |
2015-11-07 | Added the CanPushBlock method for the piston push check. | bibo38 | 1 | -22/+34 | |
This allows the recursive check for blocks to push, which is needed to implement the slime blocks into the piston system. | |||||
2015-09-25 | Prepared ScheduleTask for threading refactor | Tiger Wang | 1 | -20/+5 | |
* Llama-ified and condensed Schedule/QueueTask - Removed hackery done with piston animations | |||||
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -2/+2 | |
2015-06-24 | Buttons no longer click on when already on. Buttons now play sound when clicking off. | Hax52 | 1 | -3/+3 | |
2015-03-20 | Added cPluginLua::cResettable interface, used for scheduled tasks. | Mattes D | 1 | -3/+3 | |
This allows plugins to register objects that can "survive" the plugin unloading - they will simply bail out if the plugin is already unloaded, instead of referencing bad plugin data. Fixes #1556. | |||||
2015-03-20 | Removed Metavalue from Piston drops. Bugfix #1765 | bibo38 | 1 | -0/+10 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -1/+1 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -1/+1 | |
2014-09-26 | Removed more unessicary includes | Tycho | 1 | -0/+1 | |
2014-09-12 | Fixed farmland issues. | Howaner | 1 | -1/+1 | |
2014-07-17 | Basic style fixes. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | Normalized comments. | madmaxoft | 1 | -2/+2 | |
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-07-13 | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 1 | -2/+2 | |
2014-07-07 | Implemented trapped chests & others | Tiger Wang | 1 | -1/+1 | |
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | |||||
2014-06-01 | Suggestions two | Tiger Wang | 1 | -3/+3 | |
2014-05-29 | Changed block send queue to use vectors | Tiger Wang | 1 | -6/+17 | |
As suggested by @worktycho. | |||||
2014-05-25 | Hopefully fixed piston duplication issues | Tiger Wang | 1 | -5/+161 | |
* Fixes #879 * Fixes #714 | |||||
2014-02-04 | Improved Type safety of eBlockFace | Tycho | 1 | -1/+1 | |
May Fix #640 | |||||
2014-02-01 | Changed Signiture of OnDestroyedByPlayer | Tycho | 1 | -5/+5 | |
2014-02-01 | Changed pointers to references | Tycho | 1 | -5/+5 | |
2014-02-01 | Changed signitures of Several BLockHandler Methods | Tycho | 1 | -5/+5 | |
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | |||||
2014-01-17 | Removed internal cEntity::GetRot() usage. | madmaxoft | 1 | -1/+1 | |
2014-01-16 | Removed obsoleted functions | Tiger Wang | 1 | -1/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-23 | Expanded one-line if statement | Tiger Wang | 1 | -1/+4 | |
2013-11-22 | Fixed spawning pickups with piston arms | Tiger Wang | 1 | -0/+5 | |
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -1/+1 | |
2013-08-10 | Piston head, when removed, removes the associated piston body, too. | madmaxoft | 1 | -1/+34 | |
Fixes FS 388 | |||||
2013-08-09 | Piston head, when removed, removes the associated piston body, too. | madmaxoft | 1 | -1/+34 | |
Fixes FS 388 | |||||
2013-07-29 | Changed everyting to Unix line endings. | Alexander Harkness | 1 | -69/+69 | |
2013-01-20 | Fixed piston placement. | madmaxoft@gmail.com | 1 | -1/+1 | |
FS #293 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1160 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -12/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-06 | Completely removed the old (buggy) redstone simulator. | madmaxoft@gmail.com | 1 | -7/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@937 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-03 | Moved blockticking into blockhandler classes. | madmaxoft@gmail.com | 1 | -14/+29 | |
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-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 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 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/+51 | |
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 |