Home
last modified time | relevance | path

Searched refs:GetStopCount (Results 1 – 9 of 9) sorted by relevance

/dports/games/easyrpg-player/Player-0.7.0/src/
H A Dgame_event.cpp493 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.cpp137 if (GetStopCount() == 0 || IsMoveRouteOverwritten() || in Update()
139 SetStopCount(GetStopCount() + 1); in Update()
202 || GetStopCount() == 0 in UpdateAnimation()
209 || (GetStopCount() == 0 && GetAnimCount() >= stationary_limit)) { in UpdateAnimation()
H A Dgame_character.h373 int GetStopCount() const;
1114 inline int Game_Character::GetStopCount() const { in GetStopCount() function
1131 return GetStopCount() < GetMaxStopCount(); in IsStopCountActive()
H A Dgame_vehicle.cpp165 const auto limit = GetStopCount() ? 16 : 12; in UpdateAnimation()
/dports/games/easyrpg-player/Player-0.7.0/tests/
H A Dgame_character_moveto.cpp38 REQUIRE_EQ(ch.GetStopCount(), stop_count); in testChar()
H A Dgame_player_input.cpp33 REQUIRE_EQ(ch.GetStopCount(), stop_count); in testPos()
H A Dgame_character_move.cpp49 REQUIRE_EQ(ch.GetStopCount(), stop_count); in testChar()
295 REQUIRE_EQ(ch.GetStopCount(), 99); in testStop()
H A Dgame_character.cpp115 REQUIRE_EQ(ch.GetStopCount(), 0); in testInit()
338 REQUIRE_EQ(ch.GetStopCount(), 78); in testBasicSet()
H A Dmove_route.cpp41 REQUIRE_EQ(ch.GetStopCount(), stop_count); in testMoveRoute()