rubidium
|
d289464d69
|
(svn r13255) -Codechange: move _opt to _settings.
|
17 years ago |
rubidium
|
dc77647ea4
|
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
17 years ago |
frosch
|
8f104a2e97
|
(svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by RoadOwner.
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
|
17 years ago |
smatz
|
8841f3be40
|
(svn r13222) -Change: allow old AI building helistations and helidepots for oil rig routes
|
17 years ago |
smatz
|
9e2490abb2
|
(svn r13221) -Fix (r8747): old AI failed to build oil rig routes
|
17 years ago |
smatz
|
baeb6e5395
|
(svn r13217) -Fix: old AI was building small airports in years when they were not available in original game, causing small planes and helis everywhere
|
17 years ago |
smatz
|
2be223fc03
|
(svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits
|
17 years ago |
rubidium
|
1ce0b03bf0
|
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
|
17 years ago |
peter1138
|
45034bc522
|
(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
17 years ago |
rubidium
|
f4b07a78c4
|
(svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).
|
17 years ago |
rubidium
|
ca1f8fbe2e
|
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
|
17 years ago |
rubidium
|
6d063c3ad6
|
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
17 years ago |
smatz
|
ec588da9e8
|
(svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used
|
17 years ago |
smatz
|
966e476df8
|
(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()
|
17 years ago |
rubidium
|
973997e896
|
(svn r12617) -Codechange: add type safety to the Order's load and unload types.
|
17 years ago |
rubidium
|
cf250390c5
|
(svn r12615) -Codechange: rename some enums related to depot orders to make it more clear that they are no loading/unloading flags. Also add more type strictness.
|
17 years ago |
rubidium
|
53d101cc99
|
(svn r12593) -Codechange: hide Order's flags in most of the code.
|
17 years ago |
rubidium
|
935b562074
|
(svn r12588) -Codechange: do not access the destination of an order directly.
|
17 years ago |
rubidium
|
a3224512cc
|
(svn r12587) -Codechange: unduplicate some code in the Unpack*Order functions and move the 'normal' case Pack/Unpack to Order.
|
17 years ago |
rubidium
|
3b0e3d8d30
|
(svn r12584) -Codechange: do not access the order type directly.
|
17 years ago |
frosch
|
ae01e263ad
|
(svn r12540) -Codechange: Enumify some values in original pathfinder and remove an unused variable.
|
17 years ago |
frosch
|
15b2f07587
|
(svn r12533) -Cleanup: Remove some wizardry from default ai by using existings enums and helper functions.
|
17 years ago |
rubidium
|
df1d9bd880
|
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
17 years ago |
rubidium
|
c51b81c247
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
17 years ago |
rubidium
|
b84b16cfcd
|
(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.
|
17 years ago |
rubidium
|
49a040e6ad
|
(svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h.
|
17 years ago |
peter1138
|
a729283a3c
|
(svn r12451) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops
|
17 years ago |
smatz
|
988b5a9111
|
(svn r12200) -Fix: force AI to build rail or road instead of bridges if possible, so it doesn't build bridges everywhere
|
17 years ago |
frosch
|
7f3d56041b
|
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
|
17 years ago |
smatz
|
9bdb194b2a
|
(svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the train had negative income
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
|
17 years ago |
frosch
|
1d120c51b8
|
(svn r12193) -Codechange: Rename a magic variable, give it a decent type, and remove a 'goto'.
|
17 years ago |
smatz
|
a53594ebd4
|
(svn r12184) -Fix: take into account possible loan when AI is deciding which bridge to build, so it won't build wooden bridges everytime
|
17 years ago |
glx
|
d7924424ac
|
(svn r12155) -Fix (r12154): some warnings (always compile before commit)
|
17 years ago |
glx
|
a148985087
|
(svn r12154) -Codechange: removed a magic number
|
17 years ago |
frosch
|
514df81e27
|
(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
|
17 years ago |
smatz
|
fe48d0be21
|
(svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
|
17 years ago |
peter1138
|
1268a70466
|
(svn r12019) -Codechange: Add support for passenger engine designation for AI-use, NewGRF property 0x08 for trains.
|
17 years ago |
frosch
|
d4dc5e0775
|
(svn r11983) -Codechange: Add some helper functions for slopes and use them.
|
17 years ago |
smatz
|
773446df5e
|
(svn r11972) -Fix: old AI shouldn't build fast planes with a small airport in orders
|
17 years ago |
smatz
|
74af65e556
|
(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
|
17 years ago |
smatz
|
881b74e882
|
(svn r11962) -Cleanup: OPF is no longer used to update signals
|
17 years ago |
smatz
|
8be486c27e
|
(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions
|
17 years ago |
peter1138
|
622f251197
|
(svn r11959) -Codechange: Use macro to loop for specific engine types instead of using specific indexes each time.
-Codechange: Minor scope changes in said loops.
|
17 years ago |
smatz
|
51d7692aca
|
(svn r11958) -Fix (r11204): NewAI couldn't build any road vehicles when there were any tram grfs loaded
|
17 years ago |
frosch
|
8a72af3a13
|
(svn r11946) -Fix: slope detection of bridge ramps.
YAPF failed for steep slopes.
Trolly failed for a lot.
|
17 years ago |
smatz
|
66a0fafc93
|
(svn r11917) -Fix (r3677): AI was reading wrong tile slope while building road bridge
|
17 years ago |
rubidium
|
c141639bcc
|
(svn r11887) -Fix [FS#1658]: segmentation faults/wrong frees due uninitialized memory in the AI.
|
17 years ago |
smatz
|
61e40b1aa5
|
(svn r11871) -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station
|
17 years ago |
rubidium
|
736640fd87
|
(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*.
|
17 years ago |
rubidium
|
9c0c798dd8
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
17 years ago |