summaryrefslogtreecommitdiffstats
path: root/src/Entities/EntityEffect.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-08-04Fixed RasPi builds of unit tests.Mattes D1-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-18Fixed leaping potion not giving jump boostBlitz Rakete1-0/+1
2016-02-05Bulk clearing of whitespaceLogicParrot1-25/+25
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-21/+21
2015-05-09More style checking.Mattes D1-2/+2
Spaces around some operators are checked.
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-5/+5
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-5/+5
2014-09-23A few compiler warning fixesChris Darnell1-0/+1
2014-09-17Added first test to show the object can be createdTycho1-2/+2
2014-09-03Fixed style and alpha-sorting.madmaxoft1-2/+2
2014-09-03EntityEffect.cpp: Enable 1.8's leaping potionarchshift1-1/+1
2014-09-02Renamed SetWalkSpeed() to SetRelativeWalkSpeed()Howaner1-4/+4
2014-08-30Added slowness effect and added entity support.Howaner1-16/+61
2014-08-28Added speed entity effect.Hownaer1-0/+41
2014-08-03Fixed a ToLua warning - operator = not supported.madmaxoft1-1/+1
2014-07-31Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects.Howaner1-1/+1
2014-07-26Fixed indentations, removed redundant init code in SplashPotionEntity.cpparchshift1-1/+1
2014-07-26Moved potion static functions to EntityEffect to create splash potions through worldarchshift1-0/+124
2014-07-17Normalized comments.madmaxoft1-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-15Only the cEntityEffect::effXXX constants are Lua-exported.madmaxoft1-1/+2
The rest of the classes don't need exporting, there's no interface using them anyway.
2014-07-15Reformatted EntityEffect code.madmaxoft1-25/+29
2014-07-15Fixed a MSVC warning in cEntityEffect::CreateEntityEffect().madmaxoft1-0/+1
2014-07-14Readability and clarity changesarchshift1-25/+16
2014-07-14EntityEffect: Inlined functions, added explicit copy constructor and operator.archshift1-17/+18
2014-07-14Changed separating comment style from asterisks to slashes.archshift1-24/+24
2014-07-12For now, removed creator member from Entity Effect for pointer safetyarchshift1-32/+30
2014-06-19EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift1-0/+291
Changed effect map to take a pointer of the effect as a result.