Commit Graph

52634 Commits

Author SHA1 Message Date
Jonathan G Rennison
06fa1ae332 Add object shore/flooding support, adjust handling of foundations
Add info to debug window
2021-12-05 21:46:09 +00:00
Jonathan G Rennison
d9116106ca Add NewGRF object property for new edge foundation mode 2021-12-05 21:33:56 +00:00
Rubidium
ad89601c49 Codechange: do not use all upper case enumerators in a scoped enum 2021-12-05 21:41:43 +01:00
Jonathan G Rennison
2c8b462708 Debug: Add object view and colour to debug window 2021-12-05 17:41:36 +00:00
Jonathan G Rennison
c6bd01b2f2 Add an IsOddParity bitmath function 2021-12-05 17:40:42 +00:00
Jonathan G Rennison
ff714b7648 Add setting to disable "big GUI" NewGRFs 2021-12-05 13:40:56 +00:00
Jonathan G Rennison
924ffb013f Add NewGRF object property/flag to use land as object ground sprite
This handles variable ground densities, snow/desert, etc.
2021-12-05 11:54:13 +00:00
Patric Stout
ea4f6bb8b2
Fix #9730: [Network] connections can use an invalid socket due to a race condition
A race condition happens when an IPv6 connection takes more than
250ms to report an error, but does return before the IPv4 connection
is established.
In result, an invalid socket might be used for that connection.
2021-12-04 20:56:05 +01:00
Patric Stout
9c36c12c85
Codechange: ensure OnConnect() always gets called with a valid socket (#9729)
This should already be the case, but now assert()s will tell us
if this isn't.
2021-12-04 18:32:06 +01:00
Jonathan G Rennison
906fde15c7 Move NewGRF extension feature/property lists to separate file 2021-12-03 21:01:56 +00:00
Jonathan G Rennison
aaf5cd1091 Debug: Fix dumping of randomised sprite groups 2021-12-03 18:55:00 +00:00
Jonathan G Rennison
76fcfd3efd Debug: Add sprite dump support to NewGRF objects 2021-12-03 18:13:58 +00:00
Jonathan G Rennison
5d56d12bf3 Debug: Show object class/type IDs in object debug window 2021-12-03 17:04:48 +00:00
Jonathan G Rennison
4e25fa199c Add a "default" mode to TT autofill rounding setting, set as default
Use game ticks per minute or day ticks
2021-12-03 12:10:30 +00:00
Jonathan G Rennison
bc75c3af6f Debug: Show ObjectSpec flags and more fields in debug window 2021-12-03 03:23:54 +00:00
Jonathan G Rennison
431d33f149 Allow per-house town cargo generation to be truncated to 0
This effectively applies the town cargo scaling setting more strictly
2021-11-30 23:13:21 +00:00
Jonathan G Rennison
a8f879251b Debug: Allow inspecting non-GRF houses 2021-11-30 23:13:21 +00:00
Jonathan G Rennison
7c1a332f84
Merge pull request #340 from telk5093/jgrpp
Update: Korean translation
2021-11-30 18:43:23 +00:00
Jonathan G Rennison
0642af2e99 Explictly suppress unsigned unary minus warning on MSVC in IntFromChars 2021-11-30 18:42:40 +00:00
TELK
6046852310 Update: Korean translation up to 8258289 2021-11-30 20:29:32 +09:00
Jonathan G Rennison
3ef6b29f4a Avoid unsigned unary minux warning on MSVC in IntFromChars 2021-11-29 18:15:56 +00:00
Jonathan G Rennison
82582895cc Version: Committing version data for tag: jgrpp-0.44.1 2021-11-29 00:17:42 +00:00
Jonathan G Rennison
0cdaa8ef55 Remove use of std::from_chars and <charconv>
Replace it with another implementation to avoid compilation issues
on some platforms
2021-11-28 19:56:33 +00:00
Tyler Trahan
802ca4e722
Fix: Don't try to rename OWNER_DEITY signs in-game (#9716) 2021-11-28 15:16:42 +01:00
Jonathan G Rennison
cff3000358 Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/galician.txt
2021-11-28 12:06:00 +00:00
Jonathan G Rennison
0aeafeaf3a Allow adding multiple scheduled dispatch departure slots at once 2021-11-28 02:25:42 +00:00
Jonathan G Rennison
6f38769b73 Rename incorrectly named set time/date window strings 2021-11-27 23:52:44 +00:00
Jonathan G Rennison
10f3641d9f Adjust road vehicle quantum tunneling setting text
See: #338
2021-11-27 20:42:19 +00:00
Jonathan G Rennison
70fdb9091b Merge PR #338 into jgrpp 2021-11-27 20:28:13 +00:00
translators
6953df7b5e Update: Translations from eints
galician: 265 changes by pvillaverde
indonesian: 8 changes by indrabagus
spanish: 7 changes by MontyMontana
2021-11-27 18:47:35 +00:00
Jonathan G Rennison
ba65a5bab5 Run most "daily" vehicle tasks at a fixed frequency at day lengths >= 8
This includes: running costs, track sharing costs, breakdown checks,
servicing checks, order checks
2021-11-27 15:51:49 +00:00
Jonathan G Rennison
1ff03f8ee9 De-virtualise calls to Vehicle::OnNewDay 2021-11-27 15:17:41 +00:00
Jonathan G Rennison
0794825187 Reduce unnecessary diffs with upstream in lang/english.txt 2021-11-27 13:11:06 +00:00
Jonathan G Rennison
8bc15c10cd Fix station/waypoint vehicle tooltip showing incorrect ctrl-click text
Split ctrl-click text from original tooltip strings

See: #36
2021-11-27 12:59:46 +00:00
Jonathan G Rennison
e6fbf797ff Split timetable clear/set speed/wait time tooltip strings
This is to separate the original strings from added suffixes
2021-11-27 12:46:48 +00:00
translators
e0a91d7325 Update: Translations from eints
galician: 17 changes by pvillaverde
2021-11-26 18:48:29 +00:00
Jonathan G Rennison
b02b154218 Also show hours and minutes for schdispatch duration in minutes mode 2021-11-24 02:12:19 +00:00
Jonathan G Rennison
a7094fec3b Add a STRING8 format code 2021-11-24 02:10:42 +00:00
Jonathan G Rennison
dd5d4c795b Fix entering schdispatch delay/duration when not in minutes mode 2021-11-24 02:10:22 +00:00
Jonathan G Rennison
2308345803 Improve labels of non-text scheduled dispatch date/time entry window 2021-11-23 23:40:13 +00:00
Jonathan G Rennison
766fbacd57 Debug: Click toggle between long and short vehicle flag dump in window 2021-11-23 19:29:40 +00:00
Jonathan G Rennison
5d6533e258 Debug: Add a multiline long form of DumpVehicleFlags 2021-11-23 19:28:38 +00:00
Jonathan G Rennison
b5521653e0 Debug: Add general mechanism to make lines in debug window clickable 2021-11-23 19:26:42 +00:00
Jonathan G Rennison
2b56ca2b62 Debug: Create struct type for ExtraInfo output parameter 2021-11-23 18:16:51 +00:00
translators
ad7bdeb73a Update: Translations from eints
chinese (simplified): 2 changes by kurax
2021-11-22 18:48:48 +00:00
Jonathan G Rennison
ef1b8f159f Fix ctrl-click signal cycling setting 2021-11-22 17:10:15 +00:00
reldred
f461f0de08 Introduces a new setting (defaulted off) to allow preventing road vehicles from performing so-called quantum tunelling through other vehicles blocking their path. 2021-11-22 15:45:55 +10:30
Jonathan G Rennison
9ff8643fd9 Split config transparency settings into base and extra fields
This is to avoid incorrect settings when loading in trunk,
as the min/max clamping is not bitwise.
In particular having all options set in trunk when transparent vehicles
in tunnels was set.
2021-11-21 22:10:31 +00:00
Michael Lutz
20a30825a0
Fix: Insufficient input validation for CmdIndustryCtrl. (#9711) 2021-11-20 23:27:45 +01:00
Jonathan G Rennison
5c0c057dda Adjust ConHookServerOrNoNetwork error message 2021-11-20 20:11:00 +00:00