Jonathan G Rennison
f9956d88c3
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/aircraft_cmd.cpp
# src/company_gui.cpp
# src/lang/arabic_egypt.txt
# src/lang/czech.txt
# src/lang/esperanto.txt
# src/lang/faroese.txt
# src/lang/finnish.txt
# src/lang/german.txt
# src/lang/korean.txt
# src/lang/latvian.txt
# src/lang/malay.txt
# src/lang/polish.txt
# src/lang/spanish.txt
# src/lang/spanish_MX.txt
# src/lang/unfinished/urdu.txt
# src/main_gui.cpp
# src/rail_cmd.cpp
# src/rail_gui.cpp
# src/road_cmd.cpp
# src/settings_type.h
# src/station_cmd.cpp
# src/table/settings.ini
2021-01-31 01:11:12 +00:00
Jonathan G Rennison
43b0ddc558
Use tile railtype for curve speed look ahead
...
See: 0f91cb04
2021-01-31 01:08:47 +00:00
Jonathan G Rennison
6c3e5642f8
Merge branch 'master' into jgrpp
...
# Conflicts:
# cmake/CompileFlags.cmake
# src/crashlog.cpp
# src/fileio.cpp
# src/fileio_func.h
# src/fios_gui.cpp
# src/ini_load.cpp
# src/ini_type.h
# src/lang/english.txt
# src/lang/german.txt
# src/lang/korean.txt
# src/network/network_client.cpp
# src/order_base.h
# src/order_cmd.cpp
# src/os/windows/win32.cpp
# src/road_cmd.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload.h
# src/settings.cpp
# src/station_cmd.cpp
# src/stdafx.h
# src/table/settings.ini
# src/tree_cmd.cpp
# src/tree_gui.cpp
# src/vehicle_base.h
# src/video/cocoa/cocoa_v.mm
# src/video/cocoa/event.mm
# src/video/cocoa/wnd_quartz.mm
# src/viewport.cpp
# src/widgets/tree_widget.h
2021-01-31 01:08:35 +00:00
Patric Stout
0e54c32452
Codechange: [SDL2] Use MakeDirty() to force a redraw
...
The original code is "strictly correct", but just reads really
weird, and we use MakeDirty() in several other places instead too.
2021-01-30 21:43:59 +01:00
Patric Stout
30e69c518b
Codechange: [SDL2] Rework how palette is updated
...
It now follows more what the Win32 driver does, and has far less
exceptions and special casing.
MakePalette creates the Palette and prepares surface.
UpdatePalette updates the Palette.
CheckPaletteAnim checks if UpdatePalette needs to be called and
marks the whole screen dirty so DrawSurfaceToScreen will do a
full redraw.
2021-01-30 21:43:59 +01:00
Patric Stout
eb80fefd1d
Fix: [SDL2] Display why SDL_CreateWindow() failed in case it does
...
All SDL_NNN errors print SDL_GetError, except for this one place.
2021-01-30 21:43:59 +01:00
Patric Stout
19345908cb
Codechange: [SDL2] Split away CreateMainWindow from CreateMainSurface
...
This makes the code a bit more readable, as both intentions are
more clear, and there is less nesting in the main function.
2021-01-30 21:43:59 +01:00
Patric Stout
8c37e5c526
Codechange: [SDL2] reworked the different surfaces to make it more readable
2021-01-30 21:43:59 +01:00
Patric Stout
8de325f256
Codechange: [SDL2] Only prepare "caption" if you are going to us it
2021-01-30 21:43:59 +01:00
Patric Stout
e41ec5b42e
Codechange: [SDL2] Minor code cleanup to remove silly variable
2021-01-30 21:43:59 +01:00
Patric Stout
678031f9b3
Codechange: [SDL2] Only set _cur_palette, never _local_palette
2021-01-30 21:43:59 +01:00
Patric Stout
f31b65825f
Codechange: [SDL2] Move FindStartupDisplay to its own function
2021-01-30 21:43:59 +01:00
Patric Stout
6916fc76bd
Codechange: [SDL2] reworked FindResolutions to be more like the rest
...
There was no default resolution fallback, and the code was different
from the win32 driver. It is now named the same and much more
similar.
2021-01-30 21:43:59 +01:00
Patric Stout
a52d716c88
Codechange: [SDL2] remove include-protection
...
This is already done by CMake: if SDL2 is not detected, this file
is not included.
2021-01-30 21:43:59 +01:00
Jonathan G Rennison
33d9e48bcf
Add setting for inflation dates mode
2021-01-30 19:59:00 +00:00
Jonathan G Rennison
39df1c49a1
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/fileio.cpp
# src/group_gui.cpp
# src/industry.h
# src/lang/korean.txt
# src/linkgraph/linkgraphjob.cpp
# src/linkgraph/linkgraphjob.h
# src/linkgraph/linkgraphschedule.cpp
# src/linkgraph/linkgraphschedule.h
# src/openttd.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload.h
# src/town_cmd.cpp
# src/vehicle_gui.cpp
# src/vehicle_gui_base.h
2021-01-30 18:27:35 +00:00
translators
5ae2c1552b
Update: Translations from eints
...
estonian: 353 changes by siimsoni
2021-01-30 18:14:36 +00:00
Jonathan G Rennison
cb69611248
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/changelog.sh
# cmake/PackageDeb.cmake
# src/network/network_client.cpp
# src/settings_gui.cpp
2021-01-29 18:27:36 +00:00
Jonathan G Rennison
dddcd6d441
Merge branch 'pr-213' into jgrpp
2021-01-29 18:18:39 +00:00
translators
48698403a8
Update: Translations from eints
...
estonian: 85 changes by siimsoni
korean: 30 changes by telk5093
portuguese: 24 changes by CheapWebdesign
2021-01-29 18:17:44 +00:00
Jonathan G Rennison
09dc33022c
Add client setting for vehicle naming scheme
2021-01-29 18:16:42 +00:00
Jonathan G Rennison
43980639de
Merge branch 'master' into jgrpp
...
# Conflicts:
# .gitignore
# CMakeLists.txt
# src/3rdparty/optional/optional.hpp
# src/group_cmd.cpp
# src/industry_cmd.cpp
# src/misc_gui.cpp
# src/video/sdl2_v.cpp
2021-01-29 17:45:15 +00:00
TELK
cd1fd5f352
Update: Korean translation for ed0ffb6
2021-01-29 14:59:30 +09:00
Jonathan G Rennison
4e0804b791
Fix const issues around GetTrainStopLocation/GetCurrentMaxSpeed
2021-01-29 02:13:08 +00:00
Jonathan G Rennison
b711f94d1c
Fix FollowTrainReservation following outwards from end depot
2021-01-28 23:25:07 +00:00
Jonathan G Rennison
87c87649b8
Fix lookahead init inside a signalled tunnel/bridge only filling interior
2021-01-28 22:28:20 +00:00
Jonathan G Rennison
9506a33443
Don't treat loading trains specially when enabling realistic braking
2021-01-28 22:27:23 +00:00
Jonathan G Rennison
62fffddb3f
Don't mark train stuck if no reachable track in TryPathReserve
2021-01-28 22:23:06 +00:00
Jonathan G Rennison
628077d0bb
Fix missing stop due to speed when entering station with lookahead
2021-01-28 22:22:11 +00:00
Jonathan G Rennison
d913083c37
Print warning instead of asserting for invalid NewGRF string IDs
2021-01-28 19:03:18 +00:00
Jonathan G Rennison
ed0ffb6220
Add feature: realistic train braking
...
Add setting to select train braking model.
2021-01-28 19:03:18 +00:00
translators
3dac139b00
Update: Translations from eints
...
estonian: 5 changes by siimsoni
hungarian: 7 changes by andrejmoltok
2021-01-28 18:16:32 +00:00
translators
da78b5c130
Update: Translations from eints
...
estonian: 117 changes by siimsoni
german: 5 changes by Wuzzy2
slovak: 23 changes by FuryPapaya
2021-01-27 18:14:58 +00:00
translators
027452fef8
Update: Translations from eints
...
german: 11 changes by Wuzzy2
2021-01-26 18:14:06 +00:00
Jonathan G Rennison
2b02318c7e
Add int64 cube root and square root functions
2021-01-26 00:00:35 +00:00
translators
67fa5a23b9
Update: Translations from eints
...
estonian: 7 changes by siimsoni
2021-01-25 18:42:15 +00:00
Jonathan G Rennison
ac5b0d8017
Fix crash in auto-separation when all orders removed
2021-01-25 02:21:02 +00:00
Jonathan G Rennison
1838e8939f
Improve handling of reversing inside bidi signalled tunnel/bridge
...
Avoid train crashes when reversing trains either side of entrance tile
2021-01-25 02:20:38 +00:00
Jonathan G Rennison
2a82491a2e
Fix reservation not cleared from far end of signalled tunnel when removing
2021-01-25 02:20:38 +00:00
Jonathan G Rennison
01c051793c
Allow referencing waypoints in news items
2021-01-25 02:20:38 +00:00
Jonathan G Rennison
ac6581ac8f
Lang: Fix string codes in german.txt
2021-01-24 22:42:40 +00:00
translators
b2d9a2dc79
Update: Translations from eints
...
estonian: 12 changes by siimsoni
finnish: 1 change by hpiirai
2021-01-23 18:39:34 +00:00
kruemelmagic
7072bc2fac
Update German language by Kruemelchen
...
Update to be on par with v. 0.39.2
2021-01-23 13:55:28 +01:00
glx22
6b8ad5a9b1
Change: Apply some consistency to singleplayer related comments
2021-01-22 22:19:55 +01:00
glx22
07385c3662
Fix: Use the same safety checks as 'stop_ai' for 'reload_ai'
2021-01-22 22:19:55 +01:00
glx22
485aafc1b7
Fix: Never delete the last existing company in singleplayer mode
2021-01-22 22:19:55 +01:00
dP
b17177bd20
Fix: Center text and image in vehicle statusbar vertically
2021-01-22 22:18:17 +01:00
translators
8fe79e153d
Update: Translations from eints
...
estonian: 8 changes by siimsoni
german: 89 changes by Wuzzy2
finnish: 2 changes by hpiirai
dutch: 27 changes by Afoklala
2021-01-22 18:43:56 +00:00
dP
bab7de6cf2
Feature: Allow GameScripts to add additional text to Industry view window
2021-01-22 09:50:53 +00:00
Pavel Stupnikov
4b42ecb0f6
Feature: Add tile parameter for GSCompany.ChangeBankBalance to show text effect if needed ( #8573 )
2021-01-22 10:28:26 +01:00