|
tron
|
r2989:c7c58e254010
|
19 years ago
|
|
(svn r3564) Several smaller changes: - Don't treat non-booleans as booleans - Reduce variable scope - Bracing - Use DeMorgan's law to make conditionals easier to read - if cascade -> switch - Replace some magic numbers by symbolic names - Avoid assignments within other statements
|
|
tron
|
r2654:85bc53a2472e
|
19 years ago
|
|
|
|
tron
|
r2548:9570bbbdacab
|
19 years ago
|
|
(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes nothing spectacular, just some stuff, which piled up
|
|
celestar
|
r2187:60cea7c48bf4
|
19 years ago
|
|
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers by enums. There remains work in gfx.c to move the "transparency" and "recolor" bits around to make space for more sprites. However, 2800 additional sprites can now be loaded. There also remains cleanup and Doxygen work on many of the header files.
|
|
tron
|
r2186:5ee653b1b5e1
|
19 years ago
|
|
|
|
Darkvater
|
r1784:15b805156766
|
19 years ago
|
|
(svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115). - CodeChange: changed the airport gui airport-type checking. Added function GetValidAirports() that returns bitmasked availibility, is also used for checking. - CodeChange: to check tree-planting, 2 const arrays have been moved to table/tree_land.h (type and count) - CodeChange: added IsTownIndex() in following of IsStationIndex(), etc. - Fix (regression): road tunnels did not work anymore, forgot that their type was 0x200 (documented now)
|
|
truelight
|
r0:d63b455452f6
|
20 years ago
|
|
|