diff options
author | Bendegúz Nagy | 2016-07-12 08:36:53 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 800100e2bc0a325f81bebc8993e95ded17c6fb76 (patch) | |
tree | 1e170dd0a620df7a738e0385241519ae8c91c13b /engines/dm/champion.cpp | |
parent | f7e4486d84929b85cc5c82c6a6366eb37f5766de (diff) | |
download | scummvm-rg350-800100e2bc0a325f81bebc8993e95ded17c6fb76.tar.gz scummvm-rg350-800100e2bc0a325f81bebc8993e95ded17c6fb76.tar.bz2 scummvm-rg350-800100e2bc0a325f81bebc8993e95ded17c6fb76.zip |
DM: Add f260_timelineRefreshAllChampionStatusBoxes
Diffstat (limited to 'engines/dm/champion.cpp')
-rw-r--r-- | engines/dm/champion.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/dm/champion.cpp b/engines/dm/champion.cpp index a84ccb811d..1fd31eaa43 100644 --- a/engines/dm/champion.cpp +++ b/engines/dm/champion.cpp @@ -1189,6 +1189,13 @@ bool ChampionMan::f294_isAmmunitionCompatibleWithWeapon(uint16 champIndex, uint1 return ((L0878_T_Thing.getType() == k5_WeaponThingType) && (L0875_ps_WeaponInfo->_class == L0879_i_WeaponClass));
}
+void ChampionMan::f293_drawAllChampionStates() {
+ int16 L0873_i_ChampionIndex;
+ for (L0873_i_ChampionIndex = k0_ChampionFirst; L0873_i_ChampionIndex < _vm->_championMan->_g305_partyChampionCount; L0873_i_ChampionIndex++) {
+ _vm->_championMan->f292_drawChampionState((ChampionIndex)L0873_i_ChampionIndex);
+ }
+}
+
ChampionIndex ChampionMan::f285_getIndexInCell(int16 cell) {
for (uint16 i = 0; i < _g305_partyChampionCount; ++i) {
if ((_gK71_champions[i]._cell == cell) && _gK71_champions[i]._currHealth)
|