Add names to all typedef'd structs, unions, and enums (#2028)

* Add names to all typedef'd structs, unions, and enums

* wtf vs code

* Use a better regex
This commit is contained in:
cadmic
2024-08-12 00:07:48 -07:00
committed by GitHub
parent 672728455d
commit e6bc4bd8cb
426 changed files with 1417 additions and 1417 deletions
+6 -6
View File
@@ -1,28 +1,28 @@
#include "global.h"
typedef struct {
typedef struct F3dzexConst {
/* 0x00 */ u32 value;
/* 0x04 */ const char* name;
} F3dzexConst; // size = 0x8
typedef struct {
typedef struct F3dzexFlag {
/* 0x00 */ u32 value;
/* 0x04 */ const char* setName;
/* 0x08 */ const char* unsetName;
} F3dzexFlag; // size = 0x0C
typedef struct {
typedef struct F3dzexRenderMode {
/* 0x00 */ const char* name;
/* 0x04 */ u32 value;
/* 0x08 */ u32 mask;
} F3dzexRenderMode; // size = 0x0C
typedef struct {
typedef struct F3dzexSetModeMacroValue {
/* 0x00 */ const char* name;
/* 0x04 */ u32 value;
} F3dzexSetModeMacroValue; // size = 0x8
typedef struct {
typedef struct F3dzexSetModeMacro {
/* 0x00 */ const char* name;
/* 0x04 */ u32 shift;
/* 0x08 */ u32 len;
@@ -69,7 +69,7 @@ F3dzexFlag sUCodeDisasMtxFlags[] = {
F3DZEX_FLAG(G_MTX_PUSH, G_MTX_NOPUSH),
};
typedef enum {
typedef enum CombinerArg {
COMBINER_A = 1,
COMBINER_B,
COMBINER_C,