Commit Graph

369 Commits (98b8479f5615ada69086cd3d18febef3d51affe0)

Author SHA1 Message Date
rubidium ff725906a7 (svn r16791) -Codechange: unify (and document) the Remove[StationType] functions. 15 years ago
rubidium e4ef68405c (svn r16766) -Codechange: remove station->MarkDirty. It is in all cases meant to only update the sign and not invalidate the widget; the widget would be invalidated by a call before/after the call to MarkDirty or it wouldn't make sense because e.g. the window doesn't exist anymore/yet. 15 years ago
rubidium 770ad0c022 (svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names 15 years ago
rubidium 4989b4afb9 (svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign 15 years ago
rubidium 52abc92d1f (svn r16760) -Codechange: make UpdateStationVirtCoord a function of Station 15 years ago
rubidium 18fbe0aac4 (svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions 15 years ago
rubidium f97bd41ed4 (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
rubidium 3b44f44287 (svn r16709) -Fix [FS#2994]: the list of animated tiles could have duplicates (only for old savegames) and tiles that weren't animated 15 years ago
frosch 523cde0798 (svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays. 15 years ago
frosch 4c3f480f92 (svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names. 15 years ago
smatz 837b3628d9 (svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly 15 years ago
smatz 5ca420492f (svn r16663) -Codechange: make removing of railway station tiles faster 15 years ago
smatz 9d63b88b22 (svn r16662) -Codechange: replace GetRoadStopByTile() by RoadStop::GetByTile() 15 years ago
smatz bd208c30e0 (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 c113303593 (svn r16655) -Codechange: use IsRailwayStationTile() more 15 years ago
smatz 72bee4ad2d (svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made 15 years ago
smatz f6a4d61cca (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 15 years ago
smatz 61a42f42c1 (svn r16640) -Codechange: move roadstop stuff to separate files 15 years ago
yexo 679ffee940 (svn r16614) -Codechange: Make the airport min/max available year a property of the Airport class.
-Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
15 years ago
yexo eed0de5166 (svn r16569) -Codechange: remove the gaps in the AirportTiles enum 16 years ago
yexo fc00382c0d (svn r16566) -Codechange: enumify all airport tiles 16 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 16 years ago
alberth 580e478e4e (svn r16491) -Codechange: Added parentheses around bitwise operators for code style. 16 years ago
smatz 05c3a12463 (svn r16452) -Fix: don't trigger station animations when the station was deleted in the same tick 16 years ago
rubidium 52113477f1 (svn r16448) -Fix [FS#2909]: road vehicles ending up on the pavement when they are in a drive through station that got removed due to bankruptcy 16 years ago
smatz e419fe6d3f (svn r16442) -Codechange: use new Vehicle accessors at more places 16 years ago
rubidium c496a3e014 (svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it. 16 years ago
frosch eeb3f75cfe (svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted. 16 years ago
rubidium 1324100d69 (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. 16 years ago
rubidium 489253b630 (svn r16390) -Codechange: move u.road to RoadVehicle. 16 years ago
rubidium 4ae19b7451 (svn r16388) -Codechange: move u.air to Aircraft 16 years ago
rubidium 86fc432293 (svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle. 16 years ago
smatz 50624d5c0f (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved 16 years ago
smatz 512db5248e (svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get() 16 years ago
smatz bad5d6d6a2 (svn r16348) -Fix (r16280): buoys with invalid station ID could be left in the game 16 years ago
rubidium 57a7313ea5 (svn r16328) -Fix: desync when removing lots of stations 16 years ago
smatz 0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 16 years ago
smatz d495dc5dbc (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 16 years ago
smatz 7126bcd0e1 (svn r16308) -Fix: parameter is invalid when it's equal to length of an array (Yexo) 16 years ago
rubidium 08655368eb (svn r16297) -Codechange: silence more ICC warnings 16 years ago
frosch af12760722 (svn r16268) -Fix (r9876): When callback 2E returns an amount of 0, do not transport 1 unit to the station. 16 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. 16 years ago
rubidium e0e9a1b02e (svn r16114) -Cleanup: unify some more strings and remove some more unused strings 16 years ago
frosch 2a63faa188 (svn r16077) -Cleanup (r14456): Remove some code that is only used for some assertions, that haven't been triggered for a while. 16 years ago
rubidium 3d5a7496c7 (svn r16057) -Fix [FS#2834] (r16037): division by zero when having an order with only one station that has either middle or near end stop location and where the platform is (significantly) longer than the train. 16 years ago
rubidium 4c707c7414 (svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station. 16 years ago
rubidium bdbea82217 (svn r16029) -Fix [FS#2785]: do not give "... Mines" as name to the station of oil rigs, or more general: do not add "... Mines" when the all of the cargoes are part of the liquid, passenger or mail classes. 16 years ago
rubidium 20a290cefe (svn r16025) -Fix [FS#2818]: "build separate station" in the station picker would reuse deleted stations. 16 years ago