nx_anatomy.nx
buildroot/runtime/nx_anatomy.nx
about
nx_anatomy.nx -- the ANATOMICAL FEATURE REGISTRY (Elara detail architecture, the VOCABULARY layer): every
intimate/detail feature is a DATA RECORD -- {feature id, bone binding, local offset, morph-bank ref, and
its DETAIL-FIELD params (subdiv levels, bump density, bump amp, seed)} -- so "Montgomery glands on the
areola" is literally a row: AF_MONTGOMERY bound to the chest bone at the areola offset with a bump field
(density ~28/256, amp, seed). Features serialize as NXA1 packs => ANATOMY PACKS flow through the same CID
mod economy as block packs and morph packs. The moddable law, extended to the body. Adult-lane note: this
registry feeds the age/membership-GATED surfaces only (the gating layer is live platform law).
license_tier: ORIGINAL
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_detail_gate.nx
structs
| none |
consts
| 10 | const AF_MAGIC_2147483648: i64 = 2147483648 |
| 11 | const AF_MAGIC_4294967296: i64 = 4294967296 |
| 14 | const AF_VULVA: i64 = 1 |
| 15 | const AF_CLITORIS: i64 = 2 |
| 16 | const AF_LABIA_MINORA: i64 = 3 |
| 17 | const AF_LABIA_MAJORA: i64 = 4 |
| 18 | const AF_NIPPLE: i64 = 5 |
| 19 | const AF_AREOLA: i64 = 6 |
| 20 | const AF_MONTGOMERY: i64 = 7 // gland bump field on the areola |
| 21 | const AF_ANUS: i64 = 8 |
| 22 | const AF_PUBIC_HAIR: i64 = 9 // strand-region spec (density/length -> the jiggle-chain strand system) |
| 23 | const AF_PERINEUM: i64 = 10 |
| 24 | const AF_URETHRA: i64 = 11 |
| 25 | const AF_SKIN_PORES: i64 = 12 // whole-region micro detail field |
| 26 | const AF_FRENULUM: i64 = 13 |
| 27 | const AF_FOURCHETTE: i64 = 14 |
| 32 | const AN_MAXF: i64 = 64 |
functions
| 34 | func an_hdr(base: i64) -> *i64 { return base as *i64 } |
| 35 | func an_row(base: i64, i: i64) -> *i64 { return (base + 64 + i * 128) as *i64 } |
| 36 | func an_bytes() -> i64 { return 64 + AN_MAXF * 128 + 64 } called by 1: main |
| 38 | func an_init(base: i64) -> i64 |
| 43 | func an_add(base: i64, feature: i64, bone: i64, ox: i64, oy: i64, oz: i64, morph: i64, levels: i64, density: i64, amp: i64, seed: i64) -> i64 |
| 59 | func an_slider(base: i64, row: i64, which: i64, v: i64) -> i64 calls 1: an_row |
| 67 | func an_w32(buf: *u8, off: i64, v: i64) -> i64 called by 1: an_save |
| 74 | func an_r32(buf: *u8, off: i64) -> i64 called by 1: an_load |
| 79 | func an_save(base: i64, buf: *u8) -> i64 |
| 95 | func an_load(base: i64, buf: *u8, len: i64) -> i64 |