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 |
rubidium
|
fafab82a31
|
(svn r11832) -Codechange: get rid of (quite) some VARDEFs.
|
17 years ago |
rubidium
|
90acd52f22
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
17 years ago |
rubidium
|
2fc62eab05
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
2d2e1e3863
|
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
|
17 years ago |
rubidium
|
0365c1f33b
|
(svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114).
|
17 years ago |
rubidium
|
98b4fa7c07
|
(svn r11792) -Codechange: move some (virtually) globally included AI related structs to a place where they are only included a few times.
|
17 years ago |
rubidium
|
444e77d8bc
|
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
|
17 years ago |
rubidium
|
722613f7f3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
17 years ago |
rubidium
|
db73addb43
|
(svn r11702) -Codechange: move all date related stuff to date*.
|
17 years ago |
rubidium
|
f82aeb82c5
|
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
|
17 years ago |
rubidium
|
81bf9f8503
|
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
|
17 years ago |
rubidium
|
00c9d3ef20
|
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
|
17 years ago |
rubidium
|
3074bca136
|
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
|
17 years ago |
rubidium
|
766551b0bc
|
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
|
17 years ago |
rubidium
|
be923601bf
|
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
|
17 years ago |
smatz
|
d5dbce8331
|
(svn r11652) -Codechange: add the svn $ header for several files
|
17 years ago |
smatz
|
d56a690ba4
|
(svn r11649) -Codechange: some code can be simplified thanks to changes in r11642
|
17 years ago |
smatz
|
926fe5c9e9
|
(svn r11644) -Codechange: merge some functions from tunnel_map.h and bridge_map.h into tunnelbridge_map.h
|
17 years ago |
smatz
|
3b59b68a15
|
(svn r11625) -Codechange: add CO_* enum at some places, add includes of order.h too
|
17 years ago |
smatz
|
411dec5c3e
|
(svn r11565) -Revert: part of r11564
|
17 years ago |
skidd13
|
5d74f2ced4
|
(svn r11564) -Codechange: Increase the usage of the for_each_bit macro and rename it fitting to the naming style
|
17 years ago |
skidd13
|
e36dba227b
|
(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random()
-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
|
17 years ago |
skidd13
|
815b8d8df1
|
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
|
17 years ago |
skidd13
|
3ae50673a3
|
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
|
17 years ago |
skidd13
|
c0a2c0c23e
|
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
|
17 years ago |
rubidium
|
eadd6765e1
|
(svn r11312) -Codechange: implement a overflow safe integer and use that for money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
|
17 years ago |
rubidium
|
8342c18fb5
|
(svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround.
|
17 years ago |
rubidium
|
86dac1533b
|
(svn r11184) -Codechange: cleanup the code related to backup orders.
|
17 years ago |
glx
|
18de82b000
|
(svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C
|
17 years ago |
rubidium
|
bd7483ba3c
|
(svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion.
|
17 years ago |
rubidium
|
235ad4ab6b
|
(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
17 years ago |
rubidium
|
c2dcccae16
|
(svn r11001) -Codechange: unify the way to determine whether a vehicle is in a depot.
|
17 years ago |
rubidium
|
dc454841fd
|
(svn r10942) -Fix [FS#1133]: make the AI not crash when it has ships as the AI does not support them.
|
17 years ago |
rubidium
|
1a5b0a3417
|
(svn r10838) -Fix [FS#1119] (r10698): double negation where only single negation was needed. Patch by frosch.
|
17 years ago |
rubidium
|
2f89fef353
|
(svn r10759) -Codechange: make the industry struct use the pool item class as super class.
|
17 years ago |
rubidium
|
99da45988a
|
(svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle).
|
17 years ago |
rubidium
|
2800a49f03
|
(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type.
|
17 years ago |
rubidium
|
903a0a08c2
|
(svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
|
17 years ago |
rubidium
|
9c9fc1a79e
|
(svn r10672) -Codechange: typify some parameters/variables.
|
17 years ago |
truelight
|
e5aca34acb
|
(svn r10657) -Fix r10655: commit didn't comply with coding style (tnx glx :))
|
17 years ago |
truelight
|
6fe791a200
|
(svn r10655) -Fix [FS#1070]: Trolly AI didn't know about steep slopes, and used wrong tileh in some cases (frosch)
|
17 years ago |
rubidium
|
fc201d4ad8
|
(svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
|
18 years ago |
rubidium
|
0d8e82b7d7
|
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
|
18 years ago |
rubidium
|
773a7c9cb6
|
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
|
18 years ago |
rubidium
|
82e79b847e
|
(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).
|
18 years ago |
rubidium
|
3ccc83e640
|
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
|
18 years ago |