Commit Graph

898 Commits

Author SHA1 Message Date
orwell 29180f0f60 Wall signals: make them a bit bigger again 2024-07-20 21:21:55 +02:00
orwell 69e4b8f99a Support signal aspect selection for routes again 2024-07-20 21:04:17 +02:00
orwell baa50c0392 ARS supports triggering distant signal, other bugfixes 2024-07-20 18:02:33 +02:00
orwell c145e5db74 SmartRoute: Implement auto route search and first prototype 2024-06-22 21:11:50 +02:00
orwell 3606a9bdfc Unassign signal on dig instead of needing button in signal form 2024-06-22 19:35:48 +02:00
orwell 2239ba314b Ks Vorsignal 2024-06-12 22:48:56 +02:00
orwell dcceb65ff0 Respect route_role of signals during routesetting, assign distant signals in routes 2024-06-12 00:25:14 +02:00
orwell 72cae13275 Fix more setstate stuff with new API (compat legacy) 2024-06-11 22:30:40 +02:00
orwell 44a8cef1d5 set_aspect: Flexibility, set aspect either via name or allow to fully specify table (for advanced signals) 2024-06-03 23:38:12 +02:00
orwell f52653209a Fix working of the legacy signals under new system 2024-05-24 00:00:12 +02:00
orwell eb02971153 Add new signal set Munich U-Bahn signals as drop-in replacement for the old wallsignals 2024-05-23 22:38:41 +02:00
orwell 9af6e32e64 Add proper UI aspect selection for static dialog 2024-05-23 20:25:35 +02:00
orwell 6fd845baec Connect the ropes, start on making the UI work 2024-05-23 00:58:24 +02:00
orwell 852da6bcae Merge branch 'new-ks-orwell' into route_prog_rework 2024-04-08 21:52:32 +02:00
orwell 1f74697e85 Fully implement and test new aspect support/distant signalling on ks and japan signals 2024-04-08 21:46:43 +02:00
orwell eb03b5f301 Continue with new-ks rework 2024-04-05 00:35:40 +02:00
orwell 2dab59f055 Start changing APIs and applying proof-of-concept to ks signals 2024-02-06 21:10:40 +01:00
orwell aa9033f901 Implementation Plan 2024-01-28 23:42:56 +01:00
orwell 9fa43cb7bf Implement routesetting incorporating tscache, other improvements 2024-01-28 00:42:28 +01:00
orwell f8c2ec60d6 Signals can have nil name, documentation on route def 2023-12-17 12:20:22 +01:00
orwell c890d77d63 Implement RS cache, per-track-section caching of route locks. This will later be ground truth for routesetting (new-style) 2023-10-15 19:35:39 +02:00
orwell ea074b2a33 Re-implement point origin handling (replace old points_split hack by proper solution) 2023-10-15 16:40:10 +02:00
orwell 2067ab0a90 Use conn_map in the path calculation 2023-10-15 15:48:59 +02:00
orwell ad82b9cd4e Forget it, and use the old preset tables for track registration. Just adapt it to the new definition. 2023-10-15 15:06:20 +02:00
orwell96 10ea9b896b Make the track registration less manual again to prevent duplicate code
(but keep the template table in the track mod, as it's supposed to be)
2023-09-05 20:46:18 +02:00
orwell96 950d6f640c Begin major rework of track registration system 2023-09-04 19:34:47 +02:00
orwell96 7ca8ac8d00 Improve map formspec rendering 2023-05-27 12:26:16 +02:00
orwell96 8371d8496a Fix map, fix train placing 2023-05-27 12:26:15 +02:00
orwell96 bc8c04d146 Trackmap: get started 2023-05-27 12:26:15 +02:00
orwell96 f693e1e6d0 Kill itrainmap with fire 2023-05-27 12:26:14 +02:00
orwell96 a14eb7fe73 TCB Xlinking added, to make nonconnected crossings possible 2023-05-27 12:26:14 +02:00
orwell96 6a5540878f Auto-Repair Track Sections/TCBs (automatically when adding/removing or triggered by interlocking tool) 2023-05-27 12:26:14 +02:00
orwell96 f284d395d7 Add TrackIterator interface as a common framework for walking along tracks (also for third-party libs)
This will replace the interlocking traverser and will be used in the new itrainmap implementation
2023-05-27 12:26:10 +02:00
orwell96 283efc44ce Add function to get wagon in train from index
Can be used to determine which wagon is at a certain world position
Testing: use debugitems.lua
2023-05-27 12:09:10 +02:00
Maverick2797 bbe3856e35 Add craft recipes for the new ks speed indicators 2023-04-12 22:07:13 +02:00
Blockhead 793210f7c2 Make selection boxes of track nodes larger
This reduces the difficulty of having to point at the centre of the
correct track node, and hopefully does not prevent placing tracks in
more than a couple of cases.  Three-way turnouts on an angle may be
an exception but they may be worth it. User feedback is needed.
2023-04-12 21:52:34 +02:00
Y. Wang 4f241b06b1 Report coordinates of wagons with unregistered prototypes
Related issue: https://forum.minetest.net/viewtopic.php?p=414307#p414307
2023-04-12 21:32:32 +02:00
Y. Wang 5695a3e9ee
Adjust default aspect to allow shunting 2023-04-10 19:01:03 +02:00
Y. Wang 2afe802798
Allow selecting named aspect 2023-03-26 16:25:45 +02:00
Y. Wang e25b1c744d
Cancel type 2 signals; introduce signal groups for all signals 2023-03-26 11:53:00 +02:00
Y. Wang e61fe3176a
Show IP form for repeater signals 2023-03-23 20:06:03 +01:00
Y. Wang d443d8e07a
Distant signaling: avoid signal signs 2023-03-23 20:06:02 +01:00
Y. Wang 2d072cdc67
Rework formspecs; add description to JP signal group 2023-03-23 20:06:02 +01:00
Y. Wang 67efae9c9a
Adjust signal aspect formspecs to be of similar size 2023-03-23 20:06:02 +01:00
Y. Wang 640d72929d
Remove pre_occupy (not used); put detailed luacov info in artifacts 2023-03-23 20:06:02 +01:00
Y. Wang 778c9096ae
Optimize textures in previous commits 2023-03-23 20:06:02 +01:00
Y. Wang d290e8e994
Increase testing coverage for signal_aspects API 2023-03-23 20:06:02 +01:00
Y. Wang ba98fa5378
Harden type 2 signal group API; add test for type 2 main signals 2023-03-23 20:06:02 +01:00
Y. Wang d61c720020
Add texture for Japanese signal masts 2023-03-23 20:06:02 +01:00
Y. Wang 69c0fd9aca
Use green Ks masts 2023-03-23 20:06:02 +01:00