Commit Graph

49553 Commits

Author SHA1 Message Date
Jonathan G Rennison
b0dbcf33c1 Adjust overtaking RV state and direction pre-conditions 2020-10-28 00:27:48 +00:00
Jonathan G Rennison
ffe3c769a3 Add road tile cached one way state, one way road section detection 2020-10-28 00:27:48 +00:00
Jonathan G Rennison
2fe5d4339b Add 3 more zoning highlight colours 2020-10-28 00:27:48 +00:00
Jonathan G Rennison
38a153017f One-way road zoning mode 2020-10-28 00:27:48 +00:00
Jonathan G Rennison
750417af10 Initial support for one-way side road junctions 2020-10-28 00:27:48 +00:00
Jonathan G Rennison
569d715cfc Avoid RVs overtaking into the path of another overtaking RV 2020-10-28 00:27:48 +00:00
Jonathan G Rennison
c67b8f7d0e RVs on one-way roads can continue overtaking until the normal road side is clear 2020-10-28 00:27:48 +00:00
Jonathan G Rennison
d4dea94c3f Don't check road ahead when overtaking on one-way roads 2020-10-28 00:27:48 +00:00
Jonathan G Rennison
3a75f13874 Allow drive-through road stops to be one-way 2020-10-28 00:27:48 +00:00
Jonathan G Rennison
3fa92f5d8e Debug: Add RV path cache length 2020-10-28 00:27:48 +00:00
Jonathan G Rennison
67506e3781 Return error when upgrading airport to an identical configuration
See: #200
2020-10-28 00:27:48 +00:00
Jonathan G Rennison
9909f9ab54 Fix smallmap not refreshing at all when paused 2020-10-25 17:48:03 +00:00
Jonathan G Rennison
890e0c1198 Fix assertion failure when colour stack used with TC_FORCED 2020-10-25 17:48:03 +00:00
Jonathan G Rennison
66630ef8df Fix crash in group GUI vehicle/group dragging
See: https://github.com/OpenTTD/OpenTTD/issues/8332
2020-10-25 10:21:35 +00:00
Jonathan G Rennison
42e7d796aa Debug: Add vehicle position and road veh vars to vehicle debug window 2020-10-24 20:19:13 +01:00
Jonathan G Rennison
671fb7bf00 Notify road layout changed when adding/removing road one-way state 2020-10-24 20:18:33 +01:00
Jonathan G Rennison
5f4541768a Allow RV overtaking when another vehicle is on the same tile behind it 2020-10-24 14:48:02 +01:00
Jonathan G Rennison
755fa8196f Use PRI macros where available for 64 bit printf format codes 2020-10-24 10:52:57 +01:00
Jonathan G Rennison
579d67c89e Programmable pre-signals: Fix MP desync with programming new signals
If signal was never evaluated on the server, inserting instructions
would fail on the server, such that the signal programs differed
between client and server.
2020-10-23 20:10:46 +01:00
Jonathan G Rennison
ab4026c28d Fix assertion failure when redrawing window/widget wholly off-screen 2020-10-23 17:30:57 +01:00
Jonathan G Rennison
83a128e8a9 Fix stack overflow due to excessive recursion in LinkRefresher
Clamp recursion limit to maximum of 64

See: #198
2020-10-21 17:22:24 +01:00
Jonathan G Rennison
abade81e63
Merge pull request #199 from telk5093/jgrpp
Update: Korean translation for v0.38.1
2020-10-21 09:19:12 +01:00
TELK
058b16ffd6 Update: Korean translation for v0.38.1 2020-10-21 12:46:35 +09:00
Jonathan G Rennison
267a2763fe Version: Committing version data for tag: jgrpp-0.38.1 2020-10-21 00:55:58 +01:00
Jonathan G Rennison
de5fb361ad Fix crash when saving order backups 2020-10-21 00:24:38 +01:00
Jonathan G Rennison
fcb2f7087f CMake: Fix inconsistent use of modified suffix in FindVersion 2020-10-20 18:38:49 +01:00
Jonathan G Rennison
381313aa8a CMake: Use fixed commit hash abbreviation length in FindVersion 2020-10-20 18:18:14 +01:00
Jonathan G Rennison
63d3f33fd2 Add display setting for income/cost text effects 2020-10-20 18:20:57 +01:00
Jonathan G Rennison
98f889f0ab Documentation: Add NML documentation for non-standard NewGRF features 2020-10-19 19:45:08 +01:00
Jonathan G Rennison
e51c585f45 GRF: Fix rail/road type reservation phase with extended properties 2020-10-19 17:41:59 +01:00
Jonathan G Rennison
c0c0c9c340 Fix updating selected order when changing order list 2020-10-18 17:06:08 +01:00
Jonathan G Rennison
327c088f29 Show road/rail type labels in debug window 2020-10-18 12:09:25 +01:00
Jonathan G Rennison
75eeac8ff9 Fix crash when skipping suppressed unreached implicit orders on load 2020-10-17 17:25:44 +01:00
Jonathan G Rennison
e1aca1ab34 Extend Order::flags to 16 bits, fixes conditional order target field size
Adjust order packing and CmdInsertOrder

See: #198
2020-10-17 17:25:44 +01:00
Jonathan G Rennison
b9f7db9c7e Jump counter is no longer a separate field 2020-10-17 17:25:44 +01:00
Jonathan G Rennison
6e17f9bf5d Use p3 for order indices which don't fit into p1
Fix insert/modify order overflowing p1
Don't use text field for change timetable
2020-10-17 17:25:44 +01:00
Jonathan G Rennison
bbbda0739b Add third DoCommand parameter p3 2020-10-17 17:25:44 +01:00
Jonathan G Rennison
5c43de8ef8 Add padded printf 64 hex defines 2020-10-17 14:23:01 +01:00
Jonathan G Rennison
159c709f04 Fix missing parentheses in ScriptRoadTypeList constructor 2020-10-17 14:10:11 +01:00
Jonathan G Rennison
0949a4e0a4 Command log: Do not set text flag for binary data 2020-10-17 13:00:57 +01:00
Jonathan G Rennison
1716083a30 Use saveload object filtering for order chunks 2020-10-17 11:27:18 +01:00
Jonathan G Rennison
a76e51c3dd Version: Committing version data for tag: jgrpp-0.38.0 2020-10-16 23:43:52 +01:00
Jonathan G Rennison
cc54886ad1 Fix grammar of random road reconstruction setting help text 2020-10-16 22:48:19 +01:00
Jonathan G Rennison
b13abd327a Debug: Add road/tram type flag ctl console command 2020-10-16 22:41:26 +01:00
Jonathan G Rennison
946442ab6b GRF: Add extra road/tram type flag: towns cannot modify tiles 2020-10-16 22:41:26 +01:00
Jonathan G Rennison
75a964acb0 GRF: Add extra road/tram type flag: not available to AI/GS 2020-10-16 22:12:10 +01:00
Jonathan G Rennison
6c9988f28b Debug: Add road/tram type support to NewGRF debug window 2020-10-16 18:42:47 +01:00
Jonathan G Rennison
0d61ae9567 Debug: Add compatible railtype info to railtype debug window 2020-10-15 20:42:04 +01:00
Jonathan G Rennison
92ca965ef7 Fix PBS rail type handling with incorrect GRF rail type compatibility 2020-10-15 20:37:57 +01:00
Jonathan G Rennison
0fc0baddff Add bridge info to landinfo window debug print 2020-10-15 18:27:23 +01:00