summaryrefslogtreecommitdiffstats
path: root/src/Entities/Pawn.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implemented the FireResistence potion effects.bibo382015-10-311-0/+18
| | | | | This not only provides fire resistence, but also prevents blaze fireballs. See #2556
* Made -Weverything an error.tycho2015-05-241-1/+1
|
* Make -Werror disabling file onlytycho2015-05-191-1/+1
| | | | Ad fix a load of warnings
* Changed air drag units to 'interpolated ticks' per secondDevToaster2015-03-311-1/+1
|
* Modified physics for more vanilla-like behaviorDevToaster2015-03-311-0/+2
|
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-1/+1
| | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* Added CustomName to cMonster.Howaner2014-09-011-3/+6
|
* Updated cPawn::KilledBy signature for custom death messages.madmaxoft2014-07-171-2/+2
|
* For now, removed creator member from Entity Effect for pointer safetyarchshift2014-07-121-3/+4
|
* EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift2014-06-191-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-valuearchshift2014-06-171-17/+8
|
* Added the OnEntityAddEffect hook.madmaxoft2014-06-171-0/+9
|
* Entity Effects: Clarified user, added it to AddEntityEffectarchshift2014-06-171-3/+13
| | | | Added second AddEntityEffect with a pass-by-value of the class.
* Changed the AddEntityEffect() params for easier calls.madmaxoft2014-06-171-17/+16
|
* Entity Effect: Separates total duration and ticks of activityarchshift2014-06-171-16/+8
| | | | Changed HandleEntityEffect to use cEntityEffect's ticks instead of a static counter
* Fixed MSVC compilation.madmaxoft2014-06-171-4/+7
|
* Pawn: renamed HandleEntityEffects to HandleEntityEffectarchshift2014-06-171-2/+2
| | | | Exported entity effect functions for ToLua and documented them in APIDesc.lua
* Added wither damage type, wither entity effect.archshift2014-06-171-1/+15
|
* Monster: added IsUndead(), undead-specific entity effectsarchshift2014-06-171-6/+0
|
* Removed long function wrappingarchshift2014-06-171-2/+1
|
* Entity effect type: use 'eff' as a prefix instead of 'ef'archshift2014-06-171-10/+10
|
* Added splash potion functionalityarchshift2014-06-171-3/+4
|
* Implemented drinkable potions, noeffect entity effect,archshift2014-06-171-0/+14
| | | | Clears entity effects on death
* Implemented milk, added documentation to Pawn.harchshift2014-06-171-0/+20
|
* Pawn.cpp: fixed effect iterator BAD_ACCESSarchshift2014-06-171-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 typedefarchshift2014-06-171-3/+4
| | | | Typedef'd std::map<cEntityEffect::eType, cEntityEffect> to tEffectMap
* Entity effects: Added handlers for entity effectsarchshift2014-06-171-0/+95
| | | | | | Implemented hunger, instant health, damage, poison, regen Added "template" entity effect implementations
* Added iterator on tick to manage entity effect durationarchshift2014-06-171-1/+18
|
* cPawn: Remove unused m_bBurnablearchshift2014-06-171-1/+0
|
* Moved Effects.h to EntityEffects.h, added initial implarchshift2014-06-171-0/+25
|
* Moved source to srcAlexander Harkness2013-11-241-0/+19