Home
last modified time | relevance | path

Searched refs:GetRemainingStep (Results 1 – 8 of 8) sorted by relevance

/dports/games/easyrpg-player/Player-0.7.0/src/
H A Dgame_character.cpp67 …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 Dgame_character.h721 int GetRemainingStep() const;
1158 inline int Game_Character::GetRemainingStep() const { in GetRemainingStep() function
1175 return !IsJumping() && GetRemainingStep() > 0; in IsMoving()
H A Dgame_vehicle.cpp131 SetRemainingStep(rider->GetRemainingStep()); in SyncWithRider()
/dports/games/easyrpg-player/Player-0.7.0/tests/
H A Dgame_character_moveto.cpp36 REQUIRE_EQ(ch.GetRemainingStep(), remaining_step); in testChar()
H A Dgame_player_input.cpp31 REQUIRE_EQ(ch.GetRemainingStep(), remaining_step); in testPos()
H A Dgame_character_move.cpp42 REQUIRE_EQ(ch.GetRemainingStep(), remaining_step); in testChar()
46 REQUIRE_EQ(ch.GetRemainingStep(), remaining_step); in testChar()
H A Dgame_character.cpp132 REQUIRE_EQ(ch.GetRemainingStep(), 0); in testInit()
353 REQUIRE_EQ(ch.GetRemainingStep(), 889); in testBasicSet()
H A Dmove_route.cpp74 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()