TRamp, TPinballTable ready.

This commit is contained in:
oz committed 2021-01-19 18:28:48 +03:00
1 parent f22077d8c8
commit 5252fb1b7e
10 files changed
+263 -39

No files matched your search

+2 -2
View File
@@ -100,7 +100,7 @@ void TDemo::Collision(TBall* ball, vector_type* nextPosition, vector_type* direc
ball->Position.Y = nextPosition->Y;
ball->RayMaxDistance -= coef;
switch (edge->WallValue)
switch (reinterpret_cast<int>(edge->WallValue))
{
case 1400:
if (!FlipLeftTimer && !FlipLeftFlag)
@@ -134,7 +134,7 @@ void TDemo::Collision(TBall* ball, vector_type* nextPosition, vector_type* direc
break;
default:
break;
}
}
}
void TDemo::PlungerRelease(int timerId, void* caller)