benilla-re systems structs docs

BuildStarTrack

function · lighting · primitive

Address
0x6ce4a0 · 113 bytes, up to 0x6ce510
Meaning
Stores the star track's four keys at start-up
Confidence
verified, proof one
Finding
lighting/celestial#static-tracks
Test
lighting::dn_init_6ce4a0_difftest

Finding: Static tracks in lighting: sun, moons and stars

The day-night file builds these tracks once, from static initializers or at first use. Times are written as clock times; angles are π times a constant, shown in degrees.

trackkeysread by
0xce8d9000:00, 06:00, 12:00, 18:00 all 225°sun azimuth
0xce8db000:00 127°, 06:00 110°, 12:00 127°, 18:00 110°sun polar angle
0xce8d4c05:30, 12:00, 21:30 all 45°sun disc azimuth
0xce8d6405:30 100°, 11:55 5°, 12:00 5°, 12:05 5°, 21:30 100°sun disc polar angle
0xce8cac06:00 2, 06:45 1, 20:15 1, 21:00 2sun disc size
0xce8d0c00:00, 04:00, 22:00 all 45°white moon azimuth
0xce8d2400:00 35°, 00:05 35°, 04:00 100°, 22:00 100°, 23:55 35°white moon polar angle
0xce8ccc00:00 135°, 04:00 150°, 22:00 165°moon02 azimuth
0xce8ce4as 0xce8d24moon02 polar angle
0xce8c8c01:00 1, 04:00 1.5, 22:00 1.5, 23:59 1both moons' size
0xce9a9803:00 1, 04:30 0, 22:30 0, 24:00 1stars
0xce9a5803:00 2, 04:00 4, 05:30 4, 06:30 2, 19:30 2, 21:30 4, 22:00 4, 23:00 2nothing

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.