Jonathan G Rennison
28a764f319
Fix order backup not copying dispatch schedules when not enabled
...
See: #559
2023-07-01 03:03:04 +01:00
Jonathan G Rennison
d09b504bc5
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/ci-build.yml
# .github/workflows/release-linux.yml
# .github/workflows/release-macos.yml
# .github/workflows/release-source.yml
# .github/workflows/release.yml
# CMakeLists.txt
# COMPILING.md
# src/ai/ai_core.cpp
# src/ai/ai_gui.cpp
# src/bridge_gui.cpp
# src/company_gui.cpp
# src/console_cmds.cpp
# src/core/CMakeLists.txt
# src/core/smallmap_type.hpp
# src/disaster_vehicle.h
# src/effectvehicle_base.h
# src/fontcache.cpp
# src/game/game_core.cpp
# src/game/game_gui.cpp
# src/gamelog.cpp
# src/gamelog_internal.h
# src/group_gui.cpp
# src/linkgraph/linkgraph.h
# src/misc.cpp
# src/network/core/config.h
# src/network/core/udp.cpp
# src/network/network_chat_gui.cpp
# src/network/network_content_gui.cpp
# src/network/network_gui.cpp
# src/newgrf.cpp
# src/newgrf_gui.cpp
# src/newgrf_profiling.cpp
# src/newgrf_profiling.h
# src/object_gui.cpp
# src/openttd.cpp
# src/openttd.h
# src/order_gui.cpp
# src/os/windows/font_win32.cpp
# src/rail_gui.cpp
# src/road.cpp
# src/road_gui.cpp
# src/saveload/afterload.cpp
# src/saveload/saveload.h
# src/script/api/script_controller.cpp
# src/script/api/script_roadtypelist.cpp
# src/script/script_config.cpp
# src/script/script_config.hpp
# src/script/script_instance.cpp
# src/script/script_scanner.cpp
# src/script/squirrel.cpp
# src/script/squirrel_helper.hpp
# src/settings_gui.cpp
# src/settings_internal.h
# src/settings_type.h
# src/table/settings/network_private_settings.ini
# src/timetable_gui.cpp
# src/vehicle.cpp
# src/vehicle_base.h
# src/window_gui.h
2023-07-01 02:42:51 +01:00
Jonathan G Rennison
87ee18b6b9
Add close/delete window function aliases for upstream
2023-06-30 23:34:27 +01:00
RoqueDeicide
33ee78f9ac
[Feature] Extended functionality of industry viewport tooltips.
...
Added ability to turn them off or to show any combination of the following: name, required, stockpiled or produced cargoes.
2023-06-30 15:55:12 +04:00
Jonathan G Rennison
01c6705339
Fix text rendering with 8bpp-simple blitter
...
First member of string_colourremap was never assigned
Ensure that it is set to 0
2023-06-29 17:00:09 +01:00
Jonathan G Rennison
d55ba23a87
Fix dual pane purchase window with mixed wagon/loco variant trees
...
Use top-level variant engine for the loco/wagon categorisation
See: #558
2023-06-28 19:27:49 +01:00
Jonathan G Rennison
5415b596b0
Handle case where VehicleLengthChanged called on engine without a GRF
2023-06-28 19:03:56 +01:00
RoqueDeicide
8eea01717f
[Feature] A setting to allow town name tile tooltips to always or never be displayed.
2023-06-28 16:11:51 +04:00
RoqueDeicide
d6041744ca
[Change] Moved tooltip-related settings to a dedicated category.
2023-06-28 15:14:29 +04:00
Jonathan G Rennison
3b2e917ca4
Enable vehicle variable 61 for ships
...
Bump multi_part_ships feature version, add to documentation
2023-06-26 00:18:11 +01:00
Jonathan G Rennison
e94f9699de
Picker tool: Remember rail/road/tram as last used when opening from picker
2023-06-25 00:04:11 +01:00
Jonathan G Rennison
fbffb4c24c
TBTR: Remove wrong tooltips in template window group, template panels
...
See: #555
2023-06-25 00:04:11 +01:00
Jonathan G Rennison
698de52d13
Settings GUI: Fix station rating tooltip mode being in wrong section
2023-06-25 00:04:11 +01:00
Jonathan G Rennison
9a5df29648
Adjustments for PR #556
...
Setting text/condition, tooltip condition
2023-06-25 00:04:11 +01:00
Jonathan G Rennison
4fae774cb5
Merge PR #556 into jgrpp
2023-06-24 23:48:08 +01:00
Jonathan G Rennison
50901f79ee
Show all cargoes for multi-part ships in build vehicle window
2023-06-24 23:48:08 +01:00
Jonathan G Rennison
e80558ab32
Enable multi-part functionality of vehicle variable 0x60 for ships
2023-06-24 23:48:08 +01:00
Patric Stout
b67ff36a13
Fix: [CI] enable audio (alsa / jack / pulse) for generic Linux builds ( #11051 )
...
SDL needs to see the header files when compiling to enable those
drivers runtime. It doesn't actually link against them: it just
needs to see the headers.
(cherry picked from commit ff050ea1d9
)
2023-06-24 23:48:08 +01:00
Loïc Guilloux
6c19e5ecae
Fix #10868 : [Script] Handle errors when loading savegame data on stack ( #11029 )
...
(cherry picked from commit 1d9bc23525
)
2023-06-24 23:48:08 +01:00
RoqueDeicide
829db8e4f9
Feature: A setting to bring back old tile tooltip behavior.
...
If enabled, the setting allows tooltips for tiles, such as industries, to show instantly, when otherwise they would require a right-click.
2023-06-25 00:11:01 +04:00
Jonathan G Rennison
cc22351ef4
Fix small map screenshots
...
See: #554
2023-06-21 17:11:50 +01:00
Jonathan G Rennison
c339978569
Change station naming to allow unsuffixed name at an increased distance
2023-06-20 19:39:44 +01:00
Jonathan G Rennison
203d8f020b
Fix CmdCreateGoal putting goal text into goal progress field
...
See: #553
2023-06-20 18:53:52 +01:00
Jonathan G Rennison
3b0e067b40
Add another GRF to list for newgrf_disable_big_gui
2023-06-20 18:38:38 +01:00
Jonathan G Rennison
b6f5cd40e6
Github: Disable survey key request for now
2023-06-20 18:36:27 +01:00
Jonathan G Rennison
77b3c5726b
Github: Re-add changes to upstream release workflows
2023-06-20 18:25:03 +01:00
Jonathan G Rennison
4f7cb1e498
Github: Change release workflows to match upstream
2023-06-20 17:43:12 +01:00
Jonathan G Rennison
e01101a334
Update vanilla content version sent to bananas
2023-06-20 17:11:24 +01:00
Jonathan G Rennison
e91e15be7f
Version: Committing version data for tag: jgrpp-0.54.2
2023-06-18 20:41:54 +01:00
Jonathan G Rennison
551d581215
Unix crash log: Fix stack trace formatting when using addr2line
2023-06-18 20:17:38 +01:00
Jonathan G Rennison
861c033caf
Crash log: Include game mode in config info
2023-06-18 20:00:46 +01:00
Jonathan G Rennison
2b897e6694
Cargo payment rate graph: Use minutes for x-axis if in minutes mode
...
See: #541
2023-06-18 19:37:18 +01:00
Jonathan G Rennison
b080433394
Cargo payment rate graph: Scale X-axis by day length
...
See: #541
2023-06-18 19:05:02 +01:00
Jonathan G Rennison
a7a8f4c695
Windows crash log: Don't bother writing raw stack if it can be decoded
...
The raw values are almost always useless
2023-06-18 15:46:13 +01:00
Jonathan G Rennison
bcab44dc98
Windows crash log: Fix stack overflow in crash dialog window setup
...
Excessive stack use for crash log text conversion buffers
2023-06-18 15:38:33 +01:00
Jonathan G Rennison
d211ef557a
Windows crash log: Handle crash log faults (MSVC)
2023-06-18 15:38:26 +01:00
Jonathan G Rennison
846737e56a
Fix refit in station with articulated vehicles with no capacity in leading part
2023-06-18 11:08:35 +01:00
Jonathan G Rennison
dadebfa759
Debug: Show engine cargo/refit values
2023-06-18 10:05:48 +01:00
Jonathan G Rennison
051cb29f7a
Debug: Show engine misc flags for all vehicle types
2023-06-18 10:05:29 +01:00
Jonathan G Rennison
410d5bdc55
Spread tile loop iterations over all ticks when using day length > 1
...
See: #545
2023-06-17 19:32:33 +01:00
Jonathan G Rennison
8c600fd480
Use std::all_of instead of std::count for checking if all 0
2023-06-17 17:22:59 +01:00
Jonathan G Rennison
32ec1bc77b
Add hotkey for picker tool in scenario editor
2023-06-17 17:05:33 +01:00
Jonathan G Rennison
371a555324
Disable picker tool in spectator mode
2023-06-17 17:00:49 +01:00
Jonathan G Rennison
495db43b72
Network: Defer deletion of client and server game socket handler
...
This fixes various use after free scenarios in error handling paths
2023-06-16 21:18:35 +01:00
Jonathan G Rennison
532d3881cd
Network: Fix error logging for game and admin server HandlePacket
...
Don't invent a packet type in the log message if we can't/don't
read a packet type at all
2023-06-16 21:18:35 +01:00
Jonathan G Rennison
afe5af5dbb
Fix: Crash when failing to load a game into a dedicated server at startup
...
Using the -g switch
2023-06-16 17:39:31 +01:00
Jonathan G Rennison
7af34aaadd
Fix NetworkAddChatMessage when MAX_CHAT_MESSAGES is 0
2023-06-16 01:21:38 +01:00
Jonathan G Rennison
3d2dc77aa2
Network: Change protocol for game/rcon/settings password auth
...
Instead of sending a hash, do a DH/X25519 key exchange
using the password.
This also allows authenticating the associated rcon payload and response.
2023-06-15 21:33:41 +01:00
Jonathan G Rennison
9042eb338f
Network: Simplify stringifying of random key strings
2023-06-15 21:12:48 +01:00
Jonathan G Rennison
b4721c898d
Serialisation: Add view/span variants of binary receive methods
2023-06-15 20:56:15 +01:00