diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
commit | 979ccd45baa9a38169661ba379a341cae8619c3b (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/table/ai_rail.h | |
parent | 4169bfba0604b33bad92389bd3eb6f9acde89f49 (diff) | |
download | openttd-979ccd45baa9a38169661ba379a341cae8619c3b.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/table/ai_rail.h')
-rw-r--r-- | src/table/ai_rail.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/table/ai_rail.h b/src/table/ai_rail.h index 218f33f3d..bbb094728 100644 --- a/src/table/ai_rail.h +++ b/src/table/ai_rail.h @@ -1,24 +1,24 @@ /* $Id$ */ -typedef struct { +struct AiDefaultBlockData { byte mode; byte attr; TileIndexDiffC tileoffs; -} AiDefaultBlockData; +}; -typedef struct { +struct AiDefaultRailBlock { byte p0; byte p1; byte p2; byte p3; byte dir; const AiDefaultBlockData *data; -} AiDefaultRailBlock; +}; -typedef struct { +struct AiDefaultRoadBlock { byte dir; const AiDefaultBlockData *data; -} AiDefaultRoadBlock; +}; #define MKHDR(a,b,c,d,e) a,b,c,d,e, |