Commit Graph

49748 Commits

Author SHA1 Message Date
Jonathan G Rennison
b4ceb93406 Plans: Improve drawing performance of current plan line 2020-10-02 03:04:33 +01:00
Jonathan G Rennison
d29a08dfe1 Add gfx_debug console command 2020-10-02 02:10:09 +01:00
Jonathan G Rennison
a474e71243 Viewport: Cache landscape pixels in map mode
Avoid invalidating landscape pixels for non-landscape updates
(vehicles, overlays, etc.)
2020-10-01 23:18:39 +01:00
Jonathan G Rennison
8071976b0e Fix wrong flag set in NWidgetBase::SetDirty 2020-10-01 23:18:39 +01:00
Jonathan G Rennison
35565a115b Viewport: Fix casing of ClearViewportCache(s) 2020-10-01 23:18:39 +01:00
Jonathan G Rennison
352b361e1b Viewport: Replace viewport mark dirty if zoom level below with flags param
Fix missing flags for tracerestrict and effect vehicles
2020-10-01 23:18:39 +01:00
translators
53f36f4afa Update: Translations from eints
czech: 1 change by LubosKolouch
german: 18 changes by matthiasradde
2020-10-01 17:52:06 +00:00
Jonathan G Rennison
1867cebc4a Make smallmap refresh period variable with map mode/zoom and pause state 2020-10-01 11:29:43 +01:00
translators
bdaf596373 Update: Translations from eints
german: 1 change by matthiasradde
polish: 17 changes by yazalo
2020-09-30 17:52:14 +00:00
Jonathan G Rennison
151a4d85b9 Tracerestrict: Fix owner state of counter window 2020-09-29 18:38:01 +01:00
Jonathan G Rennison
2cad094725 Allow sending an empty password to drop settings_access 2020-09-29 18:21:06 +01:00
Jonathan G Rennison
38ebad6123 Plans: Fix adding plan lines in viewport map mode 2020-09-29 17:48:15 +01:00
Jonathan G Rennison
3b47b7b091 Plans: Improve performance of viewport plan rendering 2020-09-29 01:40:12 +01:00
Jonathan G Rennison
bf0bdfdd93 Add sleep debug console command 2020-09-28 21:09:30 +01:00
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
2020-09-28 21:09:30 +01:00
Jonathan G Rennison
7cb9493314 Deduplicate command log entries where possible 2020-09-28 21:09:30 +01:00
Jonathan G Rennison
e2eed7cb8a Add console command to dump link graph jobs 2020-09-28 21:09:30 +01:00
translators
d9b0e6c550 Update: Translations from eints
romanian: 7 changes by ALEX11BR
portuguese (brazilian): 44 changes by Lucas559-noob
2020-09-28 17:52:03 +00:00
Jonathan G Rennison
e90b39c559 Add console command to get full game date 2020-09-27 23:07:44 +01:00
Jonathan G Rennison
1b4606b4f3 Linkgraph: Fix comment typo in link graph job class 2020-09-27 23:06:59 +01:00
translators
5584bf6bbb Update: Translations from eints
portuguese (brazilian): 22 changes by Lucas559-noob
polish: 6 changes by pAter-exe
2020-09-27 17:51:48 +00:00
translators
4279620aef Update: Translations from eints
turkish: 28 changes by nullaf
dutch: 1 change by rcpaul
2020-09-26 17:51:50 +00:00
Jonathan G Rennison
84dd35b685 Add drive-through train depot emulation (default off) 2020-09-26 18:08:26 +01:00
Jonathan G Rennison
b6f583a799 GRF: Add railtype custom signal sprite restricted flag, and control flag 2020-09-26 11:53:44 +01:00
Jonathan G Rennison
d32672a325 GRF: Allow railtype custom signal sprites for programmable pre-signals 2020-09-26 11:26:33 +01:00
translators
d58531ec84 Update: Translations from eints
german: 1 change by frosch123
2020-09-26 10:12:43 +00:00
Charles Pigott
85ca1c535e Codechange: Set CMAKE_BUILD_TYPE to default to debug if not otherwise set 2020-09-25 21:50:06 +01:00
Galigator
933d02dce2 Change: Service depot also reset breakdown chance. 2020-09-25 22:38:58 +02:00
Jonathan G Rennison
3cb1327012 Fix #193: Comparison is always true compiler warning 2020-09-25 18:21:33 +01:00
Jonathan G Rennison
9be6eb92f8 Console: Add network server commands to get/set company pw hashes 2020-09-25 17:49:39 +01:00
stormcone
49b75d67bd
Fix 70f9c3c6: The *_filter_criteria variables contain an index, not a cargo. (#8320) 2020-09-25 15:35:48 +01:00
Charles Pigott
348c231e12 Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00
frosch
df5362a008 Fix #8311, b98c7763de: Industry probability at map generation was scaled differently when set via property or callback. 2020-09-24 19:29:52 +02:00
dP
0110fa12da Feature: Make news and errors close hotkeys configurable 2020-09-24 19:23:12 +02:00
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.
2020-09-24 19:17:18 +02:00
Jonathan G Rennison
a18ebba564 Allow converting track under trains when compatible with the new rail type 2020-09-24 18:00:59 +01:00
dP
3ad4a6e3da Fix 380fd8c: Only check houses for cargo when generating subsidies with towns 2020-09-24 17:57:09 +01:00
Jonathan G Rennison
481710f95b Show engine rail type info in vehicle debug window 2020-09-23 20:33:38 +01:00
translators
beaa7c7894 Update: Translations from eints
korean: 1 change by telk5093
2020-09-23 19:45:38 +02:00
Jonathan G Rennison
c55ca03066 Merge branch 'pr-192' into jgrpp 2020-09-23 10:20:09 +01:00
TELK
143495853c Update: Korean translation for v0.37.0, and some fixes 2020-09-23 18:14:45 +09:00
Jonathan G Rennison
0cffabe571 Add missing <array> include
See: #191
2020-09-23 10:05:07 +01:00
Jonathan G Rennison
2ded309430 Version: Committing version data for tag: jgrpp-0.37.0 2020-09-22 19:34:49 +01:00
Jonathan G Rennison
886ffeeb82 Merge branch 'pr-8312' into jgrpp 2020-09-21 19:34:34 +01:00
Jonathan G Rennison
0bfae346c1 Allow using the hash key in hotkeys (SDL) 2020-09-21 03:52:50 +01:00
Jonathan G Rennison
cfe63734ec Add unset hotkeys for message history, TBTR, slots, counters 2020-09-21 03:38:45 +01:00
Jonathan G Rennison
3f8ce47d32 TBTR: Fix being able to open template replacement window more than once 2020-09-21 03:27:37 +01:00
Jonathan G Rennison
09d5be1aad TBTR: Remove unitnumber_digits field/param from main window 2020-09-21 03:20:59 +01:00
Jonathan G Rennison
aea747be08 Merge branch 'master' into jgrpp
# Conflicts:
#	src/hotkeys.cpp
2020-09-21 02:14:30 +01:00
frosch
e544f8b1f2 Fix #8311, b98c7763de: Industry probability at map generation was scaled differently when set via property or callback. 2020-09-20 22:30:47 +02:00