[SRC] Compiling clear_cmd.cpp /home/sionide/games/openttd/svn/src/clear_cmd.cpp:25: error: expected unqualified-id before ‘<<’ token /home/sionide/games/openttd/svn/src/signs.h:21: error: expected initializer before ‘*’ token /home/sionide/games/openttd/svn/src/signs.h:41: error: expected ‘,’ or ‘...’ before ‘*’ token /home/sionide/games/openttd/svn/src/signs.h:41: error: ISO C++ forbids declaration of ‘Sign’ with no type /home/sionide/games/openttd/svn/src/signs.h: In function ‘bool IsValidSign(int)’: /home/sionide/games/openttd/svn/src/signs.h:43: error: ‘si’ was not declared in this scope /home/sionide/games/openttd/svn/src/signs.h: In function ‘bool IsValidSignID(uint)’: /home/sionide/games/openttd/svn/src/signs.h:48: error: ‘GetSign’ was not declared in this scope /home/sionide/games/openttd/svn/src/signs.h: At global scope: /home/sionide/games/openttd/svn/src/signs.h:51: error: variable or field ‘DestroySign’ declared void /home/sionide/games/openttd/svn/src/signs.h:51: error: ‘Sign’ was not declared in this scope /home/sionide/games/openttd/svn/src/signs.h:51: error: ‘si’ was not declared in this scope /home/sionide/games/openttd/svn/src/signs.h:53: error: variable or field ‘DeleteSign’ declared void /home/sionide/games/openttd/svn/src/signs.h:53: error: ‘DeleteSign’ declared as an ‘inline’ variable /home/sionide/games/openttd/svn/src/signs.h:53: error: ‘Sign’ was not declared in this scope /home/sionide/games/openttd/svn/src/signs.h:53: error: ‘si’ was not declared in this scope /home/sionide/games/openttd/svn/src/signs.h:54: error: expected ‘,’ or ‘;’ before ‘{’ token /home/sionide/games/openttd/svn/src/signs.h: In function ‘SignID GetLastValidSignId()’: /home/sionide/games/openttd/svn/src/signs.h:64: error: ‘Sign’ was not declared in this scope /home/sionide/games/openttd/svn/src/signs.h:64: error: ‘si’ was not declared in this scope /home/sionide/games/openttd/svn/src/signs.h:64: error: ‘GetSign’ was not declared in this scope /home/sionide/games/openttd/svn/src/signs.h: At global scope: /home/sionide/games/openttd/svn/src/signs.h:72: error: variable or field ‘MarkSignDirty’ declared void /home/sionide/games/openttd/svn/src/signs.h:72: error: ‘Sign’ was not declared in this scope /home/sionide/games/openttd/svn/src/signs.h:72: error: ‘si’ was not declared in this scope /home/sionide/games/openttd/svn/src/signs.h:74: error: variable or field ‘UpdateSignVirtCoords’ declared void /home/sionide/games/openttd/svn/src/signs.h:74: error: ‘Sign’ was not declared in this scope /home/sionide/games/openttd/svn/src/signs.h:74: error: ‘si’ was not declared in this scope /home/sionide/games/openttd/svn/src/signs.h:78: error: expected ‘,’ or ‘...’ before ‘*’ token /home/sionide/games/openttd/svn/src/signs.h:78: error: ISO C++ forbids declaration of ‘Sign’ with no type /home/sionide/games/openttd/svn/src/signs.h:81: error: expected ‘,’ or ‘...’ before ‘*’ token /home/sionide/games/openttd/svn/src/signs.h:81: error: ISO C++ forbids declaration of ‘Sign’ with no type /home/sionide/games/openttd/svn/src/clear_cmd.cpp:27: error: expected unqualified-id before ‘==’ token /home/sionide/games/openttd/svn/src/water_map.h:28: error: ‘WaterTileType’ does not name a type /home/sionide/games/openttd/svn/src/water_map.h: In function ‘bool IsWater(TileIndex)’: /home/sionide/games/openttd/svn/src/water_map.h:40: error: ‘GetWaterTileType’ was not declared in this scope /home/sionide/games/openttd/svn/src/water_map.h:40: error: ‘WATER_TILE_CLEAR’ was not declared in this scope /home/sionide/games/openttd/svn/src/water_map.h: In function ‘bool IsCoast(TileIndex)’: /home/sionide/games/openttd/svn/src/water_map.h:45: error: ‘GetWaterTileType’ was not declared in this scope /home/sionide/games/openttd/svn/src/water_map.h:45: error: ‘WATER_TILE_COAST’ was not declared in this scope /home/sionide/games/openttd/svn/src/water_map.h: In function ‘bool IsCanal(TileIndex)’: /home/sionide/games/openttd/svn/src/water_map.h:50: error: ‘GetWaterTileType’ was not declared in this scope /home/sionide/games/openttd/svn/src/water_map.h:50: error: ‘WATER_TILE_CLEAR’ was not declared in this scope /home/sionide/games/openttd/svn/src/water_map.h: In function ‘byte GetSection(TileIndex)’: /home/sionide/games/openttd/svn/src/water_map.h:85: error: ‘GetWaterTileType’ was not declared in this scope /home/sionide/games/openttd/svn/src/water_map.h:85: error: ‘WATER_TILE_LOCK’ was not declared in this scope /home/sionide/games/openttd/svn/src/water_map.h:85: error: ‘WATER_TILE_DEPOT’ was not declared in this scope /home/sionide/games/openttd/svn/src/clear_cmd.cpp: At global scope: /home/sionide/games/openttd/svn/src/clear_cmd.cpp:29: error: expected unqualified-id before ‘>>’ token /home/sionide/games/openttd/svn/src/clear_cmd.cpp:47: error: ISO C++ forbids declaration of ‘TerraformerHeightMod’ with no type /home/sionide/games/openttd/svn/src/clear_cmd.cpp:47: error: expected ‘;’ before ‘*’ token /home/sionide/games/openttd/svn/src/clear_cmd.cpp: In function ‘int TerraformGetHeightOfTile(TerraformerState*, TileIndex)’: /home/sionide/games/openttd/svn/src/clear_cmd.cpp:68: error: ‘TerraformerHeightMod’ was not declared in this scope /home/sionide/games/openttd/svn/src/clear_cmd.cpp:68: error: ‘mod’ was not declared in this scope /home/sionide/games/openttd/svn/src/clear_cmd.cpp:68: error: ‘struct TerraformerState’ has no member named ‘modheight’ /home/sionide/games/openttd/svn/src/clear_cmd.cpp: In function ‘bool TerraformTileHeight(TerraformerState*, TileIndex, int)’: /home/sionide/games/openttd/svn/src/clear_cmd.cpp:174: error: ‘TerraformerHeightMod’ was not declared in this scope /home/sionide/games/openttd/svn/src/clear_cmd.cpp:174: error: ‘mod’ was not declared in this scope /home/sionide/games/openttd/svn/src/clear_cmd.cpp:196: error: ‘struct TerraformerState’ has no member named ‘modheight’ /home/sionide/games/openttd/svn/src/clear_cmd.cpp: In function ‘CommandCost CmdTerraformLand(TileIndex, uint32, uint32, uint32)’: /home/sionide/games/openttd/svn/src/clear_cmd.cpp:253: error: ‘TerraformerHeightMod’ was not declared in this scope /home/sionide/games/openttd/svn/src/clear_cmd.cpp:253: error: expected `;' before ‘modheight_data’ /home/sionide/games/openttd/svn/src/clear_cmd.cpp:264: error: ‘struct TerraformerState’ has no member named ‘modheight’ /home/sionide/games/openttd/svn/src/clear_cmd.cpp:264: error: ‘modheight_data’ was not declared in this scope /home/sionide/games/openttd/svn/src/clear_cmd.cpp:341: error: ‘mod’ was not declared in this scope /home/sionide/games/openttd/svn/src/clear_cmd.cpp:343: error: ‘struct TerraformerState’ has no member named ‘modheight’ /home/sionide/games/openttd/svn/src/clear_cmd.cpp:358: error: ‘Sign’ was not declared in this scope /home/sionide/games/openttd/svn/src/clear_cmd.cpp:358: error: ‘si’ was not declared in this scope /home/sionide/games/openttd/svn/src/clear_cmd.cpp:359: error: ‘GetSign’ was not declared in this scope /home/sionide/games/openttd/svn/src/clear_cmd.cpp:362: error: ‘UpdateSignVirtCoords’ cannot be used as a function /home/sionide/games/openttd/svn/src/clear_cmd.cpp:363: error: ‘MarkSignDirty’ cannot be used as a function /home/sionide/games/openttd/svn/src/signs.h: At global scope: /home/sionide/games/openttd/svn/src/signs.h:53: warning: ‘DeleteSign’ defined but not used make[1]: *** [clear_cmd.o] Error 1 make[1]: Leaving directory `/home/sionide/games/openttd/svn/objs/release' make: *** [all] Error 2