FB1PathFindGridDataOptimized
Overview
- Memory-optimized pathfinding grid cell data packed into 8 bytes using fixed-point encoding and bit-packing. Stores grid state, floor/ceil heights, zone index, safety space, and boolean flags with backward-compatible serialization.
Metadata
| Field | Value |
|---|---|
| Kind | struct |
| Environment | B1 - Presentation |
| Category | structs |
Properties (3)
| Name | Type | Description |
|---|---|---|
CeilHeightPacked | integer | Packed ceiling height using fixed-point encoding with scale 2. |
FloorHeightPacked | integer | Packed floor height using fixed-point encoding with scale 2 (precision 0.5, range +/-16383.5). |
PackedData | integer | Packed data word containing ZoneIndex (12 bits), SafetySquareSpace (12 bits), State (4 bits), and boolean flags (4 bits). |