equal
deleted
inserted
replaced
30 |
30 |
31 extern const Bridge orig_bridge[MAX_BRIDGES]; |
31 extern const Bridge orig_bridge[MAX_BRIDGES]; |
32 extern Bridge _bridge[MAX_BRIDGES]; |
32 extern Bridge _bridge[MAX_BRIDGES]; |
33 |
33 |
34 Foundation GetBridgeFoundation(Slope tileh, Axis axis); |
34 Foundation GetBridgeFoundation(Slope tileh, Axis axis); |
|
35 bool HasBridgeFlatRamp(Slope tileh, Axis axis); |
35 |
36 |
36 static inline const Bridge *GetBridge(uint i) |
37 static inline const Bridge *GetBridge(uint i) |
37 { |
38 { |
38 assert(i < lengthof(_bridge)); |
39 assert(i < lengthof(_bridge)); |
39 return &_bridge[i]; |
40 return &_bridge[i]; |