Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-08-01 | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 1 | -25/+25 | |
2020-04-16 | Using Super. | Mattes D | 1 | -5/+5 | |
2020-03-22 | Fix effect crashes (#4530) | Mat | 1 | -3/+3 | |
* Fix effect crashes * Change according to suggestion | |||||
2018-07-24 | Broadcast refactor (#4264) | peterbell10 | 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 | |||||
2018-05-02 | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 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. | |||||
2018-02-05 | Deal with covered switches consistently (#4161) | peterbell10 | 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() | |||||
2017-12-26 | Water bottles are drinkable potions (#4114) | Alexander Harkness | 1 | -11/+8 | |
Water bottles are now drinkable potions Fixes #4111 Also update outdated mcwiki references | |||||
2017-08-24 | Minor changes (#3909) | mathiascode | 1 | -5/+5 | |
2017-08-03 | Implement invisibility effect | peterbell10 | 1 | -28/+45 | |
2016-08-04 | Fixed RasPi builds of unit tests. | Mattes D | 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. | |||||
2016-03-18 | Fixed leaping potion not giving jump boost | Blitz Rakete | 1 | -0/+1 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -25/+25 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -21/+21 | |
2015-05-09 | More style checking. | Mattes D | 1 | -2/+2 | |
Spaces around some operators are checked. | |||||
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -5/+5 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -5/+5 | |
2014-09-23 | A few compiler warning fixes | Chris Darnell | 1 | -0/+1 | |
2014-09-17 | Added first test to show the object can be created | Tycho | 1 | -2/+2 | |
2014-09-03 | Fixed style and alpha-sorting. | madmaxoft | 1 | -2/+2 | |
2014-09-03 | EntityEffect.cpp: Enable 1.8's leaping potion | archshift | 1 | -1/+1 | |
2014-09-02 | Renamed SetWalkSpeed() to SetRelativeWalkSpeed() | Howaner | 1 | -4/+4 | |
2014-08-30 | Added slowness effect and added entity support. | Howaner | 1 | -16/+61 | |
2014-08-28 | Added speed entity effect. | Hownaer | 1 | -0/+41 | |
2014-08-03 | Fixed a ToLua warning - operator = not supported. | madmaxoft | 1 | -1/+1 | |
2014-07-31 | Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects. | Howaner | 1 | -1/+1 | |
2014-07-26 | Fixed indentations, removed redundant init code in SplashPotionEntity.cpp | archshift | 1 | -1/+1 | |
2014-07-26 | Moved potion static functions to EntityEffect to create splash potions through world | archshift | 1 | -0/+124 | |
2014-07-17 | Normalized comments. | madmaxoft | 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. | |||||
2014-07-15 | Only the cEntityEffect::effXXX constants are Lua-exported. | madmaxoft | 1 | -1/+2 | |
The rest of the classes don't need exporting, there's no interface using them anyway. | |||||
2014-07-15 | Reformatted EntityEffect code. | madmaxoft | 1 | -25/+29 | |
2014-07-15 | Fixed a MSVC warning in cEntityEffect::CreateEntityEffect(). | madmaxoft | 1 | -0/+1 | |
2014-07-14 | Readability and clarity changes | archshift | 1 | -25/+16 | |
2014-07-14 | EntityEffect: Inlined functions, added explicit copy constructor and operator. | archshift | 1 | -17/+18 | |
2014-07-14 | Changed separating comment style from asterisks to slashes. | archshift | 1 | -24/+24 | |
2014-07-12 | For now, removed creator member from Entity Effect for pointer safety | archshift | 1 | -32/+30 | |
2014-06-19 | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 1 | -0/+291 | |
Changed effect map to take a pointer of the effect as a result. |