summaryrefslogtreecommitdiffstats
path: root/src/Entities/SplashPotionEntity.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-05Bulk clearing of whitespaceLogicParrot1-4/+4
2015-11-24Add enum for Sound and Particle EffectsDave Tucker1-1/+2
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2015-07-31Unified the doxy-comment format.Mattes D1-1/+5
2015-05-28Fix commentstycho1-5/+6
2015-05-24Made -Weverything an error.tycho1-3/+8
2014-07-26SplashPotionEntity: Use `const cItem &` instead of a cItemarchshift1-1/+1
2014-07-26Fixed indentations, removed redundant init code in SplashPotionEntity.cpparchshift1-3/+0
2014-07-26Moved potion static functions to EntityEffect to create splash potions through worldarchshift1-6/+10
2014-07-20Line tracer invalid chunk fixTiger Wang1-6/+7
* Fixes #1230 * Additionally improved speed in some scenarios
2014-07-20Added destroy-timer system to splash potion entitiesarchshift1-3/+4
2014-07-19Splash potions: Renamed PotionParticleType to PotionColor for clarityarchshift1-4/+4
2014-07-19Fixed splash potion color on tossarchshift1-0/+14
2014-07-19Fixed clamping issuesarchshift1-4/+1
2014-07-17Normalized comments.madmaxoft1-2/+2
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-17Fixed 3 MSVC warnings in SplashPotionEntity.madmaxoft1-1/+1
2014-07-15Restructured cSplashPotionEntity code.madmaxoft1-38/+69
The callback doesn't need declaration in the header. Renamed PotionName to PotionParticleType.
2014-07-12For now, removed creator member from Entity Effect for pointer safetyarchshift1-1/+1
2014-06-19EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift1-1/+1
Changed effect map to take a pointer of the effect as a result.
2014-06-17Entity effects: changed User to Creator, removed pawn pass-by-valuearchshift1-1/+1
2014-06-17Entity Effects: Clarified user, added it to AddEntityEffectarchshift1-5/+3
Added second AddEntityEffect with a pass-by-value of the class.
2014-06-17Changed the AddEntityEffect() params for easier calls.madmaxoft1-7/+12
2014-06-17Cave spider now poisons its victim, added IsPawn function to Entityarchshift1-1/+1
2014-06-17Applies splash potion effects to mobs as well as playersarchshift1-6/+9
2014-06-17Added splash potion functionalityarchshift1-6/+52
2014-06-17Added classes for splash potions and wither skullsarchshift1-0/+37