Commit Graph

49585 Commits

Author SHA1 Message Date
FuryPapaya
f1ab41e337
Fix: Slovak ownname was using the wrong form (#8326)
Noun vs Adjective
2020-10-10 13:34:21 +01:00
Jonathan G Rennison
cce6d731a1 TBTR: Delete orphaned virtual trains on client disconnection 2020-10-09 19:26:07 +01:00
Jonathan G Rennison
348178e9eb TBTR: Fix crash which could occur with multiple virtual vehicle deletes in flight 2020-10-09 19:07:04 +01:00
translators
50417ab0c5 Update: Translations from eints
slovak: 131 changes by FuryPapaya
2020-10-09 17:51:37 +00:00
Jonathan G Rennison
8cec0181b2 TBTR: Fix appending to template not refreshing window in MP 2020-10-09 18:45:53 +01:00
Jonathan G Rennison
198e948720 TBTR: Add nullptr assert to fix warning in TemplateVehicleFromVirtualTrain 2020-10-09 18:24:08 +01:00
Jonathan G Rennison
34a6445e77 TBTR: Use virtual train head in CmdReplaceTemplateVehicle
Check that train is virtual
2020-10-09 01:05:52 +01:00
Jonathan G Rennison
08eba56a28 TBTR: Check virtual train ownership when deleting/using as template 2020-10-09 01:00:13 +01:00
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
2020-10-09 00:42:16 +01:00
Jonathan G Rennison
0d4a023c1d TBTR: Fix TemplateVehicle allocation check in CmdReplaceTemplateVehicle 2020-10-09 00:42:16 +01:00
Jonathan G Rennison
a072b401b6 TBTR: Fix use after free when replacing template 2020-10-09 00:03:45 +01:00
Jonathan G Rennison
5e409c19f0 Debug: Use two command logs instead of one
Log uninteresting GS commands in secondary log
2020-10-08 22:39:23 +01:00
Jonathan G Rennison
bb576312cc Fix bd2649c1: Division by zero when there are no vehicles 2020-10-08 22:35:43 +01:00
translators
6e53bf00c4 Update: Translations from eints
slovak: 56 changes by FuryPapaya
2020-10-08 17:51:56 +00:00
Jonathan G Rennison
3884eadef9
Merge pull request #195 from telk5093/jgrpp
Update: Korean translation
2020-10-08 10:40:23 +01:00
TELK
7a977f16d7 Update: Korean translation 2020-10-08 17:57:08 +09:00
TELK
6cca615ac1 Update: [Korean] Change compare operation 2020-10-08 17:57:08 +09:00
Jonathan G Rennison
387374f1e3 Fix crash when placing unavailable object
In case where object class has no available objects
2020-10-08 00:04:00 +01:00
Jonathan G Rennison
28405b00a4 Fix bd2649c1: Assertion failure when opening group window for non-first company 2020-10-08 00:03:23 +01:00
translators
a36a1b5ff5 Update: Translations from eints
slovak: 193 changes by FuryPapaya
spanish: 46 changes by MontyMontana
2020-10-06 17:51:50 +00:00
Jonathan G Rennison
e684135e4a Add fast path to ViewportMapDrawVehicles horizontal hash bit check 2020-10-06 18:15:56 +01:00
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
2020-10-05 22:41:21 +01:00
Jonathan G Rennison
51477334be SDL2: Only pass a single rectangle to SDL_UpdateWindowSurfaceRects
This is to prevent screen tearing
2020-10-05 21:35:05 +01:00
Jonathan G Rennison
1298f49be6 SDL2: Update whole window surface if >= 80% needs updating 2020-10-05 21:06:29 +01:00
Jonathan G Rennison
bd2649c19e Avoid unnecessary redrawing of vehicle list windows
Redraw info section every tick if values have changed
2020-10-05 20:37:17 +01:00
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
2020-10-05 17:51:44 +00:00
translators
3723207d64 Update: Translations from eints
slovak: 23 changes by FuryPapaya
turkish: 66 changes by ozcanakdora
2020-10-04 17:51:56 +00:00
translators
80f7937e42 Update: Translations from eints
korean: 8 changes by telk5093
2020-10-03 17:51:47 +00:00
Charles Pigott
bef9e3fcfa Remove: Old Azure Pipelines CI 2020-10-03 16:17:11 +01:00
glx
5af98c69e6 Add: [Actions] CI build workflow 2020-10-03 16:17:11 +01:00
Charles Pigott
a0307652f3 Fix: Work around cmake bug by stripping link target strings 2020-10-03 16:17:11 +01:00
Jonathan G Rennison
2c4808e239 Viewport: Add debug flag to disable landscape cache 2020-10-03 16:01:59 +01:00
Jonathan G Rennison
bfc26a0180 Fix unnecessary status bar redraws when there is no news to show 2020-10-03 15:55:50 +01:00
Jonathan G Rennison
db0e25f7cd Fix OverflowSafeInt INT64_MIN handling when not using overflow builtins
See: https://github.com/OpenTTD/OpenTTD/issues/8284
2020-10-02 17:52:41 +01:00
Jonathan G Rennison
609f37cef9 Fix OverflowSafeInt negation not handling INT64_MIN
See: https://github.com/OpenTTD/OpenTTD/issues/8284
2020-10-02 17:50:20 +01:00
Jonathan G Rennison
52c433d9a4 Finance window: Fix column width when company money is very negative 2020-10-02 17:49:22 +01:00
Jonathan G Rennison
7e68459ebd Fix plans/route line viewport mark dirty not being wide enough 2020-10-02 03:05:31 +01:00
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