Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | -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 | -23/+24 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -20/+10 |
| | |||||
* | Add a formatting function for Vector3 (#4282) | peterbell10 | 2018-09-24 | 1 | -25/+22 |
| | | | | | | | | | | * Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -0/+1 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Broadcast refactor (#4264) | peterbell10 | 2018-07-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | * Move Broadcast functions from cChunkMap to cBroadcaster - Remove cBroadcastInterface in favour of cBroadcaster. - cChunk: Remove broadcast functions. * resurect broadcast interface * Absorb cBroadcaster into cWorld. Removes the need for forwarding the function calls. * Improve const-correctness * Use Int8 instead of char + Comment `ForClients` functions * Improve comments * Broadcaster: Rename ForClients functions | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 1 | -18/+18 |
| | | | | | | | * Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style. | ||||
* | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 2017-09-19 | 1 | -6/+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 | -1/+1 |
| | |||||
* | Updated sounds and effect IDs (#3422) | mathiascode | 2017-02-15 | 1 | -2/+2 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -9/+9 |
| | |||||
* | Updated old forum links | Mathias | 2016-01-31 | 1 | -1/+1 |
| | |||||
* | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 2015-12-17 | 1 | -1/+1 |
| | |||||
* | Now Water sources will also be created on top of existing water sources. | bibo38 | 2015-07-15 | 1 | -3/+6 |
| | | | | | See also on http://minecraft.gamepedia.com/Water#Source_blocks Fixes #2097 | ||||
* | Fix comments | tycho | 2015-05-28 | 1 | -2/+6 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -2/+12 |
| | |||||
* | Removed wrong else clause, which caused that the following if-Statement got only executed in rare cases. This has blocked the creation of new Fluid-Sources. Bugfix #1783 | bibo38 | 2015-03-19 | 1 | -1/+2 |
| | |||||
* | Fixed basic style. | Mattes D | 2014-12-25 | 1 | -1/+1 |
| | |||||
* | Removed unneeded newlines | Ivan Đorđević | 2014-12-17 | 1 | -6/+0 |
| | |||||
* | Merge branch 'master' of https://github.com/gushromp/MCServer | gushromp | 2014-12-16 | 1 | -0/+1 |
|\ | | | | | | | | | Conflicts: src/Simulator/FloodyFluidSimulator.cpp | ||||
| * | Fixed water from spreading on bottom of world | gushromp | 2014-12-16 | 1 | -5/+8 |
| | | |||||
* | | Fixed water from spreading on bottom of world | gushromp | 2014-12-16 | 1 | -7/+11 |
|/ | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -2/+2 |
| | |||||
* | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -0/+1 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -5/+5 |
| | |||||
* | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 2014-07-13 | 1 | -2/+2 |
| | |||||
* | Fixed bad water/redstone simulator communication | Tiger Wang | 2014-06-28 | 1 | -32/+22 |
| | | | | * Fixes #713 | ||||
* | Fixed vanilla fluid simulator. | madmaxoft | 2014-05-02 | 1 | -2/+2 |
| | | | | Fixes #919. | ||||
* | Added some comments | andrew | 2014-03-07 | 1 | -0/+2 |
| | |||||
* | Fixed water/lava interaction | andrew | 2014-03-07 | 1 | -2/+64 |
| | |||||
* | Implemented vanilla-like fluid simulator | andrew | 2014-03-05 | 1 | -5/+18 |
| | |||||
* | Changed Signiture of OnUpdate | Tycho | 2014-02-02 | 1 | -1/+7 |
| | |||||
* | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 2013-12-20 | 1 | -2/+2 |
| | |||||
* | Fixed Floody lava to stone fizzle | Tiger Wang | 2013-12-10 | 1 | -2/+16 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+330 |