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