Commit Graph

55538 Commits

Author SHA1 Message Date
PeterN
277e80abb5 Fix: GRF Parameters not displayed due to scope issue. (#10911)
Move params so it is still in scope when the text is actually drawn.

(cherry picked from commit a5a3a07005)
2023-07-09 11:48:01 +01:00
Jonathan G Rennison
c6a6e7c60b Update low lavel changes document 2023-07-09 11:05:04 +01:00
Jonathan G Rennison
c6c69fa3da Add setting for long-term autosaves
A second set of autosaves for whenever the main set wraps around to 0
2023-07-09 10:02:57 +01:00
Jonathan G Rennison
688dcc1d74 Add Windows wrapper for rename function 2023-07-09 09:39:24 +01:00
Jonathan G Rennison
126b31a744 Improve colouring of restricted signal posts with original TTD graphics 2023-07-08 19:12:39 +01:00
Jonathan G Rennison
0d6940e4ca Disable survey unless survey key is defined 2023-07-08 09:47:46 +01:00
Rubidium
da21772f2d Fix #11108, e2f583a: missing argument for SCC_CARGO_SHORT formatting
(cherry picked from commit 968de827d6)
2023-07-07 17:43:02 +01:00
Jonathan G Rennison
7ffc9c9339 Merge PR #568 into jgrpp 2023-07-07 17:40:28 +01:00
RoqueDeicide
c57bfa479a [Feature] Added waypoint viewport tooltips. 2023-07-06 14:53:09 +04:00
RoqueDeicide
e612bbeae1 [Fix] Don't show station viewport tooltip when hovering over anything other then a normal station (such as a waypoint). 2023-07-06 14:52:19 +04:00
Jonathan G Rennison
77e1a3b163 Fix using default graphics for all signals when using original TTD baseset 2023-07-06 00:09:30 +01:00
Jonathan G Rennison
ca631b79c2 Fix crash which could occur when reloading NewGRFs on main menu 2023-07-05 23:55:10 +01:00
Jonathan G Rennison
a0666e31ed
Merge pull request #567 from James103/patch-2
Fix a minor typo in the README.md
2023-07-05 09:16:17 +01:00
Jonathan G Rennison
0f63f9d637 Change length type of BytesToHexString 2023-07-05 08:46:01 +01:00
James103
7f123aaa22
Fix a minor typo in the README.md 2023-07-04 18:45:17 -05:00
Jonathan G Rennison
f3adb13e34 Re-arrange translation files 2023-07-04 23:53:23 +01:00
Jonathan G Rennison
b487cb6605 Merge PR #564 into jgrpp 2023-07-04 23:51:33 +01:00
Jonathan G Rennison
3e03cebad1 Simplify industry_tooltip_show_stockpiled setting
See: #564
2023-07-04 23:50:53 +01:00
Jonathan G Rennison
5d7721a2d4 Fix handling of free wagons in depot tooltip
See: #564
2023-07-04 23:49:50 +01:00
Jonathan G Rennison
359ba9de68 String handling adjustments for PR #564 2023-07-04 23:49:50 +01:00
Patric Stout
27f305696c Fix: disable hardware acceleration when GPU driver crashed the game last attempt (#10928)
(cherry picked from commit 0e56a73fb8)
2023-07-04 19:01:52 +01:00
Jonathan G Rennison
0cb7e253e9 Change fmt include in debug_fmt.h 2023-07-04 19:01:52 +01:00
Jonathan G Rennison
ee5272dc4e Crashlog: Fix font logging 2023-07-04 19:01:52 +01:00
RoqueDeicide
84e5aba1d7 [Change] Reworked stockpile settings into 1 dropdown. 2023-07-04 11:11:59 +04:00
RoqueDeicide
cadb2f3afc [Change] Added ability for detailed depot viewport tooltips to show single lines, if possible. Made some suggested adjustments. 2023-07-04 08:49:18 +04:00
RoqueDeicide
f01112f3fe
Merge branch 'JGRennison:jgrpp' into jgrpp 2023-07-04 07:59:38 +04:00
Rubidium
978c83e13d Fix: false positive warning in fmt library (backport ef55d4f of upstream fmt)
(cherry picked from commit 10e12154f5)
2023-07-04 00:31:19 +01:00
Niels Martin Hansen
f55027a8f4 Fix: Layouter not taking stripped formatting codes into account when mapping visual coordinates to/from original string
(cherry picked from commit 103d88ee33)
2023-07-04 00:30:21 +01:00
Niels Martin Hansen
1793a5881d Fix: Layouter::GetCharAtPosition counting wrong
Bug introduced in commit 60399e

(cherry picked from commit ed3f14686d)
2023-07-04 00:30:12 +01:00
Rubidium
78d28d432b Codechange: allocate enough memory to layout the strings
(cherry picked from commit 96fef9f643)
2023-07-04 00:30:02 +01:00
Jonathan G Rennison
1e5bc2c12b Merge branch 'master' into jgrpp 2023-07-04 00:26:00 +01:00
Jonathan G Rennison
d75c489466 Add various missing includes 2023-07-03 23:44:54 +01:00
Jonathan G Rennison
c0d47da4a7 Add missing includes to town_type.h, network_survey.h, pool_type.hpp 2023-07-03 23:15:04 +01:00
Jonathan G Rennison
0bf41dc1ff Change gamelog to use std::vector
Move LoadCheckData to its own header
2023-07-03 22:42:59 +01:00
Jonathan G Rennison
5ae5ac3701 Add missing includes to cargo_type.h 2023-07-03 21:21:15 +01:00
Jonathan G Rennison
b8bb0d820a Add missing includes to newgrf_config.h
See: #563
2023-07-03 21:16:20 +01:00
RoqueDeicide
733f53dc9a Merge branch 'tooltip_extension' into jgrpp 2023-07-03 19:59:29 +04:00
RoqueDeicide
736c650b6c [Change] Make town viewport tooltips functionally equivalent to town labels. 2023-07-03 19:14:27 +04:00
Jonathan G Rennison
51a66b9590 Link graph: Fix FlowStat::ScaleToMonthly scaling
Fixes: e1cce4d9
2023-07-03 01:14:57 +01:00
Jonathan G Rennison
e1cce4d9f7 Link graph: Store last compression in scaled date ticks
Higher accuracy than using dates at high day legnths
2023-07-02 16:58:17 +01:00
Fedello
2936bf370f
Update Galician Translations (#562)
* 🌐 Update Galician Translations

* 🌐 Update Galician Translations

* Add missing translation

---------

Co-authored-by: pvillaverde <pvillaverde@qualigy.com>
2023-07-02 12:09:23 +01:00
Jonathan G Rennison
ead18b2af2 Merge branch 'master' into jgrpp
# Conflicts:
#	CMakeLists.txt
#	src/3rdparty/md5/md5.h
#	src/3rdparty/squirrel/squirrel/squtils.h
#	src/animated_tile.cpp
#	src/console_func.h
#	src/core/CMakeLists.txt
#	src/core/container_func.hpp
#	src/core/smallstack_type.hpp
#	src/crashlog.cpp
#	src/crashlog.h
#	src/debug.h
#	src/economy.cpp
#	src/gamelog.cpp
#	src/industry_gui.cpp
#	src/lang/catalan.txt
#	src/misc_gui.cpp
#	src/network/network_content.h
#	src/newgrf.cpp
#	src/newgrf.h
#	src/newgrf_config.cpp
#	src/newgrf_config.h
#	src/newgrf_gui.cpp
#	src/os/unix/font_unix.cpp
#	src/os/windows/crashlog_win.cpp
#	src/rail_cmd.cpp
#	src/saveload/animated_tile_sl.cpp
#	src/script/api/script_tilelist.cpp
#	src/settings.cpp
#	src/settingsgen/settingsgen.cpp
#	src/sl/oldloader_sl.cpp
#	src/station.cpp
#	src/station_cmd.cpp
#	src/stdafx.h
#	src/strgen/strgen.cpp
#	src/strgen/strgen_base.cpp
#	src/table/settings/gui_settings.ini
#	src/train_gui.cpp
#	src/vehicle.cpp
#	src/vehicle_base.h
#	src/vehicle_cmd.cpp
#	src/vehicle_gui_base.h
#	src/viewport_sprite_sorter.h
2023-07-02 12:02:36 +01:00
RoqueDeicide
5af7be6d17 [Feature] Added station viewport tooltips. 2023-07-01 22:59:00 +04:00
RoqueDeicide
1071235aee [Feature] Added depot viewport tooltips. 2023-07-01 22:58:24 +04:00
Jonathan G Rennison
1ad82c200a Don't refresh viewports when changing smallmap height mode 2023-07-01 17:22:46 +01:00
Jonathan G Rennison
d2e29b33d1 Remove upper limit from give money command
See: #537
2023-07-01 12:12:32 +01:00
Jonathan G Rennison
8fea927ed1 Add setting for whether to shade height in viewport map mode
See: #550
2023-07-01 12:03:36 +01:00
Jonathan G Rennison
99b883298e Add help text for the various viewport map settings 2023-07-01 11:22:18 +01:00
Jonathan G Rennison
05be624294 Remove gui.viewport_map_scan_surroundings setting, now always enabled 2023-07-01 11:00:59 +01:00
Jonathan G Rennison
5d746f8971 Don't use scheduled dispatch for predicted times in GUI when disabled
See: #559
2023-07-01 10:04:44 +01:00