(svn r3308) BAD

foo.h: int bar;

GOOD
foo.h: extern int bar;
foo.c: int bar;
This commit is contained in:
tron
2005-12-15 17:55:59 +00:00
parent ca52ec33b2
commit 28fe368b7f
4 changed files with 15 additions and 6 deletions

View File

@@ -55,6 +55,9 @@ const Bridge orig_bridge[] = {
{ 90, 2, 32, 510, 608, 0xA28 | PALETTE_TO_STRUCT_GREY , STR_BRIDGE_TUBULAR_SILICON , NULL, 0 }
};
Bridge _bridge[MAX_BRIDGES];
// calculate the price factor for building a long bridge.
// basically the cost delta is 1,1, 1, 2,2, 3,3,3, 4,4,4,4, 5,5,5,5,5, 6,6,6,6,6,6, 7,7,7,7,7,7,7, 8,8,8,8,8,8,8,8,
int CalcBridgeLenCostFactor(int x)