Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 2014-06-19 | 1 | -107/+12 |
| | | | | Changed effect map to take a pointer of the effect as a result. | ||||
* | Entity effects: changed User to Creator, removed pawn pass-by-value | archshift | 2014-06-17 | 1 | -17/+8 |
| | |||||
* | Added the OnEntityAddEffect hook. | madmaxoft | 2014-06-17 | 1 | -0/+9 |
| | |||||
* | Entity Effects: Clarified user, added it to AddEntityEffect | archshift | 2014-06-17 | 1 | -3/+13 |
| | | | | Added second AddEntityEffect with a pass-by-value of the class. | ||||
* | Changed the AddEntityEffect() params for easier calls. | madmaxoft | 2014-06-17 | 1 | -17/+16 |
| | |||||
* | Entity Effect: Separates total duration and ticks of activity | archshift | 2014-06-17 | 1 | -16/+8 |
| | | | | Changed HandleEntityEffect to use cEntityEffect's ticks instead of a static counter | ||||
* | Fixed MSVC compilation. | madmaxoft | 2014-06-17 | 1 | -4/+7 |
| | |||||
* | Pawn: renamed HandleEntityEffects to HandleEntityEffect | archshift | 2014-06-17 | 1 | -2/+2 |
| | | | | Exported entity effect functions for ToLua and documented them in APIDesc.lua | ||||
* | Added wither damage type, wither entity effect. | archshift | 2014-06-17 | 1 | -1/+15 |
| | |||||
* | Monster: added IsUndead(), undead-specific entity effects | archshift | 2014-06-17 | 1 | -6/+0 |
| | |||||
* | Removed long function wrapping | archshift | 2014-06-17 | 1 | -2/+1 |
| | |||||
* | Entity effect type: use 'eff' as a prefix instead of 'ef' | archshift | 2014-06-17 | 1 | -10/+10 |
| | |||||
* | Added splash potion functionality | archshift | 2014-06-17 | 1 | -3/+4 |
| | |||||
* | Implemented drinkable potions, noeffect entity effect, | archshift | 2014-06-17 | 1 | -0/+14 |
| | | | | Clears entity effects on death | ||||
* | Implemented milk, added documentation to Pawn.h | archshift | 2014-06-17 | 1 | -0/+20 |
| | |||||
* | Pawn.cpp: fixed effect iterator BAD_ACCESS | archshift | 2014-06-17 | 1 | -8/+13 |
| | | | | | | Erasure was occurring before the iterator increased, causing a bad access. Solved by storing map pairs in variables and manually updating iterator before erasure. Fixed mix-up in function arguments on food poisoning | ||||
* | Pawn: Enabled entity effect broadcast, added typedef | archshift | 2014-06-17 | 1 | -3/+4 |
| | | | | Typedef'd std::map<cEntityEffect::eType, cEntityEffect> to tEffectMap | ||||
* | Entity effects: Added handlers for entity effects | archshift | 2014-06-17 | 1 | -0/+95 |
| | | | | | | Implemented hunger, instant health, damage, poison, regen Added "template" entity effect implementations | ||||
* | Added iterator on tick to manage entity effect duration | archshift | 2014-06-17 | 1 | -1/+18 |
| | |||||
* | cPawn: Remove unused m_bBurnable | archshift | 2014-06-17 | 1 | -1/+0 |
| | |||||
* | Moved Effects.h to EntityEffects.h, added initial impl | archshift | 2014-06-17 | 1 | -0/+25 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+19 |