rw-parser
Version:
Parses RenderWare DFF and TXD files into usable format!
30 lines (29 loc) • 1.57 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RwSections = void 0;
var RwSections;
(function (RwSections) {
// Core
RwSections[RwSections["RwStruct"] = 1] = "RwStruct";
RwSections[RwSections["RwString"] = 2] = "RwString";
RwSections[RwSections["RwExtension"] = 3] = "RwExtension";
RwSections[RwSections["RwTexture"] = 6] = "RwTexture";
RwSections[RwSections["RwMaterial"] = 7] = "RwMaterial";
RwSections[RwSections["RwMaterialList"] = 8] = "RwMaterialList";
RwSections[RwSections["RwFrameList"] = 14] = "RwFrameList";
RwSections[RwSections["RwGeometry"] = 15] = "RwGeometry";
RwSections[RwSections["RwClump"] = 16] = "RwClump";
RwSections[RwSections["RwAtomic"] = 20] = "RwAtomic";
RwSections[RwSections["RwTextureNative"] = 21] = "RwTextureNative";
RwSections[RwSections["RwTextureDictionary"] = 22] = "RwTextureDictionary";
RwSections[RwSections["RwGeometryList"] = 26] = "RwGeometryList";
RwSections[RwSections["RwSkin"] = 278] = "RwSkin";
RwSections[RwSections["RwAnim"] = 286] = "RwAnim";
// Toolkit
RwSections[RwSections["RwMaterialEffectsPLG"] = 288] = "RwMaterialEffectsPLG";
// R* specific RW plugins
RwSections[RwSections["RwReflectionMaterial"] = 39056124] = "RwReflectionMaterial";
// This was renamed to RwNodeName from RwFrame to prevent confusion.
// https://gtamods.com/wiki/Node_Name_(RW_Section)
RwSections[RwSections["RwNodeName"] = 39056126] = "RwNodeName";
})(RwSections || (exports.RwSections = RwSections = {}));