From 9ad7f87ca91c0b62e8f6e2d63b690dbf86e847be Mon Sep 17 00:00:00 2001 From: Steve Date: Tue, 12 Apr 2016 08:41:13 +0100 Subject: [PATCH] Misc. tidy up. --- src/structs.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/structs.h b/src/structs.h index 4361c24..f154267 100644 --- a/src/structs.h +++ b/src/structs.h @@ -35,7 +35,6 @@ typedef struct Pulse Pulse; typedef struct Widget Widget; typedef struct HudMessage HudMessage; typedef struct MessageBox MessageBox; -typedef struct GridCell GridCell; typedef struct ScriptRunner ScriptRunner; typedef struct Location Location; typedef struct Bucket Bucket; @@ -475,25 +474,21 @@ typedef struct { SDL_Color darkGrey; } Colors; -struct Bucket -{ +struct Bucket { char *key, *value; Bucket *next; }; -typedef struct -{ +typedef struct { Bucket **bucket; int *bucketCount; } HashTable; -typedef struct -{ +typedef struct { int32_t magicNumber, version, stringCount; int32_t originalOffset, translationOffset; } MOHeader; -typedef struct -{ +typedef struct { int32_t length, offset; } MOEntry;