Searched refs:GetRemainingStep (Results 1 – 8 of 8) sorted by relevance
/dports/games/easyrpg-player/Player-0.7.0/src/ |
H A D | game_character.cpp | 67 …int jump_height = (GetRemainingStep() > SCREEN_TILE_SIZE / 2 ? SCREEN_TILE_SIZE - GetRemainingStep… in GetJumpHeight() 154 SetRemainingStep(GetRemainingStep() - amount); in UpdateMovement() 155 if (GetRemainingStep() <= 0) { in UpdateMovement() 779 x -= GetRemainingStep(); in GetSpriteX() 781 x += GetRemainingStep(); in GetSpriteX() 783 x -= ((GetX() - GetBeginJumpX()) * GetRemainingStep()); in GetSpriteX() 795 y -= GetRemainingStep(); in GetSpriteY() 797 y += GetRemainingStep(); in GetSpriteY() 799 y -= (GetY() - GetBeginJumpY()) * GetRemainingStep(); in GetSpriteY()
|
H A D | game_character.h | 721 int GetRemainingStep() const; 1158 inline int Game_Character::GetRemainingStep() const { in GetRemainingStep() function 1175 return !IsJumping() && GetRemainingStep() > 0; in IsMoving()
|
H A D | game_vehicle.cpp | 131 SetRemainingStep(rider->GetRemainingStep()); in SyncWithRider()
|
/dports/games/easyrpg-player/Player-0.7.0/tests/ |
H A D | game_character_moveto.cpp | 36 REQUIRE_EQ(ch.GetRemainingStep(), remaining_step); in testChar()
|
H A D | game_player_input.cpp | 31 REQUIRE_EQ(ch.GetRemainingStep(), remaining_step); in testPos()
|
H A D | game_character_move.cpp | 42 REQUIRE_EQ(ch.GetRemainingStep(), remaining_step); in testChar() 46 REQUIRE_EQ(ch.GetRemainingStep(), remaining_step); in testChar()
|
H A D | game_character.cpp | 132 REQUIRE_EQ(ch.GetRemainingStep(), 0); in testInit() 353 REQUIRE_EQ(ch.GetRemainingStep(), 889); in testBasicSet()
|
H A D | move_route.cpp | 74 REQUIRE_GE(ch.GetRemainingStep(), 0); in testMoveRouteMove() 75 REQUIRE_EQ(ch.GetRemainingStep(), remaining_step); in testMoveRouteMove() 101 REQUIRE_GE(ch.GetRemainingStep(), 0); in testMoveRouteJump() 102 REQUIRE_EQ(ch.GetRemainingStep(), remaining_step); in testMoveRouteJump()
|