summaryrefslogtreecommitdiffstats
path: root/src/Entities/SplashPotionEntity.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* SplashPotionEntity: Use `const cItem &` instead of a cItemarchshift2014-07-261-1/+1
|
* Fixed indentations, removed redundant init code in SplashPotionEntity.cpparchshift2014-07-261-3/+0
|
* Moved potion static functions to EntityEffect to create splash potions through worldarchshift2014-07-261-6/+10
|
* Line tracer invalid chunk fixTiger Wang2014-07-201-6/+7
| | | | | * Fixes #1230 * Additionally improved speed in some scenarios
* Added destroy-timer system to splash potion entitiesarchshift2014-07-201-3/+4
|
* Merge pull request #1223 from mc-server/fixesMattes D2014-07-191-4/+1
|\ | | | | Fixed small issues throughout the codebase
| * Fixed clamping issuesarchshift2014-07-191-4/+1
| |
* | Splash potions: Renamed PotionParticleType to PotionColor for clarityarchshift2014-07-191-4/+4
| |
* | Fixed splash potion color on tossarchshift2014-07-191-0/+14
|/
* Normalized comments.madmaxoft2014-07-171-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.
* Fixed 3 MSVC warnings in SplashPotionEntity.madmaxoft2014-07-171-1/+1
|
* Restructured cSplashPotionEntity code.madmaxoft2014-07-151-38/+69
| | | | | The callback doesn't need declaration in the header. Renamed PotionName to PotionParticleType.
* For now, removed creator member from Entity Effect for pointer safetyarchshift2014-07-121-1/+1
|
* EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift2014-06-191-1/+1
| | | | Changed effect map to take a pointer of the effect as a result.
* Entity effects: changed User to Creator, removed pawn pass-by-valuearchshift2014-06-171-1/+1
|
* Entity Effects: Clarified user, added it to AddEntityEffectarchshift2014-06-171-5/+3
| | | | Added second AddEntityEffect with a pass-by-value of the class.
* Changed the AddEntityEffect() params for easier calls.madmaxoft2014-06-171-7/+12
|
* Cave spider now poisons its victim, added IsPawn function to Entityarchshift2014-06-171-1/+1
|
* Applies splash potion effects to mobs as well as playersarchshift2014-06-171-6/+9
|
* Added splash potion functionalityarchshift2014-06-171-6/+52
|
* Added classes for splash potions and wither skullsarchshift2014-06-171-0/+37