Misc. tidy up.

This commit is contained in:
Steve 2016-04-12 08:41:13 +01:00
parent 52e219473c
commit 9ad7f87ca9
1 changed files with 4 additions and 9 deletions

View File

@ -35,7 +35,6 @@ typedef struct Pulse Pulse;
typedef struct Widget Widget; typedef struct Widget Widget;
typedef struct HudMessage HudMessage; typedef struct HudMessage HudMessage;
typedef struct MessageBox MessageBox; typedef struct MessageBox MessageBox;
typedef struct GridCell GridCell;
typedef struct ScriptRunner ScriptRunner; typedef struct ScriptRunner ScriptRunner;
typedef struct Location Location; typedef struct Location Location;
typedef struct Bucket Bucket; typedef struct Bucket Bucket;
@ -475,25 +474,21 @@ typedef struct {
SDL_Color darkGrey; SDL_Color darkGrey;
} Colors; } Colors;
struct Bucket struct Bucket {
{
char *key, *value; char *key, *value;
Bucket *next; Bucket *next;
}; };
typedef struct typedef struct {
{
Bucket **bucket; Bucket **bucket;
int *bucketCount; int *bucketCount;
} HashTable; } HashTable;
typedef struct typedef struct {
{
int32_t magicNumber, version, stringCount; int32_t magicNumber, version, stringCount;
int32_t originalOffset, translationOffset; int32_t originalOffset, translationOffset;
} MOHeader; } MOHeader;
typedef struct typedef struct {
{
int32_t length, offset; int32_t length, offset;
} MOEntry; } MOEntry;