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
|
16 years ago |
frosch
|
a4557c7da4
|
(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.
|
16 years ago |
rubidium
|
c4b627af42
|
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
|
16 years ago |
rubidium
|
80e94b9bb1
|
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
|
16 years ago |
rubidium
|
7a37220881
|
(svn r16390) -Codechange: move u.road to RoadVehicle.
|
16 years ago |
rubidium
|
c882248348
|
(svn r16388) -Codechange: move u.air to Aircraft
|
16 years ago |
smatz
|
0af27062c4
|
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
|
16 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.
|
16 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 |
smatz
|
bd6ef958e7
|
(svn r14103) -Fix [YAPP]: flooded trains didn't free their reservation
|
16 years ago |
rubidium
|
d06fb949ff
|
(svn r13953) -Add [YAPP]: Free track reservations of crashed trains. (michi_cc)
|
16 years ago |
frosch
|
2cec059248
|
(svn r13846) -Fix (r13838): Do not draw water borders inside of industries.
|
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
|
16c80d031c
|
(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.
|
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
|
17 years ago |
rubidium
|
232a2a8e3c
|
(svn r13476) -Fix: draw canal borders for locks and when directly next to a aquaduct entrace but under the aqueduct.
|
17 years ago |
rubidium
|
7f6382badd
|
(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
|
17 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.
|
17 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.
|
17 years ago |
frosch
|
eca692ef90
|
(svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window.
|
17 years ago |
peter1138
|
510c0acb4a
|
(svn r13205) -Codechange: Remove unnecessary code-style-buggering-up macro.
|
17 years ago |
rubidium
|
9defec7876
|
(svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
|
17 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.
|
17 years ago |
smatz
|
ec627dedf8
|
(svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits
|
17 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.
|
17 years ago |
rubidium
|
dce1b33196
|
(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code.
|
17 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.
|
17 years ago |
rubidium
|
b139756e2b
|
(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp
|
17 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.
|
17 years ago |
smatz
|
febc5150c9
|
(svn r12547) -Feature: invisibility options to make objects invisible instead of transparent
|
17 years ago |
frosch
|
fa68e5f770
|
(svn r12541) -Codechange: Declare Slope enum as bit set, and remove some (then) unneeded casts.
|
17 years ago |
rubidium
|
6f15d34fe5
|
(svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff).
|
17 years ago |
rubidium
|
2edd403656
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
17 years ago |
rubidium
|
eeabab4555
|
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
|
17 years ago |
glx
|
220b2a1ae1
|
(svn r12350) -Fix [FS#1836](r11947): do not try ti flood water tile (performance increase)
|
17 years ago |
frosch
|
b7993793c8
|
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
|
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
|
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
|
ad933e1ddb
|
(svn r12100) -Fix (r12042): check for water class of surrounding tiles fails for buoys at map borders
|
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
|
802c949755
|
(svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player property to allow further fixes
|
17 years ago |
frosch
|
918591c05b
|
(svn r12072) -Fix: Make docks at sea flood neighboured tiles.
|
17 years ago |
frosch
|
7860d8d18a
|
(svn r12071) -Feature(ette): Draw river- and canal-edges under docks and shipdepots.
|
17 years ago |
frosch
|
e95e887772
|
(svn r12070) -Cleanup(r12042): Water-owner of shipdepots is no longer needed. Removed.
|
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
|
a1c543e064
|
(svn r12029) -Feature: Allow trees on shore.
|
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
|
cda0e9f91c
|
(svn r12011) -Fix [FS#1701]: Do not consider one-corner-raised-shores to be watered tiles from all sides.
|
17 years ago |
frosch
|
abc6e70447
|
(svn r12000) -Fix (r11926): If no river NewGRF is loaded, use sloped water from locks.
|
17 years ago |
frosch
|
b329781ab2
|
(svn r11984) -Fix: Also draw corner shores under rail tracks.
|
17 years ago |
frosch
|
6f6708e844
|
(svn r11983) -Codechange: Add some helper functions for slopes and use them.
|
17 years ago |
peter1138
|
0f966a316a
|
(svn r11956) -Fix [FS#1675]: Disallow building locks and docks on rapids.
|
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
|
9ca929c812
|
(svn r11934) -Codechange: add persistent random data for river and canal tiles.
|
17 years ago |
peter1138
|
a580c8d059
|
(svn r11927) -Fix (r11926): unable to place canals in game
|
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
|
1d59439166
|
(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
|
17 years ago |
frosch
|
c579bffed2
|
(svn r11898) -Fix: Update neighboured canals + signals when flooding non-flat tiles, too.
|
17 years ago |
frosch
|
978a7ca56a
|
(svn r11897) -Fix: Replace an uint with TileIndex and a small coding style fix.
|
17 years ago |
smatz
|
ac7bc24b0e
|
(svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify the code at some places
|
17 years ago |
smatz
|
9556623281
|
(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 |
smatz
|
311c14c9f5
|
(svn r11843) -Fix: mark dirty canal tile even in diagonal direction from flooded tile
|
17 years ago |
smatz
|
27e5deb719
|
(svn r11838) -Fix (r11320): draw correctly canal next to half flooded rail tile
|
17 years ago |
rubidium
|
dc87b05e8c
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
17 years ago |
rubidium
|
d4e6a6bf57
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
17 years ago |