Category:LoadContext

From COD Engine Research
Revision as of 00:34, 11 July 2026 by Jakes625 (talk | contribs) (Created page with "placeholder... == XAssetEntry == The engines load context keeps a record of semantic asset names to it's place in memory. The engine more or less does this: <syntaxhighlight lang="C"> typedef struct XAssetEntry { uint32_t assetType; // 0x00: XAssetType uint32_t headerPointer; // 0x04: canonical asset-header pointer uint8_t zoneIndex; // 0x08: owning zone-record index uint8_t flags09; // 0x09: bit 0 is tested by regist...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

placeholder...

XAssetEntry

The engines load context keeps a record of semantic asset names to it's place in memory. The engine more or less does this:

typedef struct XAssetEntry
{
    uint32_t assetType;          // 0x00: XAssetType
    uint32_t headerPointer;      // 0x04: canonical asset-header pointer

    uint8_t  zoneIndex;          // 0x08: owning zone-record index
    uint8_t  flags09;            // 0x09: bit 0 is tested by registry logic
    uint8_t  state0A;            // 0x0A: initialized to zero; meaning OPEN
    uint8_t  pad0B;              // 0x0B: no semantics proven

    uint16_t nextHashIndex;      // 0x0C: next entry in the name-hash chain
    uint16_t nextOverrideIndex;  // 0x0E: override/replacement chain
} XAssetEntry;

This category currently contains no pages or media.