aboutsummaryrefslogtreecommitdiff
path: root/src/ARCodeFile.h
diff options
context:
space:
mode:
authorRSDuck <rsduck@users.noreply.github.com>2021-01-02 11:38:06 +0100
committerRSDuck <rsduck@users.noreply.github.com>2021-01-02 11:38:06 +0100
commit7d448d911d862c06255873820aee32487fbc4943 (patch)
tree2b13cf334c84a48f927fdfe33ff61a6d181547da /src/ARCodeFile.h
parente2c61b28e037a7283e4c7278a30ec06f25d6e948 (diff)
use C++ style structs everywhere
Diffstat (limited to 'src/ARCodeFile.h')
-rw-r--r--src/ARCodeFile.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ARCodeFile.h b/src/ARCodeFile.h
index 374c56e..56dfff7 100644
--- a/src/ARCodeFile.h
+++ b/src/ARCodeFile.h
@@ -23,23 +23,21 @@
#include "types.h"
-typedef struct
+struct ARCode
{
char Name[128];
bool Enabled;
u32 CodeLen;
u32 Code[2*64];
-
-} ARCode;
+};
typedef std::list<ARCode> ARCodeList;
-typedef struct
+struct ARCodeCat
{
char Name[128];
ARCodeList Codes;
-
-} ARCodeCat;
+};
typedef std::list<ARCodeCat> ARCodeCatList;