equal
deleted
inserted
replaced
31 * Gets the maximum sign index; there are no valid signs with a higher index. |
31 * Gets the maximum sign index; there are no valid signs with a higher index. |
32 * @return The maximum sign index. |
32 * @return The maximum sign index. |
33 * @post Return value is always non-negative. |
33 * @post Return value is always non-negative. |
34 */ |
34 */ |
35 static SignID GetMaxSignID(); |
35 static SignID GetMaxSignID(); |
36 |
|
37 /** |
|
38 * Gets the number of signs. This is different than GetMaxSignID() |
|
39 * because of the way OpenTTD works internally. |
|
40 * @return The number of signs. |
|
41 * @post Return value is always non-negative. |
|
42 */ |
|
43 static int32 GetSignCount(); |
|
44 |
36 |
45 /** |
37 /** |
46 * Checks whether the given sign index is valid. |
38 * Checks whether the given sign index is valid. |
47 * @param sign_id The index to check. |
39 * @param sign_id The index to check. |
48 * @return True if and only if the sign is valid. |
40 * @return True if and only if the sign is valid. |