Jonathan G Rennison
070160af40
Save point used when adding station to viewport kd tree, use for removal
6 years ago
Jonathan G Rennison
53ff27370d
Do not update viewport sign kd tree in network dedicated mode, or during savegame conversion
6 years ago
Jonathan G Rennison
5e6d283463
Merge branch 'master' into jgrpp
...
Remove the viewport sign cache as this is now superseded by the kd tree
implementation
# Conflicts:
# src/crashlog.cpp
# src/lang/english.txt
# src/misc.cpp
# src/pathfinder/follow_track.hpp
# src/pbs.cpp
# src/rail_cmd.cpp
# src/saveload/vehicle_sl.cpp
# src/settings.cpp
# src/settings_gui.cpp
# src/ship_cmd.cpp
# src/station.cpp
# src/station_base.h
# src/station_cmd.cpp
# src/table/settings.ini
# src/thread/thread_morphos.cpp
# src/town_cmd.cpp
# src/train_cmd.cpp
# src/viewport.cpp
# src/waypoint.cpp
6 years ago
Niels Martin Hansen
e8d397e4ee
Codechange: Make a merged k-d tree index of all viewport signs
6 years ago
Jonathan G Rennison
ffed0c194a
Add current order (station, waypoint or depot) condition variable.
...
Adjust item bit allocations:
* Increase cond flags from 2 bits to 3 bits, for future expansion.
* Use 2 bits remaining in adjacent gap for an auxiliary type field.
This is used for the type (station, waypoint, etc.) of order tests.
Perform a linear scan of the program pool when deleting a station,
waypoint or depot.
9 years ago
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
smatz
e71fd4bb57
(svn r19958) -Codechange: move common code from Waypoint and Station destructors to BaseStation destructor
15 years ago
smatz
ba43c0f5dd
(svn r19958) -Codechange: move common code from Waypoint and Station destructors to BaseStation destructor
15 years ago
smatz
c4175b752a
(svn r19957) -Codechange: remove VLW_WAYPOINT_LIST
15 years ago
smatz
a6232ad532
(svn r19957) -Codechange: remove VLW_WAYPOINT_LIST
15 years ago
smatz
8bf4a7d1ae
(svn r19956) -Fix: close list of vehicles with given oil rig in orders when the oil rig is deleted
...
-Fix (r19952): close the list when it is not sticky
15 years ago
smatz
24e4010f93
(svn r19956) -Fix: close list of vehicles with given oil rig in orders when the oil rig is deleted
...
-Fix (r19952): close the list when it is not sticky
15 years ago
smatz
1879937992
(svn r19951) -Fix [FS#3869]: close buoy's vehicle list when the buoy is deleted
15 years ago
smatz
db821f55d1
(svn r19951) -Fix [FS#3869]: close buoy's vehicle list when the buoy is deleted
15 years ago
rubidium
936477c323
(svn r18679) -Fix (r16993): tile area of waypoints wasn't correctly given to NewGRFs in case of multi tile waypoints
15 years ago
rubidium
afb0db2549
(svn r18679) -Fix (r16993): tile area of waypoints wasn't correctly given to NewGRFs in case of multi tile waypoints
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
cb0409fe52
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
15 years ago
rubidium
6435dc89fe
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
15 years ago
rubidium
68ead6b84f
(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
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
ed5ced71c8
(svn r16897) -Codechange: use the 'generic' station spec to station allocation for waypoints too
15 years ago
rubidium
4d3072ec67
(svn r16897) -Codechange: use the 'generic' station spec to station allocation for waypoints too
15 years ago
rubidium
43eda3dfbf
(svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints
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
2b374824dc
(svn r16870) -Codechange: unmagicify road stop/waypoint picker drawing
15 years ago
rubidium
fec1178abb
(svn r16870) -Codechange: unmagicify road stop/waypoint picker drawing
15 years ago
rubidium
861a2163f6
(svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations
15 years ago
rubidium
a78751ee9a
(svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations
15 years ago
rubidium
8c17c6cb2b
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
15 years ago
rubidium
b4f5a1eebb
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
15 years ago
rubidium
4e5af51d1f
(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.
15 years ago
rubidium
3927fd6be7
(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.
15 years ago
rubidium
d8f16ea199
(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations
15 years ago
rubidium
4ca5ce8904
(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations
15 years ago
rubidium
c9cab7ba19
(svn r16862) -Codechange: make waypoints use the same system of station station spec lists.
15 years ago
rubidium
a475a81706
(svn r16862) -Codechange: make waypoints use the same system of station station spec lists.
15 years ago
rubidium
06ea681b5f
(svn r16860) -Codechange: introduce a helper to assign a station spec to Waypoints
15 years ago
rubidium
0e6b735b45
(svn r16860) -Codechange: introduce a helper to assign a station spec to Waypoints
15 years ago
rubidium
9933df9d89
(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint struct and make it more similar to Station.
15 years ago
rubidium
70bf10b34a
(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint struct and make it more similar to Station.
15 years ago
rubidium
dea1144bcb
(svn r16850) -Codechange: unify some naming of variables between waypoints and stations.
15 years ago
rubidium
5a38d8e007
(svn r16850) -Codechange: unify some naming of variables between waypoints and stations.
15 years ago
rubidium
e067d4a4b8
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
15 years ago
rubidium
79deeee323
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
15 years ago
rubidium
8275a98e1f
(svn r16764) -Codechange: unify the way viewport signs are marked dirty
15 years ago