mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-03-12 02:10:11 +03:00
Fixed event typedefs
This commit is contained in:
parent
d0fb09f25c
commit
acf7032b85
@ -6,18 +6,18 @@
|
|||||||
|
|
||||||
typedef uint16_t EventID;
|
typedef uint16_t EventID;
|
||||||
|
|
||||||
typedef enum EventType {
|
typedef enum {
|
||||||
EVENT_TYPE_PRE,
|
EVENT_TYPE_PRE,
|
||||||
EVENT_TYPE_POST
|
EVENT_TYPE_POST
|
||||||
} EventType;
|
} EventType;
|
||||||
|
|
||||||
typedef enum EventPriority {
|
typedef enum {
|
||||||
EVENT_PRIORITY_LOW,
|
EVENT_PRIORITY_LOW,
|
||||||
EVENT_PRIORITY_NORMAL,
|
EVENT_PRIORITY_NORMAL,
|
||||||
EVENT_PRIORITY_HIGH,
|
EVENT_PRIORITY_HIGH,
|
||||||
} EventPriority;
|
} EventPriority;
|
||||||
|
|
||||||
typedef struct IEvent {
|
typedef struct {
|
||||||
bool cancelled;
|
bool cancelled;
|
||||||
} IEvent;
|
} IEvent;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user