.
This commit is contained in:
@@ -1527,17 +1527,19 @@ void Game::initPaths()
|
||||
|
||||
for (int i = 0; i < first_part; ++i)
|
||||
{
|
||||
stage_bitmap_path_[i] = (sin[(int)((i * 1.8f) + 90)] * (distance) + center_point);
|
||||
int index = static_cast<int>((i * 1.8f) + 90) % 360;
|
||||
stage_bitmap_path_[i] = sin[index] * distance + center_point;
|
||||
}
|
||||
|
||||
for (int i = first_part; i < second_part; ++i)
|
||||
{
|
||||
stage_bitmap_path_[i] = (int)center_point;
|
||||
stage_bitmap_path_[i] = center_point;
|
||||
}
|
||||
|
||||
for (int i = second_part; i < STAGE_COUNTER_; ++i)
|
||||
{
|
||||
stage_bitmap_path_[i] = (sin[(int)(((i - 149) * 1.8f) + 90)] * (center_point + 17) - 17);
|
||||
int index = static_cast<int>(((i - 149) * 1.8f) + 90) % 360;
|
||||
stage_bitmap_path_[i] = sin[index] * (center_point + 17) - 17;
|
||||
}
|
||||
|
||||
// Letrero de GetReady
|
||||
|
||||
Reference in New Issue
Block a user