Home
last modified time | relevance | path

Searched refs:_npcInfo (Results 1 – 7 of 7) sorted by relevance

/dports/games/scummvm/scummvm-2.5.1/engines/griffon/
H A Dlogic.cpp165 if (_npcInfo[i].hp < _npcInfo[i].maxhp * 0.25) in updateNPCs()
586 _npcInfo[i].swaySpeed = _npcInfo[i].swaySpeed + _npcInfo[i].swaySpeed / 200 * _fpsr; in updateNPCs()
593 _npcInfo[i].swayAngle = _npcInfo[i].swayAngle + _npcInfo[i].swaySpeed * _fpsr; in updateNPCs()
606 castSpell(3, _npcInfo[i].x, _npcInfo[i].y, _npcInfo[i].x, _npcInfo[i].y, i); in updateNPCs()
608 _npcInfo[i].headTargetX[0] = _npcInfo[i].x; in updateNPCs()
657 _npcInfo[i].swayAngle = _npcInfo[i].swayAngle + _npcInfo[i].swaySpeed * _fpsr; in updateNPCs()
873 _npcInfo[i].swayAngle = _npcInfo[i].swayAngle + _npcInfo[i].swaySpeed * _fpsr; in updateNPCs()
886 castSpell(3, _npcInfo[i].x, _npcInfo[i].y, _npcInfo[i].x, _npcInfo[i].y, i); in updateNPCs()
994 _npcInfo[i].attackframe = _npcInfo[i].attackframe + _npcInfo[i].attackspd * _fpsr; in updateNPCs()
1045 _npcInfo[i].attackframe = _npcInfo[i].attackframe + _npcInfo[i].attackspd * _fpsr; in updateNPCs()
[all …]
H A Dresources.cpp512 _npcInfo[i].hp = 12; in loadMap()
668 _npcInfo[i].hp = 0; in loadMap()
670 _npcInfo[i].maxhp = _npcInfo[i].hp; in loadMap()
697 _npcInfo[i].bodysection[f].x = _npcInfo[i].x + 12; in loadMap()
698 _npcInfo[i].bodysection[f].y = _npcInfo[i].y + 14; in loadMap()
701 _npcInfo[i].headTargetX[0] = _npcInfo[i].x + 12; in loadMap()
702 _npcInfo[i].headTargetY[0] = _npcInfo[i].y + 14; in loadMap()
708 _npcInfo[i].bodysection[f].x = _npcInfo[i].x + 12; in loadMap()
709 _npcInfo[i].bodysection[f].y = _npcInfo[i].y + 14; in loadMap()
713 _npcInfo[i].headTargetX[f] = _npcInfo[i].x + 12; in loadMap()
[all …]
H A Ddraw.cpp638 if (_npcInfo[i].pause > _ticks && _npcInfo[i].shake < _ticks) { in drawNPCs()
662 if (_npcInfo[i].pause > _ticks && _npcInfo[i].shake < _ticks) { in drawNPCs()
696 _npcInfo[i].floating = _npcInfo[i].floating + 0.25 * _fpsr; in drawNPCs()
698 _npcInfo[i].floating = _npcInfo[i].floating - 16; in drawNPCs()
731 _npcInfo[i].floating = _npcInfo[i].floating + 0.25 * _fpsr; in drawNPCs()
733 _npcInfo[i].floating = _npcInfo[i].floating - 16; in drawNPCs()
754 _npcInfo[i].floating = _npcInfo[i].floating + .3 * _fpsr; in drawNPCs()
756 _npcInfo[i].floating = _npcInfo[i].floating - 16; in drawNPCs()
879 _npcInfo[i].floating = _npcInfo[i].floating + 1 * _fpsr; in drawNPCs()
881 _npcInfo[i].floating = _npcInfo[i].floating - 16; in drawNPCs()
[all …]
H A Dcombat.cpp506 if (_npcInfo[i].hp > 0 && _npcInfo[i].pause < _ticks && (int)(RND() * 2) == 0) { in checkHit()
580 if (_npcInfo[npcnum].hp > _npcInfo[npcnum].maxhp) in damageNPC()
581 _npcInfo[npcnum].hp = _npcInfo[npcnum].maxhp; in damageNPC()
651 if (_npcInfo[i].hp > 0) in damageNPC()
683 if (_npcInfo[i].hp > 0) in damageNPC()
741 if (_npcInfo[i].hp > 0) in damageNPC()
774 if (_npcInfo[i].hp > 0) in damageNPC()
840 if (_npcInfo[i].hp > 0) in damageNPC()
870 if (_npcInfo[i].hp > 0) in damageNPC()
902 if (_npcInfo[i].hp > 0) in damageNPC()
[all …]
H A Dinput.cpp496 if (_npcInfo[i].hp > 0) { in handleWalking()
497 npx = _npcInfo[i].x; in handleWalking()
498 npy = _npcInfo[i].y; in handleWalking()
508 _npcInfo[i].y -= spd; in handleWalking()
511 _npcInfo[i].y += spd; in handleWalking()
514 _npcInfo[i].x -= spd; in handleWalking()
517 _npcInfo[i].x += spd; in handleWalking()
520 npx = _npcInfo[i].x; in handleWalking()
521 npy = _npcInfo[i].y; in handleWalking()
529 _npcInfo[i].x = opx; in handleWalking()
[all …]
H A Dengine.cpp256 if (_npcInfo[i].hp > 0) in updateEngine()
H A Dgriffon.h550 NPC _npcInfo[kMaxNPC]; variable