mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2023-12-30 21:52:56 +00:00
de76557325
Demangled and simplified cheat controller. TKickout temp Z in FT mode. Flipper animation frame advance. Fuel bar graph light states.
27 lines
611 B
C++
27 lines
611 B
C++
#pragma once
|
|
#include "TCollisionComponent.h"
|
|
|
|
class TFlipperEdge;
|
|
|
|
class TFlipper :
|
|
public TCollisionComponent
|
|
{
|
|
public:
|
|
TFlipper(TPinballTable* table, int groupIndex);
|
|
~TFlipper() override;
|
|
int Message(int code, float value) override;
|
|
void port_draw() override;
|
|
void Collision(TBall* ball, vector_type* nextPosition, vector_type* direction, float coef,
|
|
TEdgeSegment* edge) override;
|
|
|
|
static void TimerExpired(int timerId, void* caller);
|
|
|
|
int BmpIndex;
|
|
TFlipperEdge* FlipperEdge;
|
|
int Timer;
|
|
float ExtendAnimationFrameTime;
|
|
float RetractAnimationFrameTime;
|
|
float TimerTime;
|
|
float InputTime;
|
|
};
|