Home
last modified time | relevance | path

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

/dports/games/easyrpg-player/Player-0.7.0/src/
H A Dgame_event.cpp486 SetStopCount(Rand::GetRandomNumber(0, GetMaxStopCount())); in MoveTypeRandom()
493 if (IsWaitingForegroundExecution() || (GetStopCount() >= GetMaxStopCount() + 60)) { in MoveTypeRandom()
507 if (GetStopCount() < GetMaxStopCount()) return; in MoveTypeCycle()
519 if (IsStopping() && GetStopCount() >= GetMaxStopCount() + 20) { in MoveTypeCycle()
524 if (IsWaitingForegroundExecution() || (GetStopCount() >= GetMaxStopCount() + 60)) { in MoveTypeCycle()
575 if (IsWaitingForegroundExecution() || (GetStopCount() >= GetMaxStopCount() + 60)) { in MoveTypeTowardsOrAwayPlayer()
H A Dgame_character.h385 int GetMaxStopCount() const;
1122 inline int Game_Character::GetMaxStopCount() const { in GetMaxStopCount() function
1131 return GetStopCount() < GetMaxStopCount(); in IsStopCountActive()
/dports/games/easyrpg-player/Player-0.7.0/tests/
H A Dgame_character_move.cpp50 REQUIRE_EQ(ch.GetMaxStopCount(), max_stop_count); in testChar()
82 const auto maxstop = ch.GetMaxStopCount(); in testMove()
207 const auto maxstop = ch.GetMaxStopCount(); in testJump()
296 REQUIRE_EQ(ch.GetMaxStopCount(), 200); in testStop()
H A Dgame_character_moveto.cpp39 REQUIRE_EQ(ch.GetMaxStopCount(), max_stop_count); in testChar()
H A Dgame_player_input.cpp34 REQUIRE_EQ(ch.GetMaxStopCount(), max_stop_count); in testPos()
H A Dgame_character.cpp116 REQUIRE_EQ(ch.GetMaxStopCount(), max_stop_count); in testInit()
341 REQUIRE_EQ(ch.GetMaxStopCount(), 99); in testBasicSet()
H A Dmove_route.cpp42 REQUIRE_EQ(ch.GetMaxStopCount(), max_stop_count); in testMoveRoute()