SpaceCadetPinballEmscripten/SpaceCadetPinball/TPinballComponent.h

35 lines
732 B
C
Raw Normal View History

#pragma once
2020-12-19 15:49:31 +01:00
2020-12-25 14:46:06 +01:00
struct render_sprite_type_struct;
struct component_control;
class TPinballTable;
2020-12-25 14:46:06 +01:00
class TZmapList;
enum class message_code
{
Reset = 1024,
2020-12-25 14:46:06 +01:00
};
class TPinballComponent
2020-11-04 14:22:52 +01:00
{
public:
TPinballComponent(TPinballTable* table, int groupIndex, bool loadVisuals);
2020-11-04 14:22:52 +01:00
virtual ~TPinballComponent();
virtual int Message(int code, float value);
virtual void port_draw();
2020-12-19 15:49:31 +01:00
virtual void put_scoring(int scoreId, int value);
2020-11-04 14:22:52 +01:00
virtual int get_scoring(int score1);
__int8 UnknownBaseFlag1;
__int8 UnknownBaseFlag2;
2020-11-04 14:22:52 +01:00
int MessageField;
char* GroupName;
int Unknown4;
2020-12-19 15:49:31 +01:00
component_control* Control;
int GroupIndex;
2020-11-08 16:37:59 +01:00
render_sprite_type_struct* RenderSprite;
TPinballTable* PinballTable;
2020-11-08 16:37:59 +01:00
TZmapList* ListBitmap;
TZmapList* ListZMap;
};