1 Commits

Author SHA1 Message Date
dumb-kevin c0f3e380a1 Cache hot flag bits on item and itype
- Add hot_flag_bit enum and hot_bit_for() lookup
- Cache uint64_t hot_flag_bits on itype, built at finalize
- Cache hot_flags_own and hot_flags_inherited on item
- Convert nine _stacks_* helpers and is_broken to use bit checks
- Rebuild own bits on save load, set_flag, unset_flag, unset_flags
- Rebuild inherited bits in update_inherited_flags and convert
2026-04-27 00:42:29 +04:00