/dports/games/fheroes2/fheroes2-0.9.11/src/engine/ |
H A D | rand.h | 116 class DeterministicRandomGenerator 119 explicit DeterministicRandomGenerator( const size_t initialSeed ); 122 DeterministicRandomGenerator( const DeterministicRandomGenerator & ) = delete; 123 DeterministicRandomGenerator & operator=( const DeterministicRandomGenerator & ) = delete;
|
H A D | rand.cpp | 129 Rand::DeterministicRandomGenerator::DeterministicRandomGenerator( const size_t initialSeed ) in DeterministicRandomGenerator() function in Rand::DeterministicRandomGenerator 133 size_t Rand::DeterministicRandomGenerator::GetSeed() const in GetSeed() 138 void Rand::DeterministicRandomGenerator::UpdateSeed( const size_t seed ) in UpdateSeed() 143 uint32_t Rand::DeterministicRandomGenerator::Get( const uint32_t from, const uint32_t to /*= 0*/ ) … in Get()
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/battle/ |
H A D | battle_catapult.h | 34 class DeterministicRandomGenerator; variable 54 …explicit Catapult( const HeroBase & hero, const Rand::DeterministicRandomGenerator & randomGenerat… 71 const Rand::DeterministicRandomGenerator & _randomGenerator;
|
H A D | battle_army.h | 31 class DeterministicRandomGenerator; variable 59 …Force( Army & parent, bool opposite, const Rand::DeterministicRandomGenerator & randomGenerator, T…
|
H A D | battle_troop.h | 40 class DeterministicRandomGenerator; variable 78 …Unit( const Troop &, int32_t pos, bool reflect, const Rand::DeterministicRandomGenerator & randomG… 220 const Rand::DeterministicRandomGenerator & _randomGenerator;
|
H A D | battle_arena.h | 73 …ena( Army & army1, Army & army2, s32 index, bool local, Rand::DeterministicRandomGenerator & rando… 163 const Rand::DeterministicRandomGenerator & GetRandomGenerator() const; 252 Rand::DeterministicRandomGenerator & _randomGenerator;
|
H A D | battle_tower.cpp | 32 Battle::Tower::Tower( const Castle & castle, int twr, const Rand::DeterministicRandomGenerator & ra… in Tower() 141 Tower twr = Tower( cstl, *it, Rand::DeterministicRandomGenerator( 0 ), 0 ); in GetInfo()
|
H A D | battle_tower.h | 42 …Tower( const Castle &, int, const Rand::DeterministicRandomGenerator & randomGenerator, const uint…
|
H A D | battle_main.cpp | 44 …llAction( HeroBase &, const SpellStorage &, bool, const Rand::DeterministicRandomGenerator & rando… 215 Rand::DeterministicRandomGenerator randomGenerator( battleSeed ); in Loader() 328 … & hero, const SpellStorage & spells, bool local, const Rand::DeterministicRandomGenerator & rando… in EagleEyeSkillAction()
|
H A D | battle_catapult.cpp | 30 Battle::Catapult::Catapult( const HeroBase & hero, const Rand::DeterministicRandomGenerator & rando… in Catapult()
|
H A D | battle_army.cpp | 131 Battle::Force::Force( Army & parent, bool opposite, const Rand::DeterministicRandomGenerator & rand… in Force()
|
H A D | battle_arena.cpp | 175 …na::Arena( Army & a1, Army & a2, s32 index, bool local, Rand::DeterministicRandomGenerator & rando… in Arena() 1280 const Rand::DeterministicRandomGenerator & Battle::Arena::GetRandomGenerator() const in GetRandomGenerator()
|
H A D | battle_troop.cpp | 106 …it::Unit( const Troop & t, int32_t pos, bool ref, const Rand::DeterministicRandomGenerator & rando… in Unit()
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/ai/normal/ |
H A D | ai_normal.h | 121 const Rand::DeterministicRandomGenerator * _randomGenerator = nullptr;
|
H A D | ai_normal_battle.cpp | 75 …na, const Unit & attacker, const Unit & defender, const Rand::DeterministicRandomGenerator & rando… in BestAttackOutcome()
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/castle/ |
H A D | castle.cpp | 2215 …const Battle::Tower tower( *this, Battle::TWR_CENTER, Rand::DeterministicRandomGenerator( 0 ), 0 ); in GetGarrisonStrength()
|