Jonathan G Rennison
290471c70f
Use btree_set for IndustryList and StationList
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
Gabda
dea7f078f4
Codechange: Update town sign on population change only when population is shown ( #7368 )
6 years ago
Jonathan G Rennison
63203c2395
Add GUI/client setting to save zoning overlay state
6 years ago
Jonathan G Rennison
828a4399f9
Fix tunnel build viewport length tooltip when hover mode is right click
6 years ago
Jonathan G Rennison
2bd33c1869
Fix viewport hovering when hover mode is set to right-click
6 years ago
translators
776fbda324
Update: Translations from eints
...
finnish: 110 changes by hpiirai
ukrainian: 149 changes by nsergiy
6 years ago
Jonathan G Rennison
1a115e1cc8
Change: Include _current_company in crashlog AI config line
...
_current_company is not currently logged anywhere in the crashlog.
_local_company is logged, despite being much less useful than
_current_company.
This change logs _current_company alongside _local_company.
6 years ago
Patric Stout
6a897a2a9b
Fix: don't include xaudio2 if you are not going to compile it
...
This is more in trend with other files, where if the driver is not
selected, we don't even attempt to compile it.
6 years ago
Patric Stout
aea1726f45
Fix: MingW and MSVC compiled strgen had different path separator behaviour
...
If it was compiled with MingW, both / and \ were accepted as
path separator. On MSVC, only \ was. This is an unexpected
difference between binaries for the same platform. Remove this
discrepancy by accepting both / and \ on all platforms.
6 years ago
Patric Stout
45fbaa64c2
Codechange: check if a define is set directly, instead of indirectly
...
config.lib happens to set GLOBAL_DATA_DIR in case it is not DOS
and not OS2, but this kind of deduction is annoying to maintain.
It is better to just check if the define you want to use is set,
and leave it to config.lib to set it or not depending on the OS.
6 years ago
Patric Stout
1f57150d80
Codechange: "basedir.h" is a system include, not a local
6 years ago
Patric Stout
36105841b9
Codechange: ICU_SORT is in reality ICU_I18N (according to their CMake files)
...
By naming it in a different way, things get a bit confusing.
Especially if we are switching to CMake, which autodetects these
things, we need to use the name the authors of ICU gave it; not
our interpertation of that name.
6 years ago
Patric Stout
52d7e7d45e
Codechange: ICU_LAYOUT is in reality ICU_LX (according to their CMake files)
...
By naming it in a different way, things get a bit confusing.
Especially if we are switching to CMake, which autodetects these
things, we need to use the name the authors of ICU gave it; not
our interpertation of that name.
6 years ago
Patric Stout
7adae09897
Codechange: liblzma is called liblzma, how ever strange that might be
...
It is the only library we use that calls itself with 'lib' in the
name. This might be confusing, but with the arrival of cmake a lot
of these things are automated. And detection will find 'liblzma',
not 'lzma', like with 'lzo', 'zlib', ..
6 years ago
Patric Stout
dcc5183dd0
Codechange: make clear that SSE is a flag you can switch
6 years ago
Patric Stout
75a86d8460
Codechange: the flag is not if you have threads, but if you want to use them
6 years ago
Patric Stout
634d1f16b2
Codechange: fix indentation of source.list
6 years ago
translators
c09c94378c
Update: Translations from eints
...
finnish: 214 changes by hpiirai
norwegian (bokmal): 10 changes by Leifbk
russian: 2 changes by Lone_Wolf
croatian: 6 changes by VoyagerOne
6 years ago
glx
bfbe9ccc45
Fix: [AzurePipelines] run commit checker only for PRs
6 years ago
glx22
a1d028ea60
Fix: [AzurePipelines] Run commit checker only for PRs and pass it the target branch ( #7356 )
6 years ago
peter1138
9cb84a1bad
Feature: Add road icon to road construction drop down list.
6 years ago
peter1138
9c8b7b5efc
Feature: Add rail icon to rail construction drop down list.
6 years ago
peter1138
b56ea5ca27
Add: Generic drop down list string item with icon.
6 years ago
peter1138
fb35cb5ed2
Remove: Unnecessary virtual destructors on drop down list items.
6 years ago
peter1138
303cfd86a3
Remove: Unnecessary specialization of NewGRF preset list item.
6 years ago
peter1138
811bf22620
Codechange: Use Colours type instead of byte.
6 years ago
Michael Lutz
cc5f175615
Feature: Railtype flags to allow/disallow 90 degree curves. ( #7352 )
6 years ago
glx
26b0615c47
Fix e4cc06f67: [AzurePipelines] rebase only for PRs
6 years ago
glx
e4cc06f67e
Fix: [AzurePipelines] don't assume master as target branch when rebasing PRs
6 years ago
Niels Martin Hansen
e8d397e4ee
Codechange: Make a merged k-d tree index of all viewport signs
6 years ago
Niels Martin Hansen
d84b67e54d
Codechange: Make a k-d tree index of stations
6 years ago
Niels Martin Hansen
7b56be0f3a
Codechange: Make a k-d tree index of towns
6 years ago
Niels Martin Hansen
d7522e5e8f
Codechange: Add a k-d tree generic data structure
6 years ago
translators
3a54c71041
Update: Translations from eints
...
finnish: 46 changes by hpiirai
danish: 10 changes by nielsmh
hungarian: 2 changes by Brumi
6 years ago
Peter Nelson
943c58e468
Fix: Show industry name in Land Area Information window for oil-rig type stations instead of just 'Oil Rig'
6 years ago
Peter Nelson
8b1b3fd0f9
Feature: Non-rectangular sparse station catchment area.
6 years ago
Peter Nelson
3542ed53d4
Add: BitmapTileArea and Iterator to handle sparse tile areas.
6 years ago
peter1138
94b40fd530
Codechange: Convert IndustryVector to a std::set.
6 years ago
peter1138
ed6084523d
Codechange: Convert StationList from SmallVector to std::set.
6 years ago
Andy
46aca9377b
Add: windowshade for rail station construction window
6 years ago
PeterN
42046af933
Add: Add flag and railtype sprite type to draw pre-combined ground sprites. ( #7231 )
6 years ago
Gabda
7e7563f15f
Add: Chrono based TIC() and TOC() in debug
6 years ago
Gabda
4be2c1022e
Cleanup: changing variable names in TIC() and TOC()
...
Removing double underscores to be ANSI-C standard compliant.
6 years ago
PeterN
6c6971fb43
Add: Road vehicle path cache. ( #7261 )
6 years ago
glx22
dae35188ab
Fix 13962a847
, 00d28a500: forgotten squirrel_export run ( #7345 )
6 years ago
Jonathan G Rennison
c6fa43d767
TBTR: Remove duplicated function: SetupTemplateVehicleFromVirtual
6 years ago
translators
35a2b3bb08
Update: Translations from eints
...
finnish: 14 changes by ln
catalan: 8 changes by juanjo
polish: 7 changes by xaxa
dutch: 7 changes by JanWillem
6 years ago
Jonathan G Rennison
1c84d80333
Fix dumping of subtype for non ground vehicles in DumpVehicleFlags
6 years ago
Jonathan G Rennison
a67dc210b3
Fix vehicle ID truncation in CmdAutomateTimetable
6 years ago