This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:proposals:new-ks [2022-11-02 09:28] ywang Add linnks to individual files; remove link to recent commit as it is not particularly useful |
dev:proposals:new-ks [2023-03-26 10:10] (current) ywang |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
//Please refer to the source code for implementation details and API documentation. This information is provided here. The filenames provided below are relative to '' | //Please refer to the source code for implementation details and API documentation. This information is provided here. The filenames provided below are relative to '' | ||
Line 5: | Line 5: | ||
* Formspecs have been partially modified to support distant signaling. Some formspecs are now implemented in various '' | * Formspecs have been partially modified to support distant signaling. Some formspecs are now implemented in various '' | ||
* Signal aspect accessors have been modified and are now found in '' | * Signal aspect accessors have been modified and are now found in '' | ||
- | * Type 2 signals (" | + | * A signal aspect API is introduced. |
* A '' | * A '' | ||
+ | **The changes break a few minor things:** | ||
+ | |||
+ | * The signal aspect formspec uses dropdown indexing, which requires Minetest 5.4.0 or later. | ||
+ | * '' | ||
+ | * The results are cached. | ||
+ | * The signal aspect is " | ||
+ | * '' | ||
+ | * There is no API for setting the signal aspect while bypassing the cache and signal aspect adjustments, | ||
+ | * '' | ||
+ | * When setting a field of the signal aspect object to '' | ||
+ | * Certain features of signal aspect objects are implemented using metatables. These objects are therefore not suitable for serialization, | ||
+ | |||
+ | It is planned to merge the newly introduced signal aspect cache with its counterpart in the routesetting system. | ||
+ | |||
+ | Please refer to the source code (listed above) for details. | ||
====== Proposal: Distant signaling (second draft) ====== | ====== Proposal: Distant signaling (second draft) ====== | ||
//This draft has been superseded. Please refer to the actual implementation (mentioned above).// | //This draft has been superseded. Please refer to the actual implementation (mentioned above).// |