Commit Graph

52655 Commits

Author SHA1 Message Date
Jonathan G Rennison
a03453da49 Add properties to set lighthouse and transmitter generation amounts 2022-01-28 23:35:31 +00:00
Jonathan G Rennison
eeef6c485a Initial implementation of NewGRF feature ID mapping 2022-01-28 22:39:46 +00:00
Jonathan G Rennison
ef3916928c Initial abstraction around NewGRF feature ID bytes 2022-01-27 21:09:45 +00:00
Jonathan G Rennison
c69ed1711d Allow road vehicle go to station/waypoint orders to have a direction 2022-01-27 01:30:22 +00:00
Jonathan G Rennison
afccf04188 Report road waypoint tiles as road to GRFs 2022-01-26 22:33:07 +00:00
Jonathan G Rennison
c3c55db02b Implement road ground types for road waypoints 2022-01-26 22:15:17 +00:00
Jonathan G Rennison
7ff885fc96 Add replacement sprites for road waypoint buildings
Add action 5 sprite replacement support
2022-01-26 21:46:36 +00:00
Jonathan G Rennison
b4fc0b4dc5 Initial implementation of road waypoints 2022-01-26 21:46:36 +00:00
Jonathan G Rennison
ace75f6864 Widen station type field in map array 2022-01-26 21:46:35 +00:00
Jonathan G Rennison
fcc581fba9 Add static assert that number of commands does not exceed limit 2022-01-26 21:46:35 +00:00
Jonathan G Rennison
812933ffd4 Debug: Show names of remapped action 2 variables in sprite group dumper 2022-01-26 18:43:13 +00:00
Jonathan G Rennison
eddc6ddcdb Debug: Add sprite dumping to house inspect window 2022-01-26 18:10:49 +00:00
Jonathan G Rennison
08b6540c84 Fix wrong error message building bridge over obstructing station
When some bridge types are too long for the requested span
2022-01-26 02:54:44 +00:00
Jonathan G Rennison
66a1275e4b Documentation: Fix feature name for object inclined edge foundations 2022-01-26 02:01:50 +00:00
Jonathan G Rennison
7f846aad04 Documentation: Update landscape docs for object foundation type 2022-01-26 00:32:24 +00:00
Jonathan G Rennison
bb848331b6 Fix narrowing conversion warning 2022-01-24 21:57:44 +00:00
Jonathan G Rennison
afa75ded1c Zoning: Fix unserved industry mode with passenger-handling industries 2022-01-24 18:30:18 +00:00
Jonathan G Rennison
22e72b1ecd Documentation: NFO/NML docs on object additions 2022-01-24 02:30:29 +00:00
Jonathan G Rennison
15955bc279 Documentation: Initial NFO docs on variable remapping 2022-01-24 02:01:09 +00:00
Jonathan G Rennison
acc9dffab7 Add object mapped variables for slope after foundation applied 2022-01-24 02:01:09 +00:00
Jonathan G Rennison
33dc6c9688 Add NewGRF VarAction2 variable remapping infrastructure 2022-01-24 02:01:09 +00:00
Jonathan G Rennison
e56fee612c Zoning: Fix unserved industries mode with partially overlapping catchment 2022-01-24 00:39:24 +00:00
Jonathan G Rennison
96d789dfbf Fix window preference save/load of build vehicle windows 2022-01-23 13:58:34 +00:00
Jonathan G Rennison
2e7f8d2e1e Add inclined foundation option to object edge foundation mode
Bump feature version
2022-01-23 13:17:13 +00:00
Jonathan G Rennison
e7c12f2ad4 Fix terraforming not resetting ground type for use land ground objects 2022-01-23 01:18:49 +00:00
Jonathan G Rennison
d69657846c Add Action 5 remappable type for misc GUI sprites 2022-01-21 23:53:03 +00:00
Jonathan G Rennison
d81cbc25b8 Add setting to allow hiding viewport labels of inidivudal waypoints 2022-01-21 23:37:53 +00:00
Jonathan G Rennison
c65901fef2 Add a baseset GRF for misc GUI sprites 2022-01-21 23:34:39 +00:00
Jonathan G Rennison
8ffe519179 Debug: Fix title of waypoint inspector window 2022-01-21 02:53:33 +00:00
Jonathan G Rennison
26fb0940c6 Add client setting for whether to sync locale settings with server in multiplayer 2022-01-21 01:37:15 +00:00
Jonathan G Rennison
82dec9a78a
Merge pull request #362 from telk5093/jgrpp
Update: Korean translation for conditional orders
2022-01-21 00:45:12 +00:00
TELK
f0da66961a Update: Korean translation for conditional orders 2022-01-20 22:20:05 +09:00
Jonathan G Rennison
7015c92680 Check station coverage highlight in ZoningMarkDirtyStationCoverageArea 2022-01-20 01:16:16 +00:00
Tyler Trahan
bec218069c Feature: Remember the last-used signal between games
(cherry picked from commit a9de36ad23f30d125ed495f0bd84342b594d19df)

See: https://github.com/OpenTTD/OpenTTD/pull/9792
2022-01-19 18:51:30 +00:00
Jonathan G Rennison
e5110bd7f6 Handle service at depot orders in cond order loops 2022-01-19 00:44:54 +00:00
Jonathan G Rennison
e7abf9efb1 Remove unnecessary recursion in GetNextRealStation 2022-01-19 00:20:03 +00:00
Jonathan G Rennison
beb6d01fe8 Improve handling of conditional order waiting loops
Do not leave station/depot/waypoint at all if conditional order
loop would result in re-starting waiting/loading

Only actually leave and update timetable at end of loop

Rate-limit loop checks regardless of timetabled wait time
2022-01-19 00:10:49 +00:00
Jonathan G Rennison
904ff6757d Add slot support to road vehicles, ships and aircraft 2022-01-19 00:10:49 +00:00
Jonathan G Rennison
0513961b2a Duplicate STR_SMALLMAP_LEGENDA_... veh type strings with format codes removed 2022-01-18 18:57:12 +00:00
Jonathan G Rennison
ce61f6439c Allow non-train vehicles to test counter values in conditional orders 2022-01-18 18:17:28 +00:00
Jonathan G Rennison
7d86909a90 Ensure that sprite data is cleared when loading over an existing sprite
Fixes crash when looking at recolour sprite in sprite viewer window
which has been overriden by a non-recolour sprite by a faulty GRF
2022-01-17 18:29:04 +00:00
Jonathan G Rennison
1a4b0d6ecf Prevent NewGRFs from using Action A to replace internal sprites 2022-01-17 18:23:15 +00:00
Jonathan G Rennison
027a792cbd Crash log: On OSX allocate crash log buffer using mmap if possible
Otherwise use conservatively sized stack buffer
2022-01-17 01:21:20 +00:00
Jonathan G Rennison
79db533abb Fix nullptr deref evaluating train in slot conditional order with no slot
See: #360
2022-01-17 00:59:15 +00:00
Jonathan G Rennison
6197baee9c Fix unused function warning on OSX 2022-01-15 22:33:51 +00:00
Jonathan G Rennison
29126619a3 Disable OSX touchbar support, fixes #358 2022-01-15 18:56:59 +00:00
Jonathan G Rennison
dd5438fe75 Merge branch 'multi-sd' into jgrpp 2022-01-15 18:18:49 +00:00
Jonathan G Rennison
c40f4e0abc Handle predictable conditional orders in departure boards 2022-01-15 15:57:33 +00:00
Jonathan G Rennison
b23d394f0b Handle predictable conditional orders in timetable window 2022-01-15 15:57:09 +00:00
Jonathan G Rennison
91ed26415e Fix manual setting of conditional order jump taken travel times 2022-01-15 15:33:34 +00:00