mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-02 16:23:57 +03:00
Fixed event typedefs
This commit is contained in:
parent
c05a489d60
commit
f949f675a2
@ -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…
Reference in New Issue
Block a user