Home
last modified time | relevance | path

Searched refs:maxHp (Results 1 – 25 of 49) sorted by relevance

12

/dports/games/scummvm/scummvm-2.5.1/engines/griffon/
H A Dengine.cpp55 maxHp = 0; in reset()
195 _player.maxHp = _player.maxHp + _player.level * 3; in updateEngine()
196 if (_player.maxHp > 999) in updateEngine()
197 _player.maxHp = 999; in updateEngine()
198 _player.hp = _player.maxHp; in updateEngine()
270 if (config.effects && _player.hpflashb == 0 && _player.hp < _player.maxHp / 4) { in updateEngine()
321 _player.maxHp = _player.hp; in newGame()
H A Dsaveload.cpp96 INPUT("%i", &_player.maxHp); in loadGameStream()
170 INPUT("%i", &_playera.maxHp); in loadPlayer()
213 PRINT("%i", _player.maxHp); in saveGameStream()
/dports/games/glest/glest_source_3.2.2/source/glest_game/types/
H A Dupgrade_type.cpp113 maxHp= upgradeNode->getChild("max-hp")->getAttribute("value")->getIntValue(); in load()
142 if(maxHp!=0){ in getReqDesc()
143 str+= lang.get("Hp")+" +"+intToStr(maxHp); in getReqDesc()
181 maxHp= 0; in reset()
192 maxHp+= ut->getMaxHp(); in sum()
203 maxHp+= ut->getMaxHp()*50/100; in incLevel()
H A Dupgrade_type.h32 int maxHp;
42 int getMaxHp() const {return maxHp;} in getMaxHp()
H A Dunit_type.h81 int maxHp; variable
126 int getMaxHp() const {return maxHp;} in getMaxHp()
/dports/misc/mnn/MNN-1.2.0/3rd_party/flatbuffers/grpc/tests/
H A DJavaGrpcTest.java86 final AtomicInteger maxHp = new AtomicInteger(Integer.MIN_VALUE); in computeMinMax() local
96 if (monster.hp() > maxHp.get()) { in computeMinMax()
98 maxHp.set(monster.hp()); in computeMinMax()
102 else if (monster.hp() == maxHp.get()) { in computeMinMax()
119 … Stat maxHpStat = GameFactory.createStat(maxHpMonsterName.get(), maxHp.get(), maxHpCount.get()); in computeMinMax()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/grpc/tests/
H A DJavaGrpcTest.java86 final AtomicInteger maxHp = new AtomicInteger(Integer.MIN_VALUE); in computeMinMax() local
96 if (monster.hp() > maxHp.get()) { in computeMinMax()
98 maxHp.set(monster.hp()); in computeMinMax()
102 else if (monster.hp() == maxHp.get()) { in computeMinMax()
119 … Stat maxHpStat = GameFactory.createStat(maxHpMonsterName.get(), maxHp.get(), maxHpCount.get()); in computeMinMax()
/dports/devel/flatbuffers/flatbuffers-2.0.0/grpc/tests/
H A DJavaGrpcTest.java86 final AtomicInteger maxHp = new AtomicInteger(Integer.MIN_VALUE); in computeMinMax() local
96 if (monster.hp() > maxHp.get()) { in computeMinMax()
98 maxHp.set(monster.hp()); in computeMinMax()
102 else if (monster.hp() == maxHp.get()) { in computeMinMax()
119 … Stat maxHpStat = GameFactory.createStat(maxHpMonsterName.get(), maxHp.get(), maxHpCount.get()); in computeMinMax()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/flatbuffers/src/grpc/tests/
H A DJavaGrpcTest.java86 final AtomicInteger maxHp = new AtomicInteger(Integer.MIN_VALUE); in computeMinMax() local
96 if (monster.hp() > maxHp.get()) { in computeMinMax()
98 maxHp.set(monster.hp()); in computeMinMax()
102 else if (monster.hp() == maxHp.get()) { in computeMinMax()
119 … Stat maxHpStat = GameFactory.createStat(maxHpMonsterName.get(), maxHp.get(), maxHpCount.get()); in computeMinMax()
/dports/security/vault/vault-1.8.2/vendor/github.com/google/flatbuffers/grpc/tests/
H A DJavaGrpcTest.java86 final AtomicInteger maxHp = new AtomicInteger(Integer.MIN_VALUE); in computeMinMax() local
96 if (monster.hp() > maxHp.get()) { in computeMinMax()
98 maxHp.set(monster.hp()); in computeMinMax()
102 else if (monster.hp() == maxHp.get()) { in computeMinMax()
119 … Stat maxHpStat = GameFactory.createStat(maxHpMonsterName.get(), maxHp.get(), maxHpCount.get()); in computeMinMax()
/dports/www/osrm-backend/osrm-backend-5.26.0/third_party/flatbuffers/grpc/tests/
H A DJavaGrpcTest.java86 final AtomicInteger maxHp = new AtomicInteger(Integer.MIN_VALUE); in computeMinMax() local
96 if (monster.hp() > maxHp.get()) { in computeMinMax()
98 maxHp.set(monster.hp()); in computeMinMax()
102 else if (monster.hp() == maxHp.get()) { in computeMinMax()
119 … Stat maxHpStat = GameFactory.createStat(maxHpMonsterName.get(), maxHp.get(), maxHpCount.get()); in computeMinMax()
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/graphics/
H A Dparticle_type.h84 int maxHp; variable
105 int getMaxHp() const { return maxHp;} in getMaxHp()
110 void setMaxHp(int value) { maxHp=value;} in setMaxHp()
H A Dparticle_type.cpp53 maxHp=0; in ParticleSystemType()
134 this->maxHp = src.maxHp; in copyAll()
377 maxHp = particleSystemTypeNode->getAttribute("maxHp")->getIntValue(); in loadGame()
437 particleSystemTypeNode->addAttribute("maxHp",intToStr(maxHp), mapTagReplacements); in saveGame()
/dports/games/manaplus/manaplus-2.1.3.17/src/gui/popups/
H A Dbeingpopup.cpp294 const int maxHp = b->getMaxHP(); in show() local
295 if (maxHp > 0) in show()
299 hp = maxHp - b->getDamageTaken(); in show()
306 maxHp)); in show()
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/types/
H A Dupgrade_type.cpp47 maxHp = source->maxHp; in copyDataFrom()
89 maxHp = 0; in load()
657 maxHp = upgradeTypeBaseNode->getAttribute("maxHp")->getIntValue(); in loadGameBoost()
1124 maxHp= 0; in reset()
1173 maxHp = newValue; in sum()
1176 maxHp += newValue; in sum()
1193 maxHp = newValue; in sum()
1196 maxHp += newValue; in sum()
1476 return maxHp + getMaxHpFromBoosts(); in getMaxHp()
1605 maxHp += ut->getMaxHp()*50/100; in incLevel()
[all …]
H A Dunit_type.cpp133 maxHp=0; in UnitType()
150 addItemToVault(&(this->maxHp),this->maxHp); in UnitType()
265 maxHp = parametersNode->getChild("max-hp")->getAttribute("value")->getIntValue(); in loaddd()
266 addItemToVault(&(this->maxHp),this->maxHp); in loaddd()
1124 checkItemInVault(&(this->maxHp),this->maxHp); in getTotalMaxHp()
1125 int result = maxHp + totalUpgrade->getMaxHp(); in getTotalMaxHp()
1296 result += " maxHp = " + intToStr(maxHp); in toString()
H A Dupgrade_type.h57 int maxHp; variable
125 maxHp = 0;; in UpgradeTypeBase()
151 virtual int getMaxHp() const {return maxHp;} in getMaxHp()
H A Dunit_type.h169 int maxHp; variable
258 inline int getMaxHp() const {return maxHp;} in getMaxHp()
/dports/games/nazghul/nazghul-0.7.1/src/
H A Dvehicle.h45 int maxHp,
76 int maxHp; variable
/dports/emulators/mess/mame-mame0226/3rdparty/sol2/docs/source/api/
H A Dproperty.rst39 int maxHp = 50;
55 "maxHp", sol::property(&Player::get_max_hp, &Player::set_max_hp)
/dports/emulators/mame/mame-mame0226/3rdparty/sol2/docs/source/api/
H A Dproperty.rst39 int maxHp = 50;
55 "maxHp", sol::property(&Player::get_max_hp, &Player::set_max_hp)
/dports/games/manaplus/manaplus-2.1.3.17/src/
H A Davatar.h99 void setMaxHp(const int maxHp) in setMaxHp() argument
100 { mMaxHp = maxHp; } in setMaxHp()
/dports/games/manaplus/manaplus-2.1.3.17/src/gui/windows/
H A Dstatuswindow.cpp404 const int maxHp = PlayerInfo::getAttribute(Attributes::PLAYER_MAX_HP); in updateHPBar() local
406 bar->setText(toString(hp).append("/").append(toString(maxHp))); in updateHPBar()
411 if (maxHp > 0) in updateHPBar()
412 prog = static_cast<float>(hp) / static_cast<float>(maxHp); in updateHPBar()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dstart_location.cpp419 const int maxHp = u.get_hp_max( bp ); in handle_heli_crash() local
421 const int dmg = static_cast<int>( rng( maxHp / 3, maxHp * 2 / 3 ) ); in handle_heli_crash()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dstart_location.cpp419 const int maxHp = u.get_hp_max( bp ); in handle_heli_crash() local
421 const int dmg = static_cast<int>( rng( maxHp / 3, maxHp * 2 / 3 ) ); in handle_heli_crash()

12