Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 1 | -25/+25 |
| | |||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -5/+5 |
| | |||||
* | Fix effect crashes (#4530) | Mat | 2020-03-22 | 1 | -3/+3 |
| | | | | | * Fix effect crashes * Change according to suggestion | ||||
* | Broadcast refactor (#4264) | peterbell10 | 2018-07-24 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 1 | -10/+10 |
| | | | | | | | * Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there. | ||||
* | Deal with covered switches consistently (#4161) | peterbell10 | 2018-02-05 | 1 | -5/+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() | ||||
* | Water bottles are drinkable potions (#4114) | Alexander Harkness | 2017-12-26 | 1 | -11/+8 |
| | | | | | | | Water bottles are now drinkable potions Fixes #4111 Also update outdated mcwiki references | ||||
* | Minor changes (#3909) | mathiascode | 2017-08-24 | 1 | -5/+5 |
| | |||||
* | Implement invisibility effect | peterbell10 | 2017-08-03 | 1 | -28/+45 |
| | |||||
* | Fixed RasPi builds of unit tests. | Mattes D | 2016-08-04 | 1 | -1/+3 |
| | | | | | On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled. Enforced the assumption that ASSERT code is generated only in Debug builds. | ||||
* | Fixed leaping potion not giving jump boost | Blitz Rakete | 2016-03-18 | 1 | -0/+1 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -25/+25 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -21/+21 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -2/+2 |
| | | | | Spaces around some operators are checked. | ||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -5/+5 |
| | |||||
* | Merge branch 'master' into redstoneTests | Tycho | 2014-09-25 | 1 | -0/+1 |
|\ | | | | | | | | | Conflicts: src/Mobs/Monster.h | ||||
| * | A few compiler warning fixes | Chris Darnell | 2014-09-23 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'master' into redstoneTests | Tycho | 2014-09-17 | 1 | -0/+86 |
|\| | | | | | | | | | Conflicts: src/Blocks/ChunkInterface.h | ||||
| * | Merge branch 'master' into Effects | Howaner | 2014-09-12 | 1 | -2/+2 |
| |\ | |||||
| * | | Renamed SetWalkSpeed() to SetRelativeWalkSpeed() | Howaner | 2014-09-02 | 1 | -4/+4 |
| | | | |||||
| * | | Added slowness effect and added entity support. | Howaner | 2014-08-30 | 1 | -16/+61 |
| | | | |||||
| * | | Added speed entity effect. | Hownaer | 2014-08-28 | 1 | -0/+41 |
| | | | |||||
* | | | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -2/+2 |
| |/ |/| | |||||
* | | Fixed style and alpha-sorting. | madmaxoft | 2014-09-03 | 1 | -2/+2 |
| | | |||||
* | | EntityEffect.cpp: Enable 1.8's leaping potion | archshift | 2014-09-03 | 1 | -1/+1 |
|/ | |||||
* | Fixed a ToLua warning - operator = not supported. | madmaxoft | 2014-08-03 | 1 | -1/+1 |
| | |||||
* | Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects. | Howaner | 2014-07-31 | 1 | -1/+1 |
| | |||||
* | Fixed indentations, removed redundant init code in SplashPotionEntity.cpp | archshift | 2014-07-26 | 1 | -1/+1 |
| | |||||
* | Moved potion static functions to EntityEffect to create splash potions through world | archshift | 2014-07-26 | 1 | -0/+124 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -8/+8 |
| | | | | | 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. | ||||
* | Only the cEntityEffect::effXXX constants are Lua-exported. | madmaxoft | 2014-07-15 | 1 | -1/+2 |
| | | | | The rest of the classes don't need exporting, there's no interface using them anyway. | ||||
* | Reformatted EntityEffect code. | madmaxoft | 2014-07-15 | 1 | -25/+29 |
| | |||||
* | Fixed a MSVC warning in cEntityEffect::CreateEntityEffect(). | madmaxoft | 2014-07-15 | 1 | -0/+1 |
| | |||||
* | Readability and clarity changes | archshift | 2014-07-14 | 1 | -25/+16 |
| | |||||
* | EntityEffect: Inlined functions, added explicit copy constructor and operator. | archshift | 2014-07-14 | 1 | -17/+18 |
| | |||||
* | Changed separating comment style from asterisks to slashes. | archshift | 2014-07-14 | 1 | -24/+24 |
| | |||||
* | For now, removed creator member from Entity Effect for pointer safety | archshift | 2014-07-12 | 1 | -32/+30 |
| | |||||
* | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 2014-06-19 | 1 | -0/+291 |
Changed effect map to take a pointer of the effect as a result. |