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 | 24c4d5b06d231785db01500360c26815d8fe4d15 (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/tgp.cpp | |
parent | 36bb92ae241403d61dc7a3e5a1696b615be61395 (diff) | |
download | openttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/tgp.cpp')
-rw-r--r-- | src/tgp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tgp.cpp b/src/tgp.cpp index 1b02ce183..addc3d16f 100644 --- a/src/tgp.cpp +++ b/src/tgp.cpp @@ -165,14 +165,14 @@ typedef int amplitude_t; static const int amplitude_decimal_bits = 10; /** Height map - allocated array of heights (MapSizeX() + 1) x (MapSizeY() + 1) */ -typedef struct HeightMap +struct HeightMap { height_t *h; //! array of heights uint dim_x; //! height map size_x MapSizeX() + 1 uint total_size; //! height map total size uint size_x; //! MapSizeX() uint size_y; //! MapSizeY() -} HeightMap; +}; /** Global height map instance */ static HeightMap _height_map = {NULL, 0, 0, 0, 0}; |