Commit Graph

36794 Commits (755fa8196f6a25cddd5d2f1abc7a4c3ee914025b)

Author SHA1 Message Date
Jonathan G Rennison 08eba56a28 TBTR: Check virtual train ownership when deleting/using as template 4 years ago
Jonathan G Rennison 65cdb35898 TBTR: Fix CmdDeleteVirtualTrain deleting non-head vehicles
Deleting a non-head virtual vehicle left a dangling next pointer on
the previous vehicle. Delete the head instead.
Check for non-virtual vehicles
4 years ago
Jonathan G Rennison 0d4a023c1d TBTR: Fix TemplateVehicle allocation check in CmdReplaceTemplateVehicle 4 years ago
Jonathan G Rennison a072b401b6 TBTR: Fix use after free when replacing template 4 years ago
Jonathan G Rennison 5e409c19f0 Debug: Use two command logs instead of one
Log uninteresting GS commands in secondary log
4 years ago
Jonathan G Rennison bb576312cc Fix bd2649c1: Division by zero when there are no vehicles 4 years ago
translators 6e53bf00c4 Update: Translations from eints
slovak: 56 changes by FuryPapaya
4 years ago
TELK 7a977f16d7 Update: Korean translation 4 years ago
TELK 6cca615ac1 Update: [Korean] Change compare operation 4 years ago
Jonathan G Rennison 387374f1e3 Fix crash when placing unavailable object
In case where object class has no available objects
4 years ago
Jonathan G Rennison 28405b00a4 Fix bd2649c1: Assertion failure when opening group window for non-first company 4 years ago
translators a36a1b5ff5 Update: Translations from eints
slovak: 193 changes by FuryPapaya
spanish: 46 changes by MontyMontana
4 years ago
Jonathan G Rennison e684135e4a Add fast path to ViewportMapDrawVehicles horizontal hash bit check 4 years ago
Jonathan G Rennison cbbea0c8f4 Allow several settings to be changed in multiplayer
* construction.command_pause_level
* economy.allow_town_level_crossings
* vehicle.improved_breakdowns
* vehicle.adjacent_crossings
4 years ago
Jonathan G Rennison 51477334be SDL2: Only pass a single rectangle to SDL_UpdateWindowSurfaceRects
This is to prevent screen tearing
4 years ago
Jonathan G Rennison 1298f49be6 SDL2: Update whole window surface if >= 80% needs updating 4 years ago
Jonathan G Rennison bd2649c19e Avoid unnecessary redrawing of vehicle list windows
Redraw info section every tick if values have changed
4 years ago
translators e01143edf8 Update: Translations from eints
italian: 1 change by AlphaJack
romanian: 13 changes by ALEX11BR
finnish: 6 changes by VeeraKoo
slovak: 202 changes by FuryPapaya
spanish: 240 changes by MontyMontana
4 years ago
translators 3723207d64 Update: Translations from eints
slovak: 23 changes by FuryPapaya
turkish: 66 changes by ozcanakdora
4 years ago
translators 80f7937e42 Update: Translations from eints
korean: 8 changes by telk5093
4 years ago
Jonathan G Rennison 2c4808e239 Viewport: Add debug flag to disable landscape cache 4 years ago
Jonathan G Rennison bfc26a0180 Fix unnecessary status bar redraws when there is no news to show 4 years ago
Jonathan G Rennison db0e25f7cd Fix OverflowSafeInt INT64_MIN handling when not using overflow builtins
See: https://github.com/OpenTTD/OpenTTD/issues/8284
4 years ago
Jonathan G Rennison 609f37cef9 Fix OverflowSafeInt negation not handling INT64_MIN
See: https://github.com/OpenTTD/OpenTTD/issues/8284
4 years ago
Jonathan G Rennison 52c433d9a4 Finance window: Fix column width when company money is very negative 4 years ago
Jonathan G Rennison 7e68459ebd Fix plans/route line viewport mark dirty not being wide enough 4 years ago
Jonathan G Rennison b4ceb93406 Plans: Improve drawing performance of current plan line 4 years ago
Jonathan G Rennison d29a08dfe1 Add gfx_debug console command 4 years ago
Jonathan G Rennison a474e71243 Viewport: Cache landscape pixels in map mode
Avoid invalidating landscape pixels for non-landscape updates
(vehicles, overlays, etc.)
4 years ago
Jonathan G Rennison 8071976b0e Fix wrong flag set in NWidgetBase::SetDirty 4 years ago
Jonathan G Rennison 35565a115b Viewport: Fix casing of ClearViewportCache(s) 4 years ago
Jonathan G Rennison 352b361e1b Viewport: Replace viewport mark dirty if zoom level below with flags param
Fix missing flags for tracerestrict and effect vehicles
4 years ago
translators 53f36f4afa Update: Translations from eints
czech: 1 change by LubosKolouch
german: 18 changes by matthiasradde
4 years ago
Jonathan G Rennison 1867cebc4a Make smallmap refresh period variable with map mode/zoom and pause state 4 years ago
translators bdaf596373 Update: Translations from eints
german: 1 change by matthiasradde
polish: 17 changes by yazalo
4 years ago
Jonathan G Rennison 151a4d85b9 Tracerestrict: Fix owner state of counter window 4 years ago
Jonathan G Rennison 2cad094725 Allow sending an empty password to drop settings_access 4 years ago
Jonathan G Rennison 38ebad6123 Plans: Fix adding plan lines in viewport map mode 4 years ago
Jonathan G Rennison 3b47b7b091 Plans: Improve performance of viewport plan rendering 4 years ago
Jonathan G Rennison bf0bdfdd93 Add sleep debug console command 4 years ago
Jonathan G Rennison a07df41342 Linkgraph: Change job scheduling scaling and duration calculations
Clamp scaling to max of 13

Replace duration calculation by:
N <= 1600: linear
N > 1600: proportional to cost estimate: N^2 log N
4 years ago
Jonathan G Rennison 7cb9493314 Deduplicate command log entries where possible 4 years ago
Jonathan G Rennison e2eed7cb8a Add console command to dump link graph jobs 4 years ago
translators d9b0e6c550 Update: Translations from eints
romanian: 7 changes by ALEX11BR
portuguese (brazilian): 44 changes by Lucas559-noob
4 years ago
Jonathan G Rennison e90b39c559 Add console command to get full game date 4 years ago
Jonathan G Rennison 1b4606b4f3 Linkgraph: Fix comment typo in link graph job class 4 years ago
translators 5584bf6bbb Update: Translations from eints
portuguese (brazilian): 22 changes by Lucas559-noob
polish: 6 changes by pAter-exe
4 years ago
translators 4279620aef Update: Translations from eints
turkish: 28 changes by nullaf
dutch: 1 change by rcpaul
4 years ago
Jonathan G Rennison 84dd35b685 Add drive-through train depot emulation (default off) 4 years ago
Jonathan G Rennison b6f583a799 GRF: Add railtype custom signal sprite restricted flag, and control flag 4 years ago
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