tron
ef7fb8b515
(svn r3205) Some more uses for GB/SB
2005-11-16 13:11:28 +00:00
tron
ec57ef78a2
(svn r3205) Some more uses for GB/SB
2005-11-16 13:11:28 +00:00
tron
d09db07ca1
(svn r3204) Make handling of clicking on vehicles a bit less ugly by avoiding function declarations in .c files and unnecessary indirection
2005-11-16 12:52:01 +00:00
tron
8cebe2f607
(svn r3204) Make handling of clicking on vehicles a bit less ugly by avoiding function declarations in .c files and unnecessary indirection
2005-11-16 12:52:01 +00:00
tron
7b69def47a
(svn r3203) Directly use the currency symbols for pounds and yen in the language files like it's already done for dollar and euro
2005-11-16 12:37:22 +00:00
tron
272d63b062
(svn r3203) Directly use the currency symbols for pounds and yen in the language files like it's already done for dollar and euro
2005-11-16 12:37:22 +00:00
tron
3c0179dd07
(svn r3202) If cascade -> switch
2005-11-16 12:29:37 +00:00
tron
d177e5da67
(svn r3202) If cascade -> switch
2005-11-16 12:29:37 +00:00
tron
2001577f8f
(svn r3201) -Fix: Allow bribing up to the maximum rating for bribing, don't disable this option at some arbitrary value early
2005-11-16 12:25:33 +00:00
tron
aaed2a41a0
(svn r3201) -Fix: Allow bribing up to the maximum rating for bribing, don't disable this option at some arbitrary value early
2005-11-16 12:25:33 +00:00
tron
6f82be949f
(svn r3200) Remove the unused function GfxScalePalette() and the unused struct WorldSprite
2005-11-16 12:21:04 +00:00
tron
7a7847ed61
(svn r3200) Remove the unused function GfxScalePalette() and the unused struct WorldSprite
2005-11-16 12:21:04 +00:00
tron
e26b1ded99
(svn r3199) -Fix: There are only 2 possible directions for ship depots, not 4
2005-11-16 12:20:15 +00:00
tron
cc61dd4890
(svn r3199) -Fix: There are only 2 possible directions for ship depots, not 4
2005-11-16 12:20:15 +00:00
tron
839cb586a7
(svn r3198) Rewrite the company league drawing routine for better readability
2005-11-16 12:10:45 +00:00
tron
06a708b7b3
(svn r3198) Rewrite the company league drawing routine for better readability
2005-11-16 12:10:45 +00:00
tron
67dcf1ffd8
(svn r3197) Use a better bias so you can directly see the date range a disaster can happen in
2005-11-16 12:04:34 +00:00
tron
d76fc8d7d1
(svn r3197) Use a better bias so you can directly see the date range a disaster can happen in
2005-11-16 12:04:34 +00:00
tron
3bdb92446c
(svn r3196) Use structs instead of magic offsets into arrays
2005-11-16 12:01:46 +00:00
tron
ce9cbb9c47
(svn r3196) Use structs instead of magic offsets into arrays
2005-11-16 12:01:46 +00:00
tron
db012c135e
(svn r3195) Use bitfields instead of explicit shifting/masking
2005-11-16 11:55:06 +00:00
tron
8d57bfc921
(svn r3195) Use bitfields instead of explicit shifting/masking
2005-11-16 11:55:06 +00:00
tron
45186b1601
(svn r3194) Don't use FindLandscapeHeightByTile() when it's overkill
2005-11-16 11:52:21 +00:00
tron
1806293e46
(svn r3194) Don't use FindLandscapeHeightByTile() when it's overkill
2005-11-16 11:52:21 +00:00
tron
c87511026a
(svn r3193) Staticise the vehicle position hash
2005-11-16 11:50:40 +00:00
tron
62b2b4613f
(svn r3193) Staticise the vehicle position hash
2005-11-16 11:50:40 +00:00
tron
1d9e838a2b
(svn r3192) Split the surname list into two lists (non-toyland/toyland) and use lengthof() to get the number of names instead of using magic numbers
2005-11-16 11:17:52 +00:00
tron
784d41b650
(svn r3192) Split the surname list into two lists (non-toyland/toyland) and use lengthof() to get the number of names instead of using magic numbers
2005-11-16 11:17:52 +00:00
tron
ce398adf8e
(svn r3191) Move declaration and definition of _dbg_screen_rect to a place where it somewhat makes sense and wrap them in #ifdef _DEBUG
2005-11-16 08:35:26 +00:00
tron
1d109214bc
(svn r3191) Move declaration and definition of _dbg_screen_rect to a place where it somewhat makes sense and wrap them in #ifdef _DEBUG
2005-11-16 08:35:26 +00:00
tron
7289cc7c07
(svn r3190) Turn some loops into canonical for loop form
2005-11-15 11:46:49 +00:00
tron
3bf8d2ccbb
(svn r3190) Turn some loops into canonical for loop form
2005-11-15 11:46:49 +00:00
tron
ea5672ec8f
(svn r3189) There's a dedicated function to check if it's a hangar tile, so use it
2005-11-15 11:08:10 +00:00
tron
66d44766a7
(svn r3189) There's a dedicated function to check if it's a hangar tile, so use it
2005-11-15 11:08:10 +00:00
tron
e901aefb74
(svn r3188) Use CmdFailed() to check, if a command failed, don't compare with CMD_ERROR
2005-11-15 10:50:43 +00:00
tron
b5dafb8f94
(svn r3188) Use CmdFailed() to check, if a command failed, don't compare with CMD_ERROR
2005-11-15 10:50:43 +00:00
tron
3848d103c8
(svn r3187) Simplify overly complicated ifs, especially if (foo) return false; else return true; is confusing
2005-11-15 09:47:25 +00:00
tron
24f857ed5e
(svn r3187) Simplify overly complicated ifs, especially if (foo) return false; else return true; is confusing
2005-11-15 09:47:25 +00:00
tron
ca1dfe94d2
(svn r3186) Unnecessary casts and truncation
2005-11-15 09:05:16 +00:00
tron
9f8c5d8fd2
(svn r3186) Unnecessary casts and truncation
2005-11-15 09:05:16 +00:00
tron
8a3587fa28
(svn r3185) const
2005-11-15 09:00:02 +00:00
tron
b9729fb72e
(svn r3185) const
2005-11-15 09:00:02 +00:00
tron
84a16a0b30
(svn r3184) GB/SB
2005-11-15 08:49:46 +00:00
tron
1b0091e0d2
(svn r3184) GB/SB
2005-11-15 08:49:46 +00:00
tron
ba9157fbbc
(svn r3183) Remove an unused declaration and properly declare CheckExternalFiles() in a header
2005-11-15 08:40:45 +00:00
tron
8658560229
(svn r3183) Remove an unused declaration and properly declare CheckExternalFiles() in a header
2005-11-15 08:40:45 +00:00
tron
0e075e271e
(svn r3182) Fix braino in r3181
2005-11-14 20:20:24 +00:00
tron
7b7593d092
(svn r3182) Fix braino in r3181
2005-11-14 20:20:24 +00:00
tron
9d0e7b6458
(svn r3181) -Bracing
...
-Indentation
-Whitespace
-DeMorgan's Law
-Test with NULL or 0 for non-booleans
-'\0' instead of 0 for chars
-Remove redundantly redundant comments (like DoFoo(); // Do foo)
-Join multiple short lines with a single statement
-Split single lines with multiple statements
-Avoid assignments in if
2005-11-14 19:48:04 +00:00
tron
f7abff5f96
(svn r3181) -Bracing
...
-Indentation
-Whitespace
-DeMorgan's Law
-Test with NULL or 0 for non-booleans
-'\0' instead of 0 for chars
-Remove redundantly redundant comments (like DoFoo(); // Do foo)
-Join multiple short lines with a single statement
-Split single lines with multiple statements
-Avoid assignments in if
2005-11-14 19:48:04 +00:00