mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 04:33:09 +00:00
XEEN: Renaming of MazeMonster _fieldA
This commit is contained in:
parent
8fea5fd3c8
commit
6ac8c8288c
@ -808,7 +808,7 @@ void Combat::doMonsterTurn(int monsterId) {
|
||||
return;
|
||||
|
||||
monster._frame = 8;
|
||||
monster._fieldA = 3;
|
||||
monster._postAttackDelay = 3;
|
||||
monster._field9 = 0;
|
||||
intf.draw3d(true);
|
||||
intf.draw3d(true);
|
||||
@ -1422,7 +1422,7 @@ void Combat::attack2(int damage, RangeType rangeType) {
|
||||
_charsArray1[_monsterIndex] = 3;
|
||||
_monPow[_monsterIndex] = _damageType == DT_PHYSICAL && (rangeType == 3 || rangeType == 0);
|
||||
monster._frame = 11;
|
||||
monster._fieldA = 5;
|
||||
monster._postAttackDelay = 5;
|
||||
}
|
||||
|
||||
int monsterResist = getMonsterResistence(rangeType);
|
||||
|
@ -723,14 +723,14 @@ void InterfaceScene::animate3d() {
|
||||
monster._field9 = 0;
|
||||
}
|
||||
} else if (monster._frame == 11) {
|
||||
--monster._fieldA;
|
||||
if (monster._fieldA == 0)
|
||||
--monster._postAttackDelay;
|
||||
if (monster._postAttackDelay == 0)
|
||||
monster._frame = 0;
|
||||
} else {
|
||||
++monster._frame;
|
||||
if (monster._frame == 11) {
|
||||
--monster._fieldA;
|
||||
monster._frame = monster._fieldA ? 10 : 0;
|
||||
--monster._postAttackDelay;
|
||||
monster._frame = monster._postAttackDelay ? 10 : 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -685,7 +685,7 @@ MazeMonster::MazeMonster() {
|
||||
_isAttacking = false;
|
||||
_damageType = DT_PHYSICAL;
|
||||
_field9 = 0;
|
||||
_fieldA = 0;
|
||||
_postAttackDelay = 0;
|
||||
_hp = 0;
|
||||
_effect1 = _effect2 = 0;
|
||||
_effect3 = 0;
|
||||
|
@ -265,7 +265,7 @@ struct MazeMonster {
|
||||
bool _isAttacking;
|
||||
DamageType _damageType;
|
||||
int _field9;
|
||||
int _fieldA;
|
||||
int _postAttackDelay;
|
||||
int _hp;
|
||||
int _effect1, _effect2;
|
||||
int _effect3;
|
||||
|
Loading…
x
Reference in New Issue
Block a user