Tidy up some code and patterns

This commit is contained in:
Willy-JL
2023-10-21 04:36:38 +01:00
parent 8fe0650bed
commit 9d3e347f35
13 changed files with 183 additions and 187 deletions

View File

@@ -16,18 +16,18 @@ typedef enum {
ContinuityTypeNearbyInfo = 0x10,
ContinuityTypeCustomCrash,
ContinuityTypeCount
ContinuityTypeCOUNT
} ContinuityType;
typedef struct {
ContinuityType type;
union {
struct {
uint16_t model_id;
uint16_t model;
uint8_t prefix;
} proximity_pair;
struct {
uint8_t type;
uint8_t action;
uint8_t flags;
} nearby_action;
} data;