tron
|
8ef2c13c65
|
(svn r4553) int and magic numbers -> Slope and DiagDirection
|
2006-04-23 19:08:33 +00:00 |
|
tron
|
0a509a4c48
|
(svn r4333) Revert back to a direct map access in one case until the exact conditions for this piece of code are investigated. The IsRoad() function is causing me headaches...
|
2006-04-09 10:24:57 +00:00 |
|
orudge
|
0fe27c16af
|
(svn r4204) - Get trunk compiling again on OS/2
|
2006-03-31 16:01:59 +00:00 |
|
celestar
|
8310a46351
|
(svn r4154) -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes two drops ...
|
2006-03-29 19:03:47 +00:00 |
|
tron
|
b8da06ddb1
|
(svn r3907) Replace many bridge related direct map accesses with calls to shiny new functions and mark some strange constructs with XXX
|
2006-03-16 15:16:27 +00:00 |
|
tron
|
78083f0da7
|
(svn r3830) Move IsTunnelTile() from tile.h to tunnel_map.h and add IsTunnel(), which just checks for a tunnel, but not the tile type as IsTunnelTile() does
|
2006-03-12 15:04:03 +00:00 |
|
tron
|
929fae7b68
|
(svn r3816) Use existing accessors
|
2006-03-11 09:10:46 +00:00 |
|
tron
|
fbe939b31f
|
(svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends
|
2006-03-08 06:55:33 +00:00 |
|
tron
|
4b46883751
|
(svn r3644) Don't use FindLandscapeHeightByTile() when it's overkill - often it was just a complicated way of writing GetTileSlope(tile, NULL)
|
2006-02-21 07:41:54 +00:00 |
|
tron
|
49c7eb934b
|
(svn r3613) Some more const, indentation, whitespace and similar stuff
|
2006-02-18 14:41:24 +00:00 |
|
Darkvater
|
4e09974975
|
(svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
- The only change is that the nsignalsw.grf file is kept and that existing nightlies with PBS signals get those signals converted to combo-signals.
|
2006-01-29 18:57:26 +00:00 |
|
truelight
|
31f218fdf9
|
(svn r3224) -Add: Allow the NewAI to work in Multiplayer Games (switchable via patch
settings, off by defaut). An other step to AIScripts.
WARNING: this is still highly experimental and has known bugs!
|
2005-11-21 14:28:31 +00:00 |
|
tron
|
47137cefb7
|
(svn r3078) Some more stuff, which piled up:
- const, whitespace, indentation, bracing, GB/SB, pointless casts
- use the trinary operator where appropriate
- data types (uint[] -> AcceptedCargo, ...)
- if cascade -> switch
- if (ptr) -> if (ptr != NULL)
- DeMorgan's Law
- Fix some comments
- 0 -> '\0', change magic numbers to symbolic constants
|
2005-10-23 13:04:44 +00:00 |
|
truelight
|
d05f504c01
|
(svn r2907) -Codechange: splitted the AIs to their own directory. AINew becomes 'trolly', AIOld becomes 'default', both in their own dir in the 'ai' dir. More AIs to come.
|
2005-09-02 19:10:45 +00:00 |
|