TPlunger ready. TEdgeManager v1.

This commit is contained in:
oz committed 2021-01-07 19:00:38 +03:00
1 parent 1ea247e185
commit 9bd064bf15
28 files changed
+866 -118

No files matched your search

+16 -3
View File
@@ -5,7 +5,20 @@ class TPlunger :
public TCollisionComponent
{
public:
TPlunger(TPinballTable* table, int groupIndex) : TCollisionComponent(table, groupIndex, true)
{
}
TPlunger(TPinballTable* table, int groupIndex);
void Collision(TBall* ball, vector_type* nextPosition, vector_type* direction, float coef,
TEdgeSegment* edge) override;
int Message(int code, float value) override;
static void BallFeedTimer(int timerId, void* caller);
static void PullbackTimer(int timerId, void* caller);
static void PlungerReleasedTimer(int timerId, void* caller);
int PullbackTimer_;
int BallFeedTimer_;
int MaxPullback;
int PullbackIncrement;
float Unknown4F;
int SoundIndexP1;
int SoundIndexP2;
};