Commit Graph

36794 Commits (755fa8196f6a25cddd5d2f1abc7a4c3ee914025b)

Author SHA1 Message Date
Jonathan G Rennison d32672a325 GRF: Allow railtype custom signal sprites for programmable pre-signals 4 years ago
translators d58531ec84 Update: Translations from eints
german: 1 change by frosch123
4 years ago
Galigator 933d02dce2 Change: Service depot also reset breakdown chance. 4 years ago
Jonathan G Rennison 3cb1327012 Fix #193: Comparison is always true compiler warning 4 years ago
Jonathan G Rennison 9be6eb92f8 Console: Add network server commands to get/set company pw hashes 4 years ago
stormcone 49b75d67bd
Fix 70f9c3c6: The *_filter_criteria variables contain an index, not a cargo. (#8320) 4 years ago
Charles Pigott 348c231e12 Codechange: Make codestyle for CMake files consistent for 'control' statements 4 years ago
frosch df5362a008 Fix #8311, b98c7763de4: Industry probability at map generation was scaled differently when set via property or callback. 4 years ago
dP 0110fa12da Feature: Make news and errors close hotkeys configurable 4 years ago
Berbe 8f3d1ec970 Feature: Improve restart command
When the restart command is issued, a normal map is always spawned.

This improvement takes into account the current state of _file_to_saveload to check if a savegame/scenario/heightmap was previously loaded, and loads the same resource again.
4 years ago
Jonathan G Rennison a18ebba564 Allow converting track under trains when compatible with the new rail type 4 years ago
dP 3ad4a6e3da Fix 380fd8c: Only check houses for cargo when generating subsidies with towns 4 years ago
Jonathan G Rennison 481710f95b Show engine rail type info in vehicle debug window 4 years ago
translators beaa7c7894 Update: Translations from eints
korean: 1 change by telk5093
4 years ago
Jonathan G Rennison c55ca03066 Merge branch 'pr-192' into jgrpp 4 years ago
TELK 143495853c Update: Korean translation for v0.37.0, and some fixes 4 years ago
Jonathan G Rennison 0cffabe571 Add missing <array> include
See: #191
4 years ago
Jonathan G Rennison 886ffeeb82 Merge branch 'pr-8312' into jgrpp 4 years ago
Jonathan G Rennison 0bfae346c1 Allow using the hash key in hotkeys (SDL) 4 years ago
Jonathan G Rennison cfe63734ec Add unset hotkeys for message history, TBTR, slots, counters 4 years ago
Jonathan G Rennison 3f8ce47d32 TBTR: Fix being able to open template replacement window more than once 4 years ago
Jonathan G Rennison 09d5be1aad TBTR: Remove unitnumber_digits field/param from main window 4 years ago
Jonathan G Rennison aea747be08 Merge branch 'master' into jgrpp
# Conflicts:
#	src/hotkeys.cpp
4 years ago
frosch e544f8b1f2 Fix #8311, b98c7763de4: Industry probability at map generation was scaled differently when set via property or callback. 4 years ago
Jonathan G Rennison 4763f441f6 On load, use previous local company or first usable company
Instead of always using the first company slot
4 years ago
Jonathan G Rennison 9af2c258fa TBTR: Preserve replacement flags when editing template 4 years ago
Jonathan G Rennison e9bf1bd71b TBTR: Do not keep remaining vehicles by default 4 years ago
Jonathan G Rennison a36e77c269 Fix group add/remove/rename not updating template replacement GUI in MP 4 years ago
Jonathan G Rennison 2ea3a7d6f4 Add setting for default road/tram types, to match default rail type setting 4 years ago
Jonathan G Rennison 3b49f892fa Redraw connecting link graph overlay links when moving station sign
Add test console command
4 years ago
Jonathan G Rennison a0f78a8071 Fix assertion failure when upgrading dual road/tram bridge
In case where the other road/tram type does not extend across
the bridge, but is present on the upgrade tile.
4 years ago
Jonathan G Rennison 4c609ba93c Fix #189: Typo in STR_CONFIG_SETTING_REROUTE_RV_ON_LAYOUT_CHANGE_HELPTEXT 4 years ago
Jonathan G Rennison f44d75eaf5 Allow building objects by area (1x1 objects only)
Add setting (default on)
4 years ago
Jonathan G Rennison 2d350d26db Add rate limit for object construction 4 years ago
Jonathan G Rennison f0f5ce5840 Fix bulk land purchasing removing structures and water 4 years ago
Jonathan G Rennison b90a297837 Script: Allow AI/GS developers to change game script in-game 4 years ago
Jonathan G Rennison 45386efcd0 Script: Allow changing ops limit and memory limit settings in game 4 years ago
Jonathan G Rennison 15fc3f5ba3 Fix generate world NewGRF error window being created without lock held 4 years ago
Jonathan G Rennison c908a3afa8 Fix spelling error in tree growth speed setting: extremely slow 4 years ago
Jonathan G Rennison 75d53525d2 Fix town label colour not being updated when switching companies 4 years ago
Jonathan G Rennison 11a9a4dc0c Fix no error message when attaching new template/virtual vehicle fails
See: #187
4 years ago
Jonathan G Rennison ff12051ee1 Only show ship is lost messages if lost for a significant time 4 years ago
Jonathan G Rennison 8824130b66 Tracerestrict: Allow referencing competitor infra where allowed by sharing 4 years ago
Jonathan G Rennison 943586016d TBTR: Adjust train sprite bounds and position in main window
See: #186
4 years ago
Jonathan G Rennison 5196caddde Fix assertion failure which could occur when using reverse behind signal 4 years ago
Jonathan G Rennison 00a31a4885 YAPF debug: Add reverse and teleport flags to node dump 4 years ago
Jonathan G Rennison d9ce75fd5d Link graph: Only use log2 of total cost for scaling when > 13
This is to fix unnecessary scaling for small networks
4 years ago
translators 53a3d940b1 Update: Translations from eints
ukrainian: 11 changes by Strategy
4 years ago
Jonathan G Rennison 6be6f7436f Programmable pre-signals: Don't update dependencies when clearing programs 4 years ago
Jonathan G Rennison 825190db0c Remove programmable pre-signal calls to DebugPrintProgram 4 years ago
Jonathan G Rennison abb7b69861 Add slot and counter support to programmable pre-signals 4 years ago
dP ab420d8cc0 Change: Use key names instead of characters in hotkey.cfg 4 years ago
Jonathan G Rennison 5c0bf5b9e4 Hide "is true" and "is false" from programmable pre-signals comparators 4 years ago
Jonathan G Rennison e729875cfb Make programmable pre-signal GUI less garish 4 years ago
Jonathan G Rennison 9ee8091ecc Add conditional order which tests counter value 4 years ago
Jonathan G Rennison 817bc44a3e Initial implementation of tracerestrict counter mechanism 4 years ago
Jonathan G Rennison dea2be5d3f Increase size of ContentInfo::name field 4 years ago
translators dacec76c1b Update: Translations from eints
catalan: 57 changes by juanjo
4 years ago
Jonathan G Rennison d2594ece79 Add routing restrictions action to control news reports about stuck trains 4 years ago
Jonathan G Rennison cc6be16422 Add news setting for trains waiting due to routing restrictions 4 years ago
Jonathan G Rennison a63bc23f04 Debug: Add various train fields to the vehicle debug window 4 years ago
Jonathan G Rennison beaeda2990 TBTR: Show empty and full train weights in GUI, and weight ratios if enabled 4 years ago
Jonathan G Rennison e2de103d82 Skip GRF compatibility check when using -K/-q switches 4 years ago
Jonathan G Rennison 5db169b76f Clear debug data in LoadCheckData::Clear 4 years ago
Jonathan G Rennison 5b78090a61 Merge branch 'master' into jgrpp
# Conflicts:
#	CMakeLists.txt
#	src/saveload/town_sl.cpp
#	src/screenshot.h
#	src/script/api/ai/ai_date.hpp.sq
#	src/script/api/ai/ai_marine.hpp.sq
#	src/script/api/ai/ai_station.hpp.sq
#	src/script/api/game/game_date.hpp.sq
#	src/script/api/game/game_marine.hpp.sq
#	src/script/api/game/game_station.hpp.sq
#	src/script/api/game/game_window.hpp.sq
#	src/script/api/script_window.hpp
#	src/script/api/template/template_window.hpp.sq
#	src/signal.cpp
#	src/statusbar_gui.cpp
#	src/toolbar_gui.cpp
#	src/viewport.cpp
#	src/viewport_func.h
4 years ago
Jonathan G Rennison e4581b4cd8 Fix cec55e67: Assert on using road convert tool on non-station tile 4 years ago
Jonathan G Rennison 810bfd276e Add several NewGRF variables to vehicle image callback whitelist
Add vehicle flags to control cached image invalidation

Various refactorings
4 years ago
Jonathan G Rennison c82d372d54 Reduce performance issues in DeleteStaleLinks with refit to any cargo
Remove redundant executions of LinkRefresher::Run
4 years ago
Jonathan G Rennison cec55e6704 Fix infrastructure totals when using road convert tool on bay road stop 4 years ago
translators 9340fe9c7c Update: Translations from eints
ukrainian: 18 changes by Strategy
4 years ago
Jonathan G Rennison 1e0005d7a0 Fix order lookahead changing percent of times conditional order state 4 years ago
Jonathan G Rennison 37ee095f4a Add basic console tab completion 4 years ago
Jonathan G Rennison 138a7c2d90 Fix wrong output from dump_map_stats console command 4 years ago
Jonathan G Rennison 2b9c633d50 Add leave early if any/all cargoes fully loaded timetable modes 4 years ago
Jonathan G Rennison 37683d8f50 Cargo type orders window: Use single command to change all cargoes at once 4 years ago
Jonathan G Rennison 3a9b38bb10 Cargo type orders window: Use two columns when more than 32 cargos 4 years ago
Jonathan G Rennison 7aead21888 Fix vehicle window mouse over colour when both stopped and waiting/stuck 4 years ago
Jonathan G Rennison 8bf41a6f1d Add setting to show unlisted console commands 4 years ago
dP 3db7cf54fd Fix: sprite preview in sprite aligner is too small with scaled UI 4 years ago
TELK 6e3376d6d3 Update: Korean translation update 4 years ago
Jonathan G Rennison a65be9b747 Hide screenshot window when taking normal screesnhot 4 years ago
Jonathan G Rennison cc45a99a4d Fix #181: Set max bridge/tunnel length setting max to 4096 (same as trunk) 4 years ago
translators 2693a901f9 Update: Translations from eints
swedish: 1 change by Joel_A
4 years ago
Jonathan G Rennison f26143f063 Add setting for alternative linkgraph overlay colour schemes 4 years ago
Jonathan G Rennison 1fd9c929ef Increase church/stadium count field size, fix save/load
Fix too many error message
4 years ago
Jonathan G Rennison 4a21fafd5c Debug: Add stadium and church count to town debug window 4 years ago
Jonathan G Rennison ce6cdc551f Add anywhere mode to ignore house zone scenario editor setting
See: #177
4 years ago
Jonathan G Rennison 348530b052 Fix scenario editor settings visibility 4 years ago
Jonathan G Rennison 157beb05ed Add settings to ignore date/zone/GRF when placing houses in scenario editor
See: #177
4 years ago
Jonathan G Rennison b7118b60fe Add setting to enable multiple churches/stadiums in scenario editor
See: #177
4 years ago
Jonathan G Rennison 3dfbeb07f6 Settings: Add scenario editor section 4 years ago
Niels Martin Hansen 84efde8ee3 Change: Log when rejecting a TAR archive for extraction
Based on report in <https://www.tt-forums.net/viewtopic.php?f=31&t=87374>
4 years ago
Jonathan G Rennison 8f8e14c9b2 CMake: Fix languages not being recompiled where required 4 years ago
Łukasz Hryniuk 3effad0bea
Fix: Properly invalidate mouse-over station coverage highlight (#8263) 4 years ago
dP 452e1e3328 Codechange #8258: Remove unused town cargo caches from the savegame 4 years ago
TechGeekNZ a10013dd00 Codechange: Spell 'Viewport' consistently
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'.
This patch makes everything consistent.
4 years ago
TechGeekNZ c0bf7cc840 Fix: GCC warns about possibly uninitialized data in signal.cpp
When compiling with '-Og', GCC warns about variables that are
initialized by reference in the condition of a 'while' loop.

This commit silences the warning by explicitly initializing the
variables in question to their respective 'invalid value' markers,
which will most likely be optimized out when the compiler realizes
the values are never used.
4 years ago
translators a56bf35409 Update: Translations from eints
french: 1 change by glx
4 years ago
translators 82672342b7 Update: Translations from eints
belarusian: 35 changes by KorneySan
4 years ago
translators 663c301e7c Update: Translations from eints
belarusian: 64 changes by KorneySan
russian: 2 changes by KorneySan
4 years ago
translators 808fbaa767 Update: Translations from eints
belarusian: 11 changes by KorneySan
4 years ago
Jonathan G Rennison 651ac33858 Departure boards: Defer vehicle list refresh when invalidated 4 years ago
Jonathan G Rennison cd093931db Departure board: Always invalidate boards in DeleteVehicleOrders 4 years ago
Jonathan G Rennison c0e267973f Departure board: Skip vehicles with no orders 4 years ago
Jonathan G Rennison c35f620746 Fix vehicle destination text colour when mousing over
See: https://github.com/OpenTTD/OpenTTD/issues/8272
4 years ago
glx 4079c47b6c Change: rewrote squirrel_export in CMake 4 years ago
glx 8794c61f25 Change: rewrote generate_widget in CMake 4 years ago
Jonathan G Rennison d290fac2ad Add hotkey to show link graph legend window 4 years ago
Pavel Stupnikov 26b91192a3
Feature: Center text and icons in the status bar vertically (#8273) 4 years ago
TELK 58f1ec6b5e Update: Translations of Korean - Make more natural conditional orders for cargo 4 years ago
Jonathan G Rennison 0a63412c76 Lang: Fix string code issues in czech.txt 4 years ago
Lurker23 cfcd463adf
Add: cs_CZ partial translation (#174)
* Update czech.txt

* Update czech.txt
4 years ago
dP 706c47265e Fix: Set invalid road and tram types for rail tunnel ends 4 years ago
Jonathan G Rennison 05dc785f13 Split STR_ORDER_CONDITIONAL_CARGO string into two, adjust format
See: #172
4 years ago
Jonathan G Rennison a79cab9b45 Merge branch 'pr-173' into jgrpp 4 years ago
TELK eb0328f258 ko-KR: Update translation up to 0.35.0 4 years ago
translators 954d0b4e5b Update: Translations from eints
korean: 1 change by telk5093
4 years ago
Jonathan G Rennison 6d1535b902 Also show destination on mouseover when vehicle waiting for PBS/routing restriction 4 years ago
Jonathan G Rennison 7467051331 Merge branch 'master' into jgrpp
# Conflicts:
#	.gitignore
#	src/network/network_server.cpp
#	src/vehicle_gui.cpp
4 years ago
Jonathan G Rennison f998b1eaa6 Only do RV leader check within uncached area 4 years ago
Jonathan G Rennison c1adefc86d Only do RV leader check if there are multiple target candidates 4 years ago
Jonathan G Rennison e05f4b2faf Use front vehicle for vehicle orders in RV YAPF leader check 4 years ago
Jonathan G Rennison 49fdc9c77a Merge branch 'pr-138' into jgrpp 4 years ago
Jonathan G Rennison c93cffed64 Tidy up PR #138 4 years ago
Yourself 087cae82fc Add: zero tree growth setting 4 years ago
Abdurrahmaan Iqbal 7d2db99bfd Fix #7772: Show destination on mouseover when vehicle stopped (and not in depot) 4 years ago
TrevorShelton c39d62c245 Update: Disuse of STR_ERROR_INCOMPATIBLE_ROAD 4 years ago
TrevorShelton c7e391da93 Change #8162: Conversion of Town Road, Impr. Error
This changes the error when you attempt to convert a road owned by a town to another road, specifying that it's owned by the town rather than simply being incompatible. As the original poster of the issue pointed out, these seemed to be the only occurences of the incompatible road string, so now it's unused, but they would be left untouched in case of future use or since changing it to a different error would do the work of removing it then. If requested, it likely wouldn't be too difficult to remove the string entirely.
4 years ago
Jonathan G Rennison 48b15bb7b8 Avoid superfluous calls to SetDirtyAsBlocks when dragging window
See: #170
4 years ago
Jonathan G Rennison 002e99ac34 Debug: Show tile info on separate lines in vehicle debug window 4 years ago
Jonathan G Rennison 053d4f3bff Fix: Thread unsafe use of SendPacket for PACKET_SERVER_MAP_SIZE
NetworkTCPSocketHandler::SendPacket is not thread safe and may not
be used concurrently from multiple threads without suitable locking
4 years ago
Jonathan G Rennison 1f5de8b82c Auto separation: Remove circular linked list, use new algorithm 4 years ago
Jonathan G Rennison 2219a1a5b7 Debug: Add ahead/behind separation vehicles to vehicle debug window 4 years ago
Jonathan G Rennison c81c805856 Timetable auto: Add an absolute threshold for congestion detection
In addition to existing proportional threshold
4 years ago
Jonathan G Rennison 73340fc112 Timetable auto: Clear timetabled flag with travel time when congested 4 years ago
Jonathan G Rennison 3a65346abc Timetable auto: Skip congestion check for depot service orders 4 years ago
Jonathan G Rennison 21a4c97a8a Fix general transparency hotkey not updating vehicles in tunnels 4 years ago
Jonathan G Rennison 894fd6c609 Add separation state to DumpVehicleFlags 4 years ago
Jonathan G Rennison b7a9f9901a Auto-separation: Do not clear separation on congestion
Clear timetable started, and do no separate using vehicles
without timetable started
4 years ago
Jonathan G Rennison 09a1a7ce1a Auto-separation: Tidy up Vehicle::InitSeparation 4 years ago
Jonathan G Rennison fdd8ae2b9b Whitespace fix 4 years ago
Jonathan G Rennison b520193831 Fix incorrect news parameters for vehicle too heavy advice message 4 years ago
Jonathan G Rennison 53f9fa139d Remove redundant year/month date globals 4 years ago
Jonathan G Rennison c7f6a711b3 Departures board: Fix handling of via orders for arrivals 4 years ago
Jonathan G Rennison 8112e012b6 Fix station catchment overlay not being cleared when distant join window closed 4 years ago
Jonathan G Rennison 5e7f42154d Merge branch 'pr-8263' into HEAD 4 years ago
Jonathan G Rennison 737ced9f50 Merge branch 'master' into jgrpp 4 years ago
Jonathan G Rennison 641e682e3f
Merge pull request #167 from internet-trains/gs-rivers
Gamescript river construction
4 years ago
Yourself 1330a9f59f Fix: allow deity company to always build river 4 years ago
Yourself 3927ec08c6 Feature: GSMarine.BuildRiver function 4 years ago