Jonathan G Rennison
a0e9baac54
Bump more_cond_orders savegame version due to 8a814bbf
2021-02-12 18:00:22 +00:00
Jonathan G Rennison
1b0e602ed5
Do not fill reservation lookahead if reservation could still be cancelled
...
If ExtendTrainReservation finds a safe waiting point, this could
later not be a safe waiting point after advancing orders, due to
conditionally reserve through routing restrictions
2021-02-11 22:31:48 +00:00
Patric Stout
52317bb7df
Change: [SDL2] Remove unneeded delay of redrawing the screen
...
In testing, I could find no reason why this statement is here.
The comment is rather unclear (it states what it does, but not
why it would be needed).
This line of code was introduced with f4f40448
, which gives no
further insight on why it would be needed to have it here.
As such, let's remove it and see if anyone else reports any
problems with it. If so, this commit can be reverted and a more
clear comment should be added what this line of code is dealing
with (the WHY, not the WHAT).
2021-02-11 20:23:53 +01:00
Patric Stout
2e1535389a
Codechange: [SDL2] Don't use globals if we can do with locals
2021-02-11 20:23:53 +01:00
Patric Stout
2bbef6b5cf
Codechange: [SDL2] Name paint function Paint(), like other drivers do
...
This reduces confusion when reading different drivers.
2021-02-11 20:23:53 +01:00
Patric Stout
569ce6c7b4
Fix 30e69c51
: palette was not marked dirty when creating a new
...
This means the code depended that the caller did this for us
before MakePalette() is executed, which is neither a
requirement nor a promise the code makes.
2021-02-11 20:23:53 +01:00
translators
64e2d6b672
Update: Translations from eints
...
korean: 7 changes by telk5093
russian: 11 changes by Ln-Wolf
finnish: 7 changes by hpiirai
2021-02-11 19:01:10 +00:00
Jonathan G Rennison
764af07a33
Fix departure boards not handling unconditional order jumps
2021-02-10 22:36:35 +00:00
Jonathan G Rennison
8a814bbfe3
Add release slot train order
2021-02-10 22:30:22 +00:00
Jonathan G Rennison
d42ad99688
Add conditional order for current time/date
2021-02-10 18:34:46 +00:00
Jonathan G Rennison
62ea3b7794
Use original speeds when braking at station in original braking mode
...
Partially reverts: 628077d0
2021-02-10 18:05:15 +00:00
Kuhnovic
83ddb1501f
Feature: Remove all industries button in scenario editor ( #8550 )
2021-02-10 16:35:50 +01:00
Loïc Guilloux
f1f281b318
Fix: [Win32] Set minimum resolution for timers to 1ms. ( #8660 )
2021-02-09 21:21:57 +01:00
embeddedt
6c8f2227cd
Fix: [Emscripten] open links in browser ( #8655 )
2021-02-08 19:18:30 +01:00
Patric Stout
ac2b5e57cf
Fix: mention our websites with https:// (instead of http://) ( #8657 )
...
It is 2021. Nobody should advertise http anymore. Not even us.
2021-02-08 19:07:34 +01:00
glx22
2cbfcd2327
Change: [CMake] Bump minimum version to 3.9
2021-02-07 16:21:13 +01:00
Loïc Guilloux
b927da73c1
Fix 81d335b081
: Use non-pulsating red highlight for coverage ( #8622 )
2021-02-07 16:20:26 +01:00
Matt Kimber
2a6da319b2
Fix 0125892
: Don't crash when towns upgrade road tiles during expansion ( #8651 )
2021-02-07 16:15:46 +01:00
Patric Stout
2c9084d48c
Fix #8029 : [SDL2] disable draw-thread on wayland SDL video driver ( #8648 )
...
When the wayland SDL video driver is used, an EGL context is
created in the main thread. It is not allowed to update this
context from another thread, which is exactly what our draw-thread
is trying.
The other solution would be to move all of SDL into the
draw-thread, but that would introduce a whole scala of different
problems.
The wayland SDL backend is significantly faster than the
X11 SDL backend, but there is a performance hit nevertheless.
2021-02-06 14:09:45 +01:00
Jonathan G Rennison
03f95322ae
Fix CheckCurveLookAhead applying curves just beyond the train length
...
Fix vehicle spacing logic
2021-02-05 21:45:44 +00:00
Jonathan G Rennison
e75e2b5bdc
Fix left mouse button scroll in viewport map mode
2021-02-05 11:56:08 +00:00
SamuXarick
a4035af337
Codechange: Apply coding style ( #8640 )
...
* Fix: Missing or needed spaces
* Codechange: Remove space
* Codechange: Remove space
* Codechange: More missing spaces
* Codechange: Missing spaces
* Codechange: Remove space
* Codechange: Remove space
2021-02-05 11:00:36 +01:00
Jonathan G Rennison
b8c3bee8b0
Fix clicking trains in slots window
2021-02-05 02:48:28 +00:00
Jonathan G Rennison
0cc994c870
Save/restore implicit and TT order indices in VehicleOrderSaver
...
Fix implicit/TT order indices being unexpectedly changed by
UpdateOrderDest if an order target is unsuitable.
This could assert UpdateVehicleTimetable
2021-02-04 21:49:05 +00:00
Jonathan G Rennison
db04bc090e
Fix crash when removing unreserved tunnel when realistic braking enabled
2021-02-04 21:09:21 +00:00
Jonathan G Rennison
48395cb2db
Fix assert when freeing train reservation from track edit command
2021-02-04 20:54:37 +00:00
Jonathan G Rennison
5283e16946
Fix misspelling of variable name: acceleration_type
2021-02-04 17:20:02 +00:00
Jonathan G Rennison
f4526dbb5f
Fix wrong cost when cycling tunnel/bridge signal type with CTRL
2021-02-04 12:14:54 +00:00
Jonathan G Rennison
23651fd550
Fix #214 : CmdRemoveSingleSignal removed tunnel/bridge signals in test mode
...
Regression from: ed0ffb622
2021-02-04 12:02:54 +00:00
Jonathan G Rennison
d52eebb829
Set value of cached_uncapped_decel in original acceleration model
...
This is to avoid false positive cache mismatch messages
2021-02-03 21:30:36 +00:00
Jonathan G Rennison
c1f1b5f3b3
Give monorail/maglev larger realistic braking deceleration limits
2021-02-03 21:22:09 +00:00
Jonathan G Rennison
4e1b1bc91e
Fix wrong power units used for maglev realistic braking deceleration calc
2021-02-03 20:54:34 +00:00
Jonathan G Rennison
5ac9fa10e1
Fix signal dragging when obstructed by train reservation
2021-02-03 03:37:06 +00:00
Jonathan G Rennison
667001f2ec
Fix crash when downgrading road bridge when realistic braking enabled
2021-02-03 02:57:44 +00:00
Jonathan G Rennison
be216952cb
Fix drag and drop in tracerestrict slot window
2021-02-02 23:32:04 +00:00
Jonathan G Rennison
a9b82b817b
Prevent signed overflow of lookahead position
2021-02-02 22:02:44 +00:00
translators
5b3fe4ae27
Update: Translations from eints
...
german: 4 changes by Wuzzy2
2021-02-02 18:17:17 +00:00
Jonathan G Rennison
351cf27719
Use go to location sprite for tracerestrict go to signal button
2021-02-02 16:52:47 +00:00
glx22
144991990e
Fix: [CMake] Language files should depend on english.txt
2021-02-02 17:33:18 +01:00
Jonathan G Rennison
650d5e014e
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/ai/ai_gui.cpp
# src/company_cmd.cpp
# src/lang/estonian.txt
# src/lang/german.txt
# src/lang/hungarian.txt
# src/lang/korean.txt
# src/lang/slovak.txt
# src/main_gui.cpp
# src/video/sdl2_v.cpp
2021-02-01 19:34:30 +00:00
Jonathan G Rennison
7154f8859d
Merge tag '1.11.0-beta1' into jgrpp
...
# Conflicts:
# src/console_cmds.cpp
# src/gfx_func.h
# src/industry.h
# src/lang/czech.txt
# src/lang/estonian.txt
# src/lang/german.txt
# src/lang/indonesian.txt
# src/lang/japanese.txt
# src/lang/norwegian_bokmal.txt
# src/lang/russian.txt
# src/lang/slovak.txt
# src/saveload/saveload.h
# src/station_gui.cpp
# src/town_gui.cpp
# src/vehicle_gui.cpp
# src/video/sdl2_v.cpp
# src/waypoint_gui.cpp
2021-02-01 18:58:36 +00:00
translators
696b6990ea
Update: Translations from eints
...
estonian: 110 changes by siimsoni
2021-02-01 18:17:06 +00:00
Jonathan G Rennison
61e7b8c52a
Debug: Include vehicle type and unit number in scope_dumper::VehicleInfo
2021-02-01 17:30:41 +00:00
Jonathan G Rennison
b7ddd486cf
Merge branch 'master' into jgrpp
...
# Conflicts:
# cmake/CompileFlags.cmake
# src/aircraft_cmd.cpp
# src/blitter/32bpp_anim.cpp
# src/cargopacket.cpp
# src/cheat_gui.cpp
# src/company_cmd.cpp
# src/company_gui.cpp
# src/core/pool_func.hpp
# src/date.cpp
# src/economy.cpp
# src/error_gui.cpp
# src/ground_vehicle.cpp
# src/ground_vehicle.hpp
# src/group_gui.cpp
# src/industry_cmd.cpp
# src/lang/dutch.txt
# src/lang/french.txt
# src/lang/german.txt
# src/linkgraph/linkgraph_gui.cpp
# src/linkgraph/mcf.cpp
# src/network/network_content.cpp
# src/network/network_server.cpp
# src/network/network_udp.cpp
# src/newgrf_engine.cpp
# src/newgrf_station.cpp
# src/order_cmd.cpp
# src/order_gui.cpp
# src/pathfinder/follow_track.hpp
# src/pathfinder/yapf/yapf_common.hpp
# src/saveload/saveload.cpp
# src/settings_gui.cpp
# src/station_cmd.cpp
# src/station_kdtree.h
# src/string_func.h
# src/table/settings.ini
# src/tgp.cpp
# src/timetable_cmd.cpp
# src/timetable_gui.cpp
# src/toolbar_gui.cpp
# src/town_cmd.cpp
# src/train_cmd.cpp
# src/train_gui.cpp
# src/tree_gui.cpp
# src/tunnelbridge_cmd.cpp
# src/vehicle.cpp
# src/vehicle_gui.cpp
# src/video/sdl2_v.cpp
# src/video/sdl_v.cpp
# src/video/win32_v.cpp
# src/viewport.cpp
# src/viewport_sprite_sorter_sse4.cpp
# src/window.cpp
2021-02-01 17:07:34 +00:00
translators
069fb54253
Update: Translations from eints
...
estonian: 17 changes by siimsoni
german: 410 changes by Wuzzy2
2021-01-31 18:14:37 +00:00
Patric Stout
7fbf705c41
Fix 2db88953
: default Network Server List sorter put compatible servers in wrong order ( #8626 )
...
If a server is compatible, it falls back to sorting by clients.
This used to be in reverse, so full servers are on top. With
the codechange commit, this was removed by accident, and as
such empty servers were on top. This is silly.
2021-01-31 10:36:07 +01:00
Tyler Trahan
1dda7d6486
Fix: don't walk out of the map when trying to build tunnels ( #8600 )
2021-01-31 10:04:22 +01:00
Jonathan G Rennison
1d1b105299
Fix auto remove signals functionality
2021-01-31 01:46:29 +00:00
Jonathan G Rennison
082d9021d0
Only use more specific texts for money sending where available
2021-01-31 01:46:29 +00:00
Jonathan G Rennison
d978ffcb59
Fix train braking model not being set to original on load
2021-01-31 01:46:29 +00:00