rubidium
|
b717e32dcc
|
(svn r16926) -Fix (r16925): if checking whether a station can be adjoined, don't check whether 'the other station you have already found' to be valid but the station that you just found. Especially because you won't have found as station until you have found one.
|
15 years ago |
rubidium
|
7f08aa4572
|
(svn r16925) -Fix (r16909): guard commands more against using waypoints as stations and/or accidentally reusing waypoints for stations or vice versa.
|
15 years ago |
rubidium
|
f8ac5d16b7
|
(svn r16923) -Codechange: move Cmd*Buoy* to waypoint_cmd.cpp and make them behave more like waypoints, e.g. reuse station signs of recently deleted buoys
|
15 years ago |
rubidium
|
6435dc89fe
|
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
|
15 years ago |
rubidium
|
100cb17fa8
|
(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
|
15 years ago |
rubidium
|
f1d6561cc4
|
(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?
|
15 years ago |
frosch
|
a8a3017921
|
(svn r16899) -Fix (r16896): Missing 'return'.
|
15 years ago |
rubidium
|
6670fae515
|
(svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints
|
15 years ago |
rubidium
|
a854cb1f76
|
(svn r16880) -Codechange: replace magic numbers with their enums and use a clearer variable name than 'flag' in the station naming function.
|
15 years ago |
rubidium
|
a78751ee9a
|
(svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations
|
15 years ago |
rubidium
|
b4f5a1eebb
|
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
|
15 years ago |
smatz
|
8718babe90
|
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
|
15 years ago |
rubidium
|
873adde908
|
(svn r16825) -Codechange: unify dirtying when updating the viewport signs.
|
15 years ago |
rubidium
|
79deeee323
|
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
|
15 years ago |
smatz
|
64de470917
|
(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft
|
15 years ago |
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 |