e8ba7a1f68
Improves the code for the solar panels a lot. It's still pretty bad but to make it better I'd have to dive into powernets. Solar panels visually rotate a full 360 degrees instead of being locked to ordinal directions only. In 513 this uses vis_contents, in 512 it uses a regular overlay that needs to be reset constantly. Adds a signal from the sun SS when the sun moves. Timed tracking is now measured in degrees per minute instead of degrees per hour.
8 lines
163 B
Plaintext
8 lines
163 B
Plaintext
#define CABLE_LAYER_1 "l1"
|
|
#define CABLE_LAYER_2 "l2"
|
|
#define CABLE_LAYER_3 "l3"
|
|
|
|
#define SOLAR_TRACK_OFF 0
|
|
#define SOLAR_TRACK_TIMED 1
|
|
#define SOLAR_TRACK_AUTO 2
|