frosch
|
b10fbd477d
|
(svn r21012) -Codechange: Deduplicate some code. (Hirundo)
|
2010-10-22 19:57:56 +00:00 |
|
frosch
|
bcd006e4fc
|
(svn r20961) -Cleanup: Remove redundant/duplicate invisibility test. (uni657)
|
2010-10-17 13:16:00 +00:00 |
|
frosch
|
cdf985bff4
|
(svn r20947) -Change: Draw bridgepillars with correct length on all tile corners by drawing only half of the pillar sprite if required. (based on patch by uni657)
Note: Cantilever and tubular bridges will still look weird when using orignal graphics. Use OpenGFX instead :)
|
2010-10-16 15:40:44 +00:00 |
|
frosch
|
3edf041a43
|
(svn r20946) -Codechange: Add helper function to draw pillar columns.
|
2010-10-16 15:36:51 +00:00 |
|
frosch
|
01be182880
|
(svn r20945) -Codechange: Add helper function to draw single pillar sprites. (based on patch by uni657)
|
2010-10-16 15:36:13 +00:00 |
|
frosch
|
3866d8e2d1
|
(svn r20944) -Codechange: Bail out early in DrawBridgePillars(). (uni657)
|
2010-10-16 15:35:32 +00:00 |
|
frosch
|
58ed553068
|
(svn r20943) -Codechange: Name some magic constants. (Based on patch by uni657)
|
2010-10-16 15:34:59 +00:00 |
|
frosch
|
3fb7f5aa87
|
(svn r20802) -Fix: Building bridges on water/watery objects behaved inconsistently for towns and the bridge selection GUI.
|
2010-09-13 19:45:39 +00:00 |
|
yexo
|
2e054c19ad
|
(svn r20732) -Fix: when trying to build a bridge over an object, try to autoremove the object if it's too high
|
2010-09-03 23:48:12 +00:00 |
|
rubidium
|
41a80490be
|
(svn r20668) -Codechange: add (more) support for bridges over objects
|
2010-08-28 19:02:21 +00:00 |
|
rubidium
|
3e9e1b8e65
|
(svn r20638) -Codechange: split object.h
|
2010-08-27 22:21:23 +00:00 |
|
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
2010-08-26 22:01:16 +00:00 |
|
terkhen
|
78fd08c7b2
|
(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW).
|
2010-08-09 10:59:30 +00:00 |
|
frosch
|
7f1425c333
|
(svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight.
|
2010-08-09 07:32:04 +00:00 |
|
frosch
|
b6cf38a912
|
(svn r20422) -Change [FS#3947]: Resolve tracksprites on bridges always using the southern bridgehead as tile.
|
2010-08-09 07:30:50 +00:00 |
|
frosch
|
c2b1c624dd
|
(svn r20421) -Change [FS#3947]: Make snowyness of bridgehead depend on the tileheight at the entry edge.
|
2010-08-09 07:19:44 +00:00 |
|
rubidium
|
3da3d131c6
|
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
|
2010-08-08 10:59:30 +00:00 |
|
rubidium
|
1c86321d35
|
(svn r20340) -Codechange: introduce some flags for objects and use them in some places
|
2010-08-03 12:07:55 +00:00 |
|
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
2010-08-01 19:22:34 +00:00 |
|
rubidium
|
e356cb9405
|
(svn r20281) -Codechange: unify case scope closure + break coding style
|
2010-08-01 18:53:30 +00:00 |
|
alberth
|
be6c058424
|
(svn r20211) -Codechange: Indented code should have curly braces around it.
|
2010-07-24 10:14:39 +00:00 |
|
rubidium
|
b8487afe54
|
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
|
2010-07-19 17:28:27 +00:00 |
|
rubidium
|
5a836cdec7
|
(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name
|
2010-07-19 17:00:54 +00:00 |
|
rubidium
|
6328429aac
|
(svn r19881) -Fix [FS#3827]: pay for the rail/road when constructing tunnels and bridges
|
2010-05-22 14:12:48 +00:00 |
|
rubidium
|
548dd91ef0
|
(svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well
|
2010-05-13 11:19:30 +00:00 |
|
terkhen
|
0107562a86
|
(svn r19727) -Fix (r19720) [FS#3795]: Demolishing bridges or aqueducts caused a crash.
|
2010-04-25 20:56:42 +00:00 |
|
terkhen
|
52ab1c7d40
|
(svn r19720) -Feature: New base costs for building/clearing canals, building/clearing aqueducts and building/clearing locks.
|
2010-04-25 13:56:51 +00:00 |
|
terkhen
|
3be66a5e79
|
(svn r19717) -Fix: The cost of the first bridge type was added when building an aqueduct.
|
2010-04-25 13:47:13 +00:00 |
|
frosch
|
75d4bc947d
|
(svn r19654) -Codechange: Use Extract<> in more places.
|
2010-04-17 13:31:41 +00:00 |
|
frosch
|
0f656010c8
|
(svn r19637) -Codechange: Pass complete TransportType to CmdBuildTunnel.
|
2010-04-14 20:28:37 +00:00 |
|
alberth
|
fa8f227a97
|
(svn r19561) -Feature: Give more detailed error message when trying to build a too long bridge.
|
2010-04-04 14:22:55 +00:00 |
|
alberth
|
fb4ca3e569
|
(svn r19560) -Fix: Bridge build error message should not show the same message twice.
|
2010-04-04 14:19:17 +00:00 |
|
alberth
|
7f5a0751e2
|
(svn r19559) -Codechange: Rename CheckBridge_Stuff() to CheckBridgeAvailability().
|
2010-04-04 11:36:42 +00:00 |
|
frosch
|
f45e579923
|
(svn r19506) -Fix: Tunnels, bridges and roadstops are build with only one roadtype.
|
2010-03-23 20:29:52 +00:00 |
|
alberth
|
05d705e077
|
(svn r19494) -Codechange: Remove _error_message.
|
2010-03-20 17:58:24 +00:00 |
|
alberth
|
a9d4eb86b8
|
(svn r19487) -Codechange: Removed non-reachable return statement.
|
2010-03-20 16:53:46 +00:00 |
|
alberth
|
2dcca0ca76
|
(svn r19486) -Codechange: Code style, move var declarations closer to their first use.
|
2010-03-20 16:47:07 +00:00 |
|
alberth
|
c3471d98f3
|
(svn r19485) -Codechange: Re-implement CalcBridgeLenCostFactor() in a more readable way without changing computed costs.
|
2010-03-20 16:45:23 +00:00 |
|
alberth
|
cced6b35cb
|
(svn r19484) -Codechange: Rename parameter 'x' of CalcBridgeLenCostFactor() to 'length'.
|
2010-03-20 15:32:58 +00:00 |
|
alberth
|
f05a8635fd
|
(svn r19483) -Codechange: Code layout fixes, and parentheses reduction.
|
2010-03-20 15:30:57 +00:00 |
|
alberth
|
073f627930
|
(svn r19482) -Doc: Doxygen additions/updates.
|
2010-03-20 15:23:26 +00:00 |
|
peter1138
|
604da97364
|
(svn r19434) -Add: Add rail speed limit to land area information window.
|
2010-03-16 06:43:41 +00:00 |
|
alberth
|
7cc68f493d
|
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
|
2010-03-13 17:11:28 +00:00 |
|
alberth
|
19afc9fdc0
|
(svn r19404) -Codechange: CheckAllowRemoveTunnelBridge() returns a CommandCost.
|
2010-03-13 16:38:23 +00:00 |
|
alberth
|
6b6ff9c52b
|
(svn r19400) -Codechange: CheckforTownRating returns a CommandCost.
|
2010-03-13 15:33:07 +00:00 |
|
frosch
|
c0a9215bad
|
(svn r19383) -Fix [FS#3680]: Overbuilding bridges cleared PBS reservation.
|
2010-03-10 20:44:04 +00:00 |
|
alberth
|
40f106ba7c
|
(svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost.
|
2010-03-07 20:44:05 +00:00 |
|
terkhen
|
c958c2c31f
|
(svn r19345) -Feature: Realistic acceleration for road vehicles.
|
2010-03-06 12:56:57 +00:00 |
|
terkhen
|
4e6cac84d6
|
(svn r19341) -Codechange: Move GOINGUP/GOINGDOWN flags to GroundVehicle.
-Codechange: Move GetSlopeResistance to GroundVehicle.
|
2010-03-06 12:50:55 +00:00 |
|
alberth
|
63dd6ce6b0
|
(svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status.
|
2010-02-28 18:15:19 +00:00 |
|
peter1138
|
898e879bd9
|
(svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...)
|
2010-02-07 22:22:54 +00:00 |
|
rubidium
|
4d93b704d9
|
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
|
2010-01-18 22:57:21 +00:00 |
|
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
2010-01-15 16:41:15 +00:00 |
|
rubidium
|
3e481c4027
|
(svn r18710) -Fix [FS#3478]: the wrong town is mentioned in the error when trying to make one way roads of town owned roads
|
2010-01-04 11:35:12 +00:00 |
|
frosch
|
a9d4147eb2
|
(svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences.
|
2010-01-03 20:55:00 +00:00 |
|
peter1138
|
7b136d1fdd
|
(svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted.
|
2009-12-15 13:59:20 +00:00 |
|
rubidium
|
4047c142eb
|
(svn r18407) -Fix [FS#3338]: aqueducts were not influenced by the "long bridges" setting
|
2009-12-04 22:02:37 +00:00 |
|
rubidium
|
0ef0e13795
|
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
|
2009-12-02 18:18:56 +00:00 |
|
rubidium
|
9426f2b173
|
(svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies
|
2009-12-02 16:48:55 +00:00 |
|
rubidium
|
76fe20cdcc
|
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
|
2009-12-01 23:56:04 +00:00 |
|
rubidium
|
f52e27c688
|
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
|
2009-12-01 22:45:39 +00:00 |
|
frosch
|
830231e2bd
|
(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
|
2009-11-24 22:15:42 +00:00 |
|
rubidium
|
8193dad106
|
(svn r18271) -Fix [FS#3315]: road vehicles wouldn't reserve a road stop in tunnels/on bridges so when they leave wormhole they're still focussed on the main road stop causing unneededly long queues
|
2009-11-24 14:20:39 +00:00 |
|
frosch
|
ba1fc280e3
|
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
|
2009-11-07 22:47:54 +00:00 |
|
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
2009-10-04 17:16:41 +00:00 |
|
rubidium
|
e9624fe0cc
|
(svn r17682) -Codechange: remove erroneous space before some commas
|
2009-10-02 15:13:15 +00:00 |
|
smatz
|
114d48e492
|
(svn r17596) -Codechange: constify some tables
|
2009-09-20 23:11:01 +00:00 |
|
rubidium
|
e8ddf001c8
|
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
|
2009-09-19 09:51:14 +00:00 |
|
rubidium
|
04d5b67eb6
|
(svn r17567) -Fix: some doxygen warnings
|
2009-09-18 14:23:58 +00:00 |
|
yexo
|
ec63a0fc14
|
(svn r17455) -Codechange: use sprite names instead of magic numbers in table/clear_land.h and change some names
|
2009-09-07 13:38:57 +00:00 |
|
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
rubidium
|
1fe3ad3288
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
2009-08-05 17:59:21 +00:00 |
|
yexo
|
60b68de98e
|
(svn r16996) -Fix (r16995): the tiles under the bridge were not marked dirty when a bridge was replaced with another type
|
2009-07-30 19:51:29 +00:00 |
|
yexo
|
70cb4c27fe
|
(svn r16995) -Codechange: apply some code style to CmdBuildBridge
|
2009-07-30 19:30:13 +00:00 |
|
rubidium
|
8405d7d7e7
|
(svn r16907) -Codechange: make a more clear distinction between reservation functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits?
|
2009-07-21 22:37:10 +00:00 |
|
smatz
|
adc5363202
|
(svn r16717) -Codechange: make IsFrontEngine() member of Train
|
2009-07-01 22:22:01 +00:00 |
|
smatz
|
50b5678e26
|
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
|
2009-06-27 17:05:20 +00:00 |
|
smatz
|
c0ac230e3e
|
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
|
2009-06-25 20:08:59 +00:00 |
|
smatz
|
c30a87758f
|
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
|
2009-06-25 19:23:09 +00:00 |
|
frosch
|
8745a30971
|
(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead.
|
2009-06-07 13:25:21 +00:00 |
|
smatz
|
0c10006907
|
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
|
2009-06-06 16:54:22 +00:00 |
|
alberth
|
bab70a823d
|
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
|
2009-06-01 11:43:36 +00:00 |
|
smatz
|
d2d66d9e2d
|
(svn r16470) -Fix (r14293): track reservation was drawn at bridge heads in the menu
|
2009-05-30 17:43:24 +00:00 |
|
rubidium
|
c4b627af42
|
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
|
2009-05-22 22:33:05 +00:00 |
|
rubidium
|
80e94b9bb1
|
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
|
2009-05-22 22:22:46 +00:00 |
|
rubidium
|
7a37220881
|
(svn r16390) -Codechange: move u.road to RoadVehicle.
|
2009-05-22 20:22:20 +00:00 |
|
rubidium
|
441011b782
|
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
|
2009-05-22 18:17:20 +00:00 |
|
smatz
|
8808f3beea
|
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
|
2009-05-18 16:21:28 +00:00 |
|
smatz
|
0af27062c4
|
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
|
2009-05-18 01:26:23 +00:00 |
|
smatz
|
871107f529
|
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
|
2009-05-17 01:00:56 +00:00 |
|
smatz
|
6221d74644
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
2009-05-16 23:34:14 +00:00 |
|
rubidium
|
59d45a04d6
|
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
|
2009-04-21 23:40:56 +00:00 |
|
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
2009-03-15 00:32:18 +00:00 |
|
smatz
|
40745dc0d9
|
(svn r15704) -Cleanup: remove further includes from recently split files
|
2009-03-13 23:48:07 +00:00 |
|
yexo
|
9eef8f77e2
|
(svn r15683) -Fix (r15670): Removing town-owned bridges was no longer possible.
|
2009-03-12 11:36:18 +00:00 |
|
yexo
|
bdab37b11a
|
(svn r15670) -Fix (r15601): The owner of both the road and of the tram tracks was checked, but not the owner of the road itself.
|
2009-03-11 10:58:42 +00:00 |
|
yexo
|
da0cbb2a2f
|
(svn r15667) -Fix (r15601)[FS#2718]: It was possible to remove rail tunnels/bridges and aqueducts build by rival companies.
|
2009-03-10 23:16:45 +00:00 |
|
rubidium
|
7831346ef8
|
(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
-Feature: allow building road stops on road/tram tracks of competitors.
|
2009-03-02 22:57:47 +00:00 |
|
frosch
|
032346cf8a
|
(svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING.
|
2009-02-11 18:50:47 +00:00 |
|
rubidium
|
d846eef0b6
|
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
|
2009-02-09 21:20:05 +00:00 |
|