Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update DispenserEntity.cpp | Lukas Pioch | 2020-04-25 | 1 | -1/+1 |
| | | | Removed unneeded cast | ||||
* | Fixed spawning of mobs from dispenser | Lukas Pioch | 2020-04-25 | 1 | -2/+3 |
| | |||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -1/+1 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -3/+3 |
| | | | | | | | | | 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 | ||||
* | Don't remove items twice (#4524) | Mat | 2020-03-22 | 1 | -1/+1 |
| | | | * Don't remove items twice | ||||
* | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 2019-10-28 | 1 | -1/+1 |
| | |||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -54/+46 |
| | |||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -0/+2 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Changed some int parameters to vector parameters (#3937) | Bond-009 | 2017-09-07 | 1 | -2/+2 |
| | |||||
* | BlockEntities: Support cloning self. | Mattes D | 2017-06-16 | 1 | -4/+5 |
| | |||||
* | Exported boat | Lukas Pioch | 2017-05-24 | 1 | -1/+6 |
| | | | | | | | - NBT: Added saving / loading of material - Added the material in the item handler of the boat - Drop the correct boat if destroyed - APIDoc: Added desc and functions | ||||
* | Fireworks can be fired from a dispenser | Bond-009 | 2017-03-22 | 1 | -1/+4 |
| | |||||
* | - Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update. | QUSpilPrgm | 2016-06-15 | 1 | -1/+1 |
| | | | | - Fixes a range check inside cIncrementalRedstoneSimulator::Simulate | ||||
* | Update Dispensers and let them act more like in Vanilla | QUSpilPrgm | 2016-06-03 | 1 | -9/+80 |
| | | | | | | | | - Added code to make bonemeal, potions, minecarts, XP bottles and boats work inside dispensers - Dispensers are now able to place TNT if the block is transparent but not air - Added return value that indicates the success of pumpkin, melon, sugarcane and cactus growing functions - Changed return value of "GrowRipePlant" so that it actually indicates if the block was able to grow - Fixed "GrowSugarcane" and "GrowCactus" in "GrowRipePlant" so that it only grows them a single block | ||||
* | Spawn baby mobs | hallucino | 2015-07-16 | 1 | -1/+1 |
| | |||||
* | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 2015-03-21 | 1 | -11/+24 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -2/+2 |
| | |||||
* | convert old style casts to fix warnings | Steven Riehl | 2014-10-12 | 1 | -5/+2 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into chestcarts | Tiger Wang | 2014-09-27 | 1 | -5/+2 |
|\ | | | | | | | | | Conflicts: src/Entities/Minecart.cpp | ||||
| * | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -3/+0 |
| | | |||||
| * | Merge pull request #1419 from mc-server/redstoneTests | worktycho | 2014-09-26 | 1 | -1/+1 |
| |\ | | | | | | | Added test mocking to IncrementalRedstoneSimulator | ||||
| | * | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -1/+1 |
| | | | |||||
| * | | Fixed dispender direction bug | Howaner | 2014-09-25 | 1 | -1/+1 |
| |/ | |||||
* / | Implemented Chest Minecarts | Tiger Wang | 2014-09-13 | 1 | -1/+0 |
|/ | |||||
* | DispenserEntity code cleanup after PR merge. | madmaxoft | 2014-06-11 | 1 | -23/+18 |
| | |||||
* | - Fixed a lot of alignment | JoannisO | 2014-06-05 | 1 | -7/+7 |
| | |||||
* | - Removed the code that removed fireworks from a dispenser even thought | JoannisO | 2014-06-04 | 1 | -3/+0 |
| | | | they weren't launched. | ||||
* | - Fixed variable names in a function. | JoannisO | 2014-06-04 | 1 | -2/+2 |
| | |||||
* | - Fixed a lot of astethics | JoannisO | 2014-06-04 | 1 | -13/+13 |
| | |||||
* | - Fixed an issue where there were 2 "DispChunk"-s in the same function. | JoannisO | 2014-06-03 | 1 | -16/+5 |
| | | | Resused the initial one. | ||||
* | - Fixed a bug where I didn't return anything in the GetShootVector | JoannisO | 2014-06-03 | 1 | -0/+2 |
| | | | function. This was however passed as "working" by GCC. | ||||
* | - Fixed a bug where I used the FireCharge ITEM instead of the Projectile | JoannisO | 2014-06-03 | 1 | -1/+1 |
| | | | ENUM | ||||
* | - Cleaned up the code massively | JoannisO | 2014-06-03 | 1 | -84/+29 |
| | | | | | | | - Stopped using cChunk in the GetShootVector class. Parameter is now the Metadata of the block - Stopped using cChunk in the SpawnProjectileFromDispenser method now using coordinates and finding the chunk by itself. - Removed the matrix calculations from GetShootVector. | ||||
* | - Added doxy comments and exported to lua | Joannis | 2014-06-03 | 1 | -16/+58 |
| | | | | - Manipulation of the ShootVector is not to be done by the function that wants to spawn a projectile. | ||||
* | - Changed the name of the ProjectileLookVector method. | JoannisO | 2014-05-31 | 1 | -2/+2 |
| | | | | Note: I still think the new name is unclear. Any other suggestions are welcome. | ||||
* | - Prefixed all args with "a_" | JoannisO | 2014-05-29 | 1 | -5/+9 |
| | | | - Added braces around the cases. | ||||
* | - Removed breaks. I thought it wouldn't compile without them but the | JoannisO | 2014-05-28 | 1 | -2/+0 |
| | | | issue was appearantly solved with an earlier commit. | ||||
* | - Fixed an issue where dispensers would only shoot arrows (appearantly | JoannisO | 2014-05-28 | 1 | -33/+24 |
| | | | | some commits didn't come through) - Cleaned up the code according to suggestions. | ||||
* | - Implemented vertical dispensing for projectiles. | Joannis | 2014-05-28 | 1 | -15/+39 |
| | | | - Fixed some terrible commit issues on my side. | ||||
* | - Fixed the ampersands and asterisks to fit the format. | Joannis | 2014-05-27 | 1 | -7/+7 |
| | | | - Fixed the method "SpawnProjectileFromDispenser" to use CamelCasing. | ||||
* | - Added support for more types of projectiles in the Dispenser | JoannisO | 2014-05-26 | 1 | -38/+44 |
| | | | | - Improved the method of spawning projectiles in the world - Added another method for spawning the projectiles | ||||
* | Added Arrow- and FireCharge-Dispensing to DispenserEntity. | JoannisO | 2014-05-26 | 1 | -19/+88 |
| | |||||
* | Fixed Flint and Steel, reverted Minecart change, renamed a parameter name | jfhumann | 2014-04-19 | 1 | -5/+5 |
| | |||||
* | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 1 | -1/+2 |
| | |||||
* | Add fireball interact | Howaner | 2014-03-14 | 1 | -0/+6 |
| | |||||
* | Change TNT Fuse to ticks | Howaner | 2014-03-08 | 1 | -1/+1 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+215 |