Message code enum part 3: light and light group.

This commit is contained in:
Muzychenko Andrey committed 2022-09-06 16:48:09 +03:00
1 parent 803ca14ef2
commit e80010e3c6
11 files changed
+640 -635

No files matched your search

+4 -4
View File
@@ -7,19 +7,19 @@ class TLight;
struct TLightGroup_player_backup
{
int MessageField;
int MessageField2;
MessageCode MessageField2;
float Timer1Time;
int Unknown3;
};
class TLightGroup :
public TPinballComponent
public TPinballComponent2
{
public:
TLightGroup(TPinballTable* table, int groupIndex);
~TLightGroup() override = default;
int Message(int code, float value) override;
int Message2(MessageCode code, float value) override;
virtual void Reset();
void reschedule_animation(float time);
void start_animation();
@@ -32,7 +32,7 @@ public:
std::vector<TLight*> List;
float Timer1Time{};
float Timer1TimeDefault;
int MessageField2{};
MessageCode MessageField2{};
int AnimationFlag{};
int NotifyTimer;
int Timer;