Commit Graph

52654 Commits

Author SHA1 Message Date
Jonathan G Rennison
ab17deae3a Random bytes: Fix minor compilation warnings 2022-01-03 22:29:00 +00:00
Yourself
65b90f966b Fix: station raiting tooltip showed incorrect time 2022-01-03 13:13:47 -07:00
Jonathan G Rennison
a14df8dfe2 Merge PR #351 into jgrpp 2022-01-03 19:18:57 +00:00
Yourself
e4fa9f8465 Add: Cargo delivery distribution modes 2022-01-03 17:55:28 +00:00
Jonathan G Rennison
2c3b502441 CMake: MSVC: Also change static runtime flags in C_FLAGS 2022-01-03 17:18:08 +00:00
Jonathan G Rennison
30817c3915 Fix VRF_BEYOND_PLATFORM_END not being cleared when switching order 2022-01-03 12:47:44 +00:00
Jonathan G Rennison
e993afcd99 Store encrypted company password hashes in server saves
Restore when loading back into the server if server has required secret
2022-01-03 03:09:32 +00:00
Jonathan G Rennison
1f50106466 Saveload: Add functions to save/load to arbitrary buffers 2022-01-03 02:35:50 +00:00
Jonathan G Rennison
87f0c20bc0 Add setting flag to run string setting change callbacks on config load 2022-01-03 00:01:21 +00:00
Jonathan G Rennison
26eca815d3 Add separate network salt string for company passwords 2022-01-02 22:30:36 +00:00
Jonathan G Rennison
00cfb00537 Fix auto-generated network.network_id setting value not being saved in config 2022-01-02 22:27:40 +00:00
Jonathan G Rennison
eb22b49758 Add randombytes lib to src/3rdparty 2022-01-02 20:40:08 +00:00
Jonathan G Rennison
9f6fd2bfeb Only set -Wnon-virtual-dtor for C++ files 2022-01-02 20:34:40 +00:00
Jonathan G Rennison
91f6c6941a Add monocypher lib to src/3rdparty 2022-01-02 20:34:18 +00:00
Jonathan G Rennison
89181ea9fd Add setting to increase cost/distance of aircraft linkgraph links 2022-01-02 01:15:54 +00:00
Jonathan G Rennison
ba97d0a827 Allow building waypoints with spec IDs >= 256
See: #349
2022-01-01 20:42:10 +00:00
Michael Lutz
57b992717b Codechange: Extend DrawSpriteToRgbaBuffer to work with 8bpp blitters. 2022-01-01 12:19:30 +01:00
Michael Lutz
69c8ed9965 Codechange: [OSX] Simplify touchbar button data definition. 2022-01-01 12:19:30 +01:00
Michael Lutz
b351cbe490 Fix #9743: [OSX] Only (re-)create touchbar sprites when requested by the main loop. 2022-01-01 12:19:30 +01:00
Michael Lutz
f40e82a19d Fix #9743: [OSX] Don't try to render touchbar sprites with invalid zoom level. 2022-01-01 12:19:30 +01:00
Michael Lutz
80fc5fb46c Change: [OSX] Allow touchbar usage on all supported OS versions.
Touchbar support was introduced in 10.12.2. There's no need to limit
support to 10.15+, as the convenience class NSButtonTouchBarItem is
easily replicated.
2022-01-01 12:19:30 +01:00
Jonathan G Rennison
ee7fbfc410 Merge pull request #350 into jgrpp 2022-01-01 02:05:09 +00:00
Jonathan G Rennison
f658d9f1fc Fix rail drag remove removing track even with an unremovable signal
This occurred when a removing a signal was blocked due to realistic
braking moving train restrictions.
This resulted in incorrect signal infrastructure totals and MP desyncs.
2022-01-01 02:04:27 +00:00
Yourself
3f391a74af fix: error when removing tunnelbridge signal w/ tracerestruct 2021-12-31 18:28:44 -07:00
Jonathan G Rennison
4844268d1c Fix #9774: CmdBuildRoadStop updated station acceptance in estimate mode 2021-12-30 20:39:10 +01:00
Jonathan G Rennison
42b223a288 Fix CmdBuildRoadStop updating station acceptance in estimate mode 2021-12-30 14:08:26 +00:00
translators
21f85cac87 Update: Translations from eints
chinese (traditional): 25 changes by Tetrapod1206
italian: 12 changes by federico1564S
2021-12-29 18:48:51 +00:00
Loïc Guilloux
c85557e553
Fix: [MinGW] Disable ASLR for x64 Debug builds (#9773) 2021-12-28 21:08:09 +01:00
translators
3ed7910cfe Update: Translations from eints
portuguese (brazilian): 2 changes by Vimerum
2021-12-28 18:48:50 +00:00
Jonathan G Rennison
457a1a172c
Merge pull request #348 from internet-trains/fix-give-money-text-message
fix: Give money message showed incorrect value
2021-12-28 00:46:01 +00:00
Yourself
3caef277c8 fix: Give money message showed incorrect value 2021-12-27 15:15:38 -07:00
Jonathan G Rennison
f65a166308 Add client setting to show all signals using the default sprites 2021-12-27 18:31:27 +00:00
Jonathan G Rennison
621677343f Fix wrong sprite count for duplicated prog signal sprites 2021-12-27 18:26:35 +00:00
Jonathan G Rennison
f40191b3c0 Add hysteresis to depot search max penalty in missing depot order mode
See: #345
2021-12-27 17:21:00 +00:00
Jonathan G Rennison
2c7ec68b76 Enable news warning for missing depot order in order list by default 2021-12-27 17:01:05 +00:00
Jonathan G Rennison
4871071dcb Show vehicle destination when mousing over vehicle breakdown in status bar 2021-12-27 16:44:04 +00:00
glx22
3069f805e2 Fix #9766: Don't write uninitialised data in config file
(cherry picked from commit 50304f7164d5c88a42dcc1d09648c3ec8b2faab5)

Fixes: #344
2021-12-27 13:18:49 +00:00
Jonathan G Rennison
dda4167edc Change debug level of network received packet logging 2021-12-26 23:04:44 +00:00
translators
a97bce51c2 Update: Translations from eints
czech: 6 changes by vladoschreiner
hungarian: 5 changes by pnpBrumi
2021-12-22 18:49:56 +00:00
benda
30d0f06890
Doc: use only double quotes for cmake command line example in COMPILING.md (#9758)
While powershell happily accepts single quotes, it's not the case for cmd.
2021-12-22 19:32:48 +01:00
trautamaki
f6e6b2c917
Doc: fix broken links to Open{GFX,SFX,MSX} in README.md (#9759) 2021-12-22 15:26:45 +01:00
translators
afb817fe19 Update: Translations from eints
norwegian (bokmal): 4 changes by Anolitt
2021-12-21 18:49:51 +00:00
Michael Lutz
b11bd185e3 Fix #9756: Network command unpack proc was not generated in all cases.
The case where the callback proc takes all command results but not any of
the command parameters was not handled properly.
2021-12-20 23:32:23 +01:00
Tyler Trahan
9c18236f2c Fix: Suppress vehicle age warnings for stopped vehicles 2021-12-20 22:13:37 +01:00
Michael Lutz
e67124e174 Change: [Admin] Bump admin port protocol due to command changes.
docs/admin_network.md promised that information in an admin packet
is never removed. It does allow the possibility of using a new packet type
for changed data in combination with a bump of the admin port version.

As the recent command handling changes modified the contents of
ADMIN_PACKET_SERVER_CMD_LOGGING, do exactly that.
2021-12-20 19:30:27 +01:00
Michael Lutz
3fede15940 Codechange: [Script] Prettify squirrel call helpers by using C++17. 2021-12-20 19:25:10 +01:00
Jonathan G Rennison
e08a6e2014 Fix #9735: Fix OrderBackup::Reset in non-GUI case 2021-12-19 16:53:10 +01:00
Joan Josep
e890e7db76
Cleanup #9725: Clean up Doxygen docs and fix typo. (#9753) 2021-12-19 16:51:45 +01:00
Jonathan G Rennison
66ce6c5090 Scheduled dispatch: Add clear schedule GUI function
Add management dropdown box to window
2021-12-18 12:46:25 +00:00
Jonathan G Rennison
7b0c083c11 Debug: Add vehicle cargo type, refit mask and age period to debug window 2021-12-18 11:49:31 +00:00