frosch
|
f575b45bae
|
(svn r22110) -Codechange: Remove WaterDrawTileStruct and use DrawTileSprites/DrawTileSeqStruct instead.
|
14 years ago |
frosch
|
9e59436c61
|
(svn r22108) -Codechange: Replace some magic with some other magic though less easy to break.
|
14 years ago |
frosch
|
1dd6d037ba
|
(svn r22107) -Cleanup (r1903): Remove unused struct.
|
14 years ago |
rubidium
|
bc3ce1e53b
|
(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h
|
14 years ago |
planetmaker
|
afad7920ef
|
(svn r21993) -Fix (r19720): When building a lock on dry land costs for clearing water were deducted rather than for building canals
|
14 years ago |
smatz
|
3057a26fd5
|
(svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support for uniform stations has been broken for over a year
|
14 years ago |
frosch
|
612516ff76
|
(svn r21290) -Codechange: Add HasTileWaterGround() to deduplicate some tests.
|
14 years ago |
frosch
|
b57a3ae5ec
|
(svn r20763) -Fix [FS#4113](r20749): The bridgetest on building shipdepots can no longer rely on being only called for clear water tiles.
|
14 years ago |
yexo
|
a2ba35f57c
|
(svn r20749) -Fix: allow overbuilding objects with buoys and ship depots
|
14 years ago |
yexo
|
0e250f2bdf
|
(svn r20748) -Fix: overbuilding an object tile with sea under it with a canal didn't take the cost for clearing the sea into account
|
14 years ago |
frosch
|
e9cd81953a
|
(svn r20741) -Cleanup: Use IsTileOnWater() in more places.
|
14 years ago |
rubidium
|
50769995c7
|
(svn r20640) -Add: support for water under objects
|
14 years ago |
frosch
|
4901d42140
|
(svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass().
|
14 years ago |
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
14 years ago |
rubidium
|
08a41c6ee5
|
(svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so related code
|
14 years ago |
yexo
|
85740a0283
|
(svn r20559) -Fix [FS#4045]: make sure that all vehicles are build in the most northern depot/hangar tile
|
14 years ago |
yexo
|
cc45b99866
|
(svn r20527) -Codechange: move the flood code and remove some redundant checks
|
14 years ago |
michi_cc
|
4d927af488
|
(svn r20353) -Add: [NewGRF] Support for callback 0x147 ("add sprite offset") for canals.
|
14 years ago |
michi_cc
|
bd2f7e998c
|
(svn r20352) -Add: [NewGRF] Support for property 09, feature 05, i.e alternate canal sprite layout.
|
14 years ago |
michi_cc
|
f67c727c68
|
(svn r20351) -Codechange: Uncouple water lock and depot drawing.
|
14 years ago |
terkhen
|
80c43f52e8
|
(svn r20289) -Codechange: Unify fall through coding style.
|
14 years ago |
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
14 years ago |
rubidium
|
e356cb9405
|
(svn r20281) -Codechange: unify case scope closure + break coding style
|
14 years ago |
alberth
|
7e0e7fb0e5
|
(svn r20109) -Codechange: Make GetFloodingBehaviour() globally usable.
|
14 years ago |
yexo
|
9cfb61adf5
|
(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes
|
14 years ago |
frosch
|
1d3adb2b66
|
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
|
14 years ago |
frosch
|
9db3cde73a
|
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
|
14 years ago |
rubidium
|
93ff7d78e1
|
(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
|
14 years ago |
rubidium
|
be504a6ef0
|
(svn r19788) -Codechange: make FOR_EACH_SET_BIT not change the value of the passed bit variable, i.e. allow expressions as parameter
|
14 years ago |
terkhen
|
52ab1c7d40
|
(svn r19720) -Feature: New base costs for building/clearing canals, building/clearing aqueducts and building/clearing locks.
|
14 years ago |
terkhen
|
a2b03e54e0
|
(svn r19719) -Codechange: When building a lock, do not add the cost of building canals if they are already built.
|
14 years ago |
terkhen
|
e83797d2e0
|
(svn r19718) -Fix: The cost of clearing tiles was not taken into account when building locks.
|
14 years ago |
terkhen
|
28a57ee3f8
|
(svn r19716) -Documentation: Add comments for lock building and removal functions.
|
14 years ago |
terkhen
|
1d60eac168
|
(svn r19715) -Codechange: Rename all appareances of shiplift to lock.
|
14 years ago |
frosch
|
893e405af0
|
(svn r19668) -Codechange: Use WaterClass in parameters of CMD_BUILD_CANAL.
|
14 years ago |
frosch
|
75d4bc947d
|
(svn r19654) -Codechange: Use Extract<> in more places.
|
14 years ago |
frosch
|
b76f0185d4
|
(svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits.
|
14 years ago |
alberth
|
05d705e077
|
(svn r19494) -Codechange: Remove _error_message.
|
14 years ago |
yexo
|
c4a88ce022
|
(svn r19455) -Codechange: split all airport information in Station to a seperate class
|
14 years ago |
alberth
|
5bac5a5be6
|
(svn r19416) -Codechange: Code style, move variable declarations to their first use.
|
15 years ago |
alberth
|
3b367ab708
|
(svn r19415) -Codechange: Forward CommandCost with an error back to the caller.
|
15 years ago |
terkhen
|
e6de669bf2
|
(svn r19373) -Fix (r19372): Missing variable declaration.
|
15 years ago |
alberth
|
40f106ba7c
|
(svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost.
|
15 years ago |
alberth
|
c395b93acd
|
(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.
|
15 years ago |
smatz
|
077fa11b3e
|
(svn r19203) -Codechange: silence some gcc warnings
|
15 years ago |
yexo
|
698737f485
|
(svn r19198) -Codechange: store the size of stations in savegames
|
15 years ago |
rubidium
|
f94c83a387
|
(svn r18872) -Codechange: introduce PaletteID and use it
|
15 years ago |
rubidium
|
4d93b704d9
|
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
|
15 years ago |
yexo
|
bcec00fdbd
|
(svn r18858) -Codechange: use IsAirportTile where possible
|
15 years ago |
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
15 years ago |
yexo
|
d669801f1d
|
(svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there
|
15 years ago |
rubidium
|
740585c219
|
(svn r18720) -Codechange: simplify looping and validation of CmdBuildCanal
|
15 years ago |
rubidium
|
3e131e2fec
|
(svn r18718) -Codechange: make a wrapper macro for looping TileAreas
|
15 years ago |
rubidium
|
19fa38601d
|
(svn r18402) -Codechange: unify/centralise the code for crashing vehicles
|
15 years ago |
rubidium
|
3817153a8e
|
(svn r18399) -Codechange: bail out early in FloodVehicle instead of a massive if (...) { } else { return }
|
15 years ago |
frosch
|
ba1fc280e3
|
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
|
15 years ago |
frosch
|
79627b4f89
|
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
|
15 years ago |
rubidium
|
06c55863ca
|
(svn r17817) -Codechange: MakeWater actually made sea tiles, so rename it to MakeSea and unduplicate the code to make sea, rivers and canals.
|
15 years ago |
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
15 years ago |
smatz
|
32cbe57178
|
(svn r17692) -Codechange: minor coding style fixes
|
15 years ago |
rubidium
|
04d5b67eb6
|
(svn r17567) -Fix: some doxygen warnings
|
15 years ago |
frosch
|
ebd916be3d
|
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
|
15 years ago |
rubidium
|
860a538adc
|
(svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile)
|
15 years ago |
rubidium
|
55ddce8da2
|
(svn r17493) -Codechange: store the depot index on the map
|
15 years ago |
smatz
|
ee685c8287
|
(svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile()
|
15 years ago |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
michi_cc
|
b84e93487f
|
(svn r17152) -Fix: A stuck train could free the reservation of another train if it was reversed or did crash.
|
15 years ago |
rubidium
|
1fe3ad3288
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
15 years ago |
rubidium
|
097e79a86d
|
(svn r17001) -Codechange: replace some more assert(0)s to NOT_REACHED() and document why they (assert(0)) have to stay for the remaining cases.
|
15 years ago |
rubidium
|
2ec12a3f58
|
(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
|
15 years ago |
rubidium
|
7440ec7a73
|
(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h.
|
15 years ago |
rubidium
|
61e735ba4c
|
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
|
15 years ago |
smatz
|
adc5363202
|
(svn r16717) -Codechange: make IsFrontEngine() member of Train
|
15 years ago |
smatz
|
50b5678e26
|
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
|
15 years ago |
smatz
|
c0ac230e3e
|
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
|
15 years ago |
smatz
|
c30a87758f
|
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
|
15 years ago |
smatz
|
05c695a647
|
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
|
15 years ago |
smatz
|
8343340acb
|
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
|
15 years ago |
smatz
|
0c10006907
|
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
|
15 years ago |
frosch
|
a4557c7da4
|
(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.
|
15 years ago |
rubidium
|
c4b627af42
|
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
|
15 years ago |
rubidium
|
80e94b9bb1
|
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
|
15 years ago |
rubidium
|
7a37220881
|
(svn r16390) -Codechange: move u.road to RoadVehicle.
|
15 years ago |
rubidium
|
c882248348
|
(svn r16388) -Codechange: move u.air to Aircraft
|
15 years ago |
smatz
|
0af27062c4
|
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
|
15 years ago |
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.
|
15 years ago |
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
16 years ago |
frosch
|
15789a76c1
|
(svn r15534) -Codechange: Rename some variables.
|
16 years ago |
rubidium
|
d846eef0b6
|
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
|
16 years ago |
rubidium
|
c0a8d09ca7
|
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
|
16 years ago |
frosch
|
324e92f879
|
(svn r15360) -Fix: Flooding vehicles did not trigger an AI event.
|
16 years ago |
smatz
|
0d3f5e6e74
|
(svn r15299) -Cleanup: remove many redundant includes
|
16 years ago |
Yexo
|
db3ee34b44
|
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
|
16 years ago |
smatz
|
7368c740a6
|
(svn r14828) -Codechange: move most of save/load-specific code to separate files
|
16 years ago |
rubidium
|
1357b0a4c2
|
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
|
16 years ago |
rubidium
|
87e5a8b52b
|
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
|
16 years ago |
rubidium
|
272b2ef0e9
|
(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)
|
16 years ago |
rubidium
|
b650a86e58
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
16 years ago |
rubidium
|
3b798599b6
|
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
|
16 years ago |
rubidium
|
9474db5cb6
|
(svn r14258) -Codechange: rework the way to query the vehicle hash to make sure it always results in the same irregardless of the order of the hash-linked-list.
-Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
|
16 years ago |