Commit Graph

606 Commits (24b744f7c83435c0e70e8e1ffb8a40458da78480)

Author SHA1 Message Date
alberth c376ddacd2 (svn r20109) -Codechange: Make GetFloodingBehaviour() globally usable. 14 years ago
alberth 7e0e7fb0e5 (svn r20109) -Codechange: Make GetFloodingBehaviour() globally usable. 14 years ago
yexo ec723b7744 (svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes 14 years ago
yexo 9cfb61adf5 (svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes 14 years ago
frosch a5bea603ea (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 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 ee53807e51 (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 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 7f43b93eae (svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named 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 ee02599bbf (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
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 170ad8a3c9 (svn r19720) -Feature: New base costs for building/clearing canals, building/clearing aqueducts and building/clearing locks. 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 25529f0311 (svn r19719) -Codechange: When building a lock, do not add the cost of building canals if they are already built. 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 0bfc6da6e9 (svn r19718) -Fix: The cost of clearing tiles was not taken into account when building locks. 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 1a8248e93d (svn r19716) -Documentation: Add comments for lock building and removal functions. 14 years ago
terkhen 28a57ee3f8 (svn r19716) -Documentation: Add comments for lock building and removal functions. 14 years ago
terkhen 74a7508777 (svn r19715) -Codechange: Rename all appareances of shiplift to lock. 14 years ago
terkhen 1d60eac168 (svn r19715) -Codechange: Rename all appareances of shiplift to lock. 14 years ago
frosch 099f734be9 (svn r19668) -Codechange: Use WaterClass in parameters of CMD_BUILD_CANAL. 14 years ago
frosch 893e405af0 (svn r19668) -Codechange: Use WaterClass in parameters of CMD_BUILD_CANAL. 14 years ago
frosch ed80045221 (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
frosch 75d4bc947d (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
frosch 9036e7437a (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. 14 years ago
frosch b76f0185d4 (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. 14 years ago
alberth 72d62fd6fc (svn r19494) -Codechange: Remove _error_message. 14 years ago
alberth 05d705e077 (svn r19494) -Codechange: Remove _error_message. 14 years ago
yexo 22a27d3b62 (svn r19455) -Codechange: split all airport information in Station to a seperate class 14 years ago
yexo c4a88ce022 (svn r19455) -Codechange: split all airport information in Station to a seperate class 14 years ago
alberth df772274cf (svn r19416) -Codechange: Code style, move variable declarations to their first use. 15 years ago
alberth 5bac5a5be6 (svn r19416) -Codechange: Code style, move variable declarations to their first use. 15 years ago
alberth cb10444807 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 15 years ago
alberth 3b367ab708 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 15 years ago
terkhen f950829b3c (svn r19373) -Fix (r19372): Missing variable declaration. 15 years ago
terkhen e6de669bf2 (svn r19373) -Fix (r19372): Missing variable declaration. 15 years ago
alberth 6005227ac9 (svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost. 15 years ago
alberth 40f106ba7c (svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost. 15 years ago
alberth 4c0d4990f5 (svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost. 15 years ago
alberth c395b93acd (svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost. 15 years ago
smatz ab2f51aba0 (svn r19203) -Codechange: silence some gcc warnings 15 years ago
smatz 077fa11b3e (svn r19203) -Codechange: silence some gcc warnings 15 years ago
yexo 80982cc91b (svn r19198) -Codechange: store the size of stations in savegames 15 years ago
yexo 698737f485 (svn r19198) -Codechange: store the size of stations in savegames 15 years ago
rubidium 7127338414 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago
rubidium f94c83a387 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago
rubidium f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
rubidium 4d93b704d9 (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
yexo 6042c132f1 (svn r18858) -Codechange: use IsAirportTile where possible 15 years ago
yexo bcec00fdbd (svn r18858) -Codechange: use IsAirportTile where possible 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 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 84cd40a483 (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 15 years ago
yexo d669801f1d (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 15 years ago
rubidium 1df8848eb3 (svn r18720) -Codechange: simplify looping and validation of CmdBuildCanal 15 years ago
rubidium 740585c219 (svn r18720) -Codechange: simplify looping and validation of CmdBuildCanal 15 years ago
rubidium e48416ad4e (svn r18718) -Codechange: make a wrapper macro for looping TileAreas 15 years ago
rubidium 3e131e2fec (svn r18718) -Codechange: make a wrapper macro for looping TileAreas 15 years ago
rubidium 6600610e47 (svn r18402) -Codechange: unify/centralise the code for crashing vehicles 15 years ago
rubidium 19fa38601d (svn r18402) -Codechange: unify/centralise the code for crashing vehicles 15 years ago
rubidium a044ef74b9 (svn r18399) -Codechange: bail out early in FloodVehicle instead of a massive if (...) { } else { return } 15 years ago
rubidium 3817153a8e (svn r18399) -Codechange: bail out early in FloodVehicle instead of a massive if (...) { } else { return } 15 years ago
frosch 040404c5d3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 15 years ago
frosch ba1fc280e3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 15 years ago
frosch 3cb949a17d (svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h 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 c0efafc52d (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 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 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
smatz 7c74afb1c3 (svn r17692) -Codechange: minor coding style fixes 15 years ago
smatz 32cbe57178 (svn r17692) -Codechange: minor coding style fixes 15 years ago
rubidium 06e490fadc (svn r17567) -Fix: some doxygen warnings 15 years ago
rubidium 04d5b67eb6 (svn r17567) -Fix: some doxygen warnings 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium 91024042ea (svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile) 15 years ago
rubidium 860a538adc (svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile) 15 years ago
rubidium 10c3af4642 (svn r17493) -Codechange: store the depot index on the map 15 years ago
rubidium 55ddce8da2 (svn r17493) -Codechange: store the depot index on the map 15 years ago
smatz 09e1ecc8ac (svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile() 15 years ago
smatz ee685c8287 (svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile() 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
michi_cc 2fb209c96a (svn r17152) -Fix: A stuck train could free the reservation of another train if it was reversed or did crash. 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 d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 1d45e1e239 (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 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 30d9e54279 (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 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 58563eafa7 (svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h. 15 years ago
rubidium 7440ec7a73 (svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h. 15 years ago
rubidium f97bd41ed4 (svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle. 15 years ago
rubidium 61e735ba4c (svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle. 15 years ago
smatz 20fedeb3d6 (svn r16717) -Codechange: make IsFrontEngine() member of Train 15 years ago
smatz adc5363202 (svn r16717) -Codechange: make IsFrontEngine() member of Train 15 years ago
smatz 837b3628d9 (svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly 15 years ago
smatz 50b5678e26 (svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly 15 years ago
smatz bd208c30e0 (svn r16660) -Codechange: get rid of more dummy tile_type_procs 15 years ago
smatz c0ac230e3e (svn r16660) -Codechange: get rid of more dummy tile_type_procs 15 years ago
smatz 5d301445a2 (svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
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 a9602401f0 (svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile() 15 years ago
smatz 05c695a647 (svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile() 15 years ago
smatz f6a4d61cca (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 15 years ago
smatz 8343340acb (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 15 years ago
smatz af85994f7f (svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check 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 eeb3f75cfe (svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted. 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 6350648a6c (svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train 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 1324100d69 (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. 15 years ago
rubidium 80e94b9bb1 (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. 15 years ago
rubidium 489253b630 (svn r16390) -Codechange: move u.road to RoadVehicle. 15 years ago
rubidium 7a37220881 (svn r16390) -Codechange: move u.road to RoadVehicle. 15 years ago
rubidium 4ae19b7451 (svn r16388) -Codechange: move u.air to Aircraft 15 years ago
rubidium c882248348 (svn r16388) -Codechange: move u.air to Aircraft 15 years ago
smatz 05db91dc65 (svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile() 15 years ago
smatz 0af27062c4 (svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile() 15 years ago
rubidium 5c5b357043 (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 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 c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
frosch 8eb906dda9 (svn r15534) -Codechange: Rename some variables. 16 years ago
frosch 15789a76c1 (svn r15534) -Codechange: Rename some variables. 16 years ago
rubidium 5c8cf85613 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 16 years ago
rubidium d846eef0b6 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
frosch d526d1f70d (svn r15360) -Fix: Flooding vehicles did not trigger an AI event. 16 years ago
frosch 324e92f879 (svn r15360) -Fix: Flooding vehicles did not trigger an AI event. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 16 years ago
Yexo e3c69b7c4e (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. 16 years ago
Yexo db3ee34b44 (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. 16 years ago
smatz 91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
rubidium d3144b6f04 (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 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 e83cca7d13 (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 16 years ago
rubidium 87e5a8b52b (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 16 years ago
rubidium b5e467978b (svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus) 16 years ago
rubidium 272b2ef0e9 (svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus) 16 years ago
rubidium e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium f56e630e5c (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 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 6e67ea1f9d (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
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
smatz 1145a11b9d (svn r14103) -Fix [YAPP]: flooded trains didn't free their reservation 16 years ago
smatz bd6ef958e7 (svn r14103) -Fix [YAPP]: flooded trains didn't free their reservation 16 years ago
rubidium f6bdf23527 (svn r13953) -Add [YAPP]: Free track reservations of crashed trains. (michi_cc) 16 years ago
rubidium d06fb949ff (svn r13953) -Add [YAPP]: Free track reservations of crashed trains. (michi_cc) 16 years ago
frosch 008a725e4a (svn r13846) -Fix (r13838): Do not draw water borders inside of industries. 16 years ago
frosch 2cec059248 (svn r13846) -Fix (r13838): Do not draw water borders inside of industries. 16 years ago
frosch 1c53d19df5 (svn r13845) -Fix (r13838): When adding a WaterClass to oilrig station tiles, also make use of it. 16 years ago
frosch 74c63ac9e2 (svn r13845) -Fix (r13838): When adding a WaterClass to oilrig station tiles, also make use of it. 16 years ago
frosch 6684bc12d5 (svn r13838) -Codechange: Make industry tiles aware of WaterClasses. 16 years ago
frosch 16c80d031c (svn r13838) -Codechange: Make industry tiles aware of WaterClasses. 16 years ago
belugas a91eb2ad13 (svn r13513) -Codechange: Give proper message when building a river fails.
Give proper description of a river tile with the Query Tool.
Extracted (in part) from FS#1884, by Ammler
16 years ago
belugas bcb71a011e (svn r13513) -Codechange: Give proper message when building a river fails.
Give proper description of a river tile with the Query Tool.
Extracted (in part) from FS#1884, by Ammler
16 years ago
rubidium e4675ed05e (svn r13476) -Fix: draw canal borders for locks and when directly next to a aquaduct entrace but under the aqueduct. 16 years ago
rubidium 232a2a8e3c (svn r13476) -Fix: draw canal borders for locks and when directly next to a aquaduct entrace but under the aqueduct. 16 years ago
rubidium ee843728bf (svn r13464) -Codechange: support NewGRF Action 0x05, type 12. 16 years ago
rubidium 7f6382badd (svn r13464) -Codechange: support NewGRF Action 0x05, type 12. 16 years ago
rubidium e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 16 years ago
rubidium 923e21129c (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 16 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.
16 years ago
rubidium 4625695653 (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.
16 years ago
frosch 7f80552293 (svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window. 16 years ago
frosch eca692ef90 (svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window. 16 years ago
peter1138 42f78d2fc3 (svn r13205) -Codechange: Remove unnecessary code-style-buggering-up macro. 16 years ago
peter1138 510c0acb4a (svn r13205) -Codechange: Remove unnecessary code-style-buggering-up macro. 16 years ago
rubidium 3ee2556585 (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. 16 years ago
rubidium 9defec7876 (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. 16 years ago
rubidium 373343cef6 (svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls. 16 years ago
rubidium 76b8970a33 (svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls. 16 years ago
smatz 2be223fc03 (svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits 16 years ago
smatz ec627dedf8 (svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits 16 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. 16 years ago
rubidium d03994098b (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. 16 years ago
rubidium 2b85217bfe (svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code. 16 years ago
rubidium dce1b33196 (svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code. 16 years ago
rubidium d56827a9a9 (svn r12855) -Codechange: do not use autoptr's for testing whether certain objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though. 16 years ago
rubidium 6939569362 (svn r12855) -Codechange: do not use autoptr's for testing whether certain objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though. 16 years ago
rubidium 8186344628 (svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp 16 years ago
rubidium b139756e2b (svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp 16 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. 16 years ago
rubidium 02cdf01507 (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. 16 years ago
smatz fcf4a7067d (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 16 years ago
smatz febc5150c9 (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 16 years ago
frosch 3e9baa7dfb (svn r12541) -Codechange: Declare Slope enum as bit set, and remove some (then) unneeded casts. 16 years ago
frosch fa68e5f770 (svn r12541) -Codechange: Declare Slope enum as bit set, and remove some (then) unneeded casts. 16 years ago
rubidium 877ca99198 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 16 years ago
rubidium 6f15d34fe5 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 16 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
rubidium 2edd403656 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
rubidium 2426f5342f (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 16 years ago
rubidium eeabab4555 (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 16 years ago
glx cad30106d1 (svn r12350) -Fix [FS#1836](r11947): do not try ti flood water tile (performance increase) 17 years ago
glx 220b2a1ae1 (svn r12350) -Fix [FS#1836](r11947): do not try ti flood water tile (performance increase) 17 years ago
frosch 7f3d56041b (svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus(). 17 years ago
frosch b7993793c8 (svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus(). 17 years ago
smatz 9f619f91b3 (svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges 17 years ago
smatz 29125c0e68 (svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges 17 years ago
smatz 0fc6754832 (svn r12101) -Fix (r12100): there are void tiles at MapMaxX,Y - have to substract one to be on water border tiles 17 years ago
smatz e075cf5500 (svn r12101) -Fix (r12100): there are void tiles at MapMaxX,Y - have to substract one to be on water border tiles 17 years ago
smatz b18f96d222 (svn r12100) -Fix (r12042): check for water class of surrounding tiles fails for buoys at map borders 17 years ago
smatz ad933e1ddb (svn r12100) -Fix (r12042): check for water class of surrounding tiles fails for buoys at map borders 17 years ago
smatz 98e81e95a5 (svn r12095) -Fix [FS#1703]: when a company bankrupts, remove drive-through road stops, ship depots and buoys too. Update owners of water and road. 17 years ago
smatz e3301db213 (svn r12095) -Fix [FS#1703]: when a company bankrupts, remove drive-through road stops, ship depots and buoys too. Update owners of water and road. 17 years ago
smatz d00bf03012 (svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player property to allow further fixes 17 years ago
smatz 802c949755 (svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player property to allow further fixes 17 years ago
frosch 4d41baba5b (svn r12072) -Fix: Make docks at sea flood neighboured tiles. 17 years ago
frosch 918591c05b (svn r12072) -Fix: Make docks at sea flood neighboured tiles. 17 years ago
frosch 113525c40b (svn r12071) -Feature(ette): Draw river- and canal-edges under docks and shipdepots. 17 years ago
frosch 7860d8d18a (svn r12071) -Feature(ette): Draw river- and canal-edges under docks and shipdepots. 17 years ago
frosch 9b2ca61044 (svn r12070) -Cleanup(r12042): Water-owner of shipdepots is no longer needed. Removed. 17 years ago
frosch e95e887772 (svn r12070) -Cleanup(r12042): Water-owner of shipdepots is no longer needed. Removed. 17 years ago
peter1138 c05d10dd35 (svn r12042) -Fix [FS#1676]: Reimplement how rivers and canals are stored in the map, allowing the sea/river/canal status to also be
stored for buoys, docks, locks and depots. All these are now allowed on rivers and removal of them will revert to the 
original water type.
17 years ago
peter1138 1d891a8b15 (svn r12042) -Fix [FS#1676]: Reimplement how rivers and canals are stored in the map, allowing the sea/river/canal status to also be
stored for buoys, docks, locks and depots. All these are now allowed on rivers and removal of them will revert to the 
original water type.
17 years ago
frosch 23e6411fb7 (svn r12029) -Feature: Allow trees on shore. 17 years ago
frosch a1c543e064 (svn r12029) -Feature: Allow trees on shore. 17 years ago
frosch ab70871734 (svn r12013) -Fix: When modifying watered tiles, mark neighboured canals and rivers dirty in more cases. 17 years ago
frosch 9c4cb84c03 (svn r12013) -Fix: When modifying watered tiles, mark neighboured canals and rivers dirty in more cases. 17 years ago
frosch 31842d7b3e (svn r12011) -Fix [FS#1701]: Do not consider one-corner-raised-shores to be watered tiles from all sides. 17 years ago
frosch cda0e9f91c (svn r12011) -Fix [FS#1701]: Do not consider one-corner-raised-shores to be watered tiles from all sides. 17 years ago
frosch b7946e07a6 (svn r12000) -Fix (r11926): If no river NewGRF is loaded, use sloped water from locks. 17 years ago
frosch abc6e70447 (svn r12000) -Fix (r11926): If no river NewGRF is loaded, use sloped water from locks. 17 years ago
frosch 9d63fd232e (svn r11984) -Fix: Also draw corner shores under rail tracks. 17 years ago
frosch b329781ab2 (svn r11984) -Fix: Also draw corner shores under rail tracks. 17 years ago
frosch d4dc5e0775 (svn r11983) -Codechange: Add some helper functions for slopes and use them. 17 years ago
frosch 6f6708e844 (svn r11983) -Codechange: Add some helper functions for slopes and use them. 17 years ago
peter1138 a2d416b253 (svn r11956) -Fix [FS#1675]: Disallow building locks and docks on rapids. 17 years ago
peter1138 0f966a316a (svn r11956) -Fix [FS#1675]: Disallow building locks and docks on rapids. 17 years ago
frosch a242dadad2 (svn r11947) -Feature: Make use of new sprites added by Action5 type 0D.
Tiles which only consist of shore do not flood anymore, instead they get removed if they are no longer connected to flooding water.
17 years ago
frosch 49d2087d7f (svn r11947) -Feature: Make use of new sprites added by Action5 type 0D.
Tiles which only consist of shore do not flood anymore, instead they get removed if they are no longer connected to flooding water.
17 years ago
peter1138 b967c9918e (svn r11934) -Codechange: add persistent random data for river and canal tiles. 17 years ago
peter1138 9ca929c812 (svn r11934) -Codechange: add persistent random data for river and canal tiles. 17 years ago
peter1138 bb66cf27cc (svn r11927) -Fix (r11926): unable to place canals in game 17 years ago
peter1138 a580c8d059 (svn r11927) -Fix (r11926): unable to place canals in game 17 years ago
peter1138 0c6bdb0d21 (svn r11926) -Feature: Rivers. Graphics must be provided by NewGRF else rivers are drawn as canals. Rivers can currently only be placed with-in the scenario editor. 17 years ago
peter1138 4a2f7db99b (svn r11926) -Feature: Rivers. Graphics must be provided by NewGRF else rivers are drawn as canals. Rivers can currently only be placed with-in the scenario editor. 17 years ago
smatz dfb91c26ec (svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
17 years ago
smatz 1d59439166 (svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
17 years ago