ZoneCodeGenerator: Add commands for ddlDef and a bit of other stuff to not break from errors

This commit is contained in:
Jan 2019-11-15 14:56:11 +01:00
parent ee2653657e
commit caa01a4864
2 changed files with 53 additions and 2 deletions

View File

@ -465,6 +465,8 @@ set string name;
// ========================================= // =========================================
// FxEffectDef // FxEffectDef
// ========================================= // =========================================
use FxElemVisuals;
set condition anonymous never;
// ========================================= // =========================================
// FxImpactTable // FxImpactTable
@ -499,6 +501,31 @@ set string StringTableCell::string;
// ========================================= // =========================================
// ddlRoot_t // ddlRoot_t
// ========================================= // =========================================
use ddlRoot_t;
set string name;
set count ddlDef 1;
// ddlDef_t
use ddlDef_t;
set count structList structCount;
set count enumList enumCount;
set count next 1;
// ddlStructDef_t
use ddlStructDef_t;
set string name;
set count members memberCount;
set count hashTable memberCount;
// ddlMemberDef_t
set string ddlMemberDef_t::name;
// ddlEnumDef_t
use ddlEnumDef_t;
set string name;
set string members;
set count members memberCount;
set count hashTable memberCount;
// ========================================= // =========================================
// EmblemSet // EmblemSet
@ -524,6 +551,30 @@ set string KeyValuePair::value;
// ========================================= // =========================================
// VehicleDef // VehicleDef
// ========================================= // =========================================
use VehicleDef;
set string name;
set string turretWeapon;
set string gunnerWeapon;
set string sndNames;
set string sndMaterialNames;
set string futzName;
set string animSet;
set string deathFxSound;
set string shootShock;
set string shootRumble;
set string rumbleType;
set string compassIcon;
set string gasButtonName;
set string reverseBrakeButtonName;
set string handBrakeButtonName;
set string attackButtonName;
set string attackSecondaryButtonName;
set string boostButtonName;
set string moveUpButtonName;
set string moveDownButtonName;
set string switchSeatButtonName;
set string steerGraphName;
set string accelGraphName;
// ========================================= // =========================================
// MemoryBlock // MemoryBlock

View File

@ -139,11 +139,11 @@ void ContentLoaderT6::LoadXAsset(const bool atStreamStart)
LOAD_ASSET(ASSET_TYPE_STRINGTABLE, StringTable, stringTable); LOAD_ASSET(ASSET_TYPE_STRINGTABLE, StringTable, stringTable);
// LOAD_ASSET(ASSET_TYPE_LEADERBOARD, LeaderboardDef, leaderboardDef); // LOAD_ASSET(ASSET_TYPE_LEADERBOARD, LeaderboardDef, leaderboardDef);
// LOAD_ASSET(ASSET_TYPE_XGLOBALS, XGlobals, xGlobals); // LOAD_ASSET(ASSET_TYPE_XGLOBALS, XGlobals, xGlobals);
// LOAD_ASSET(ASSET_TYPE_DDL, ddlRoot_t, ddlRoot); LOAD_ASSET(ASSET_TYPE_DDL, ddlRoot_t, ddlRoot);
// LOAD_ASSET(ASSET_TYPE_GLASSES, Glasses, glasses); // LOAD_ASSET(ASSET_TYPE_GLASSES, Glasses, glasses);
// LOAD_ASSET(ASSET_TYPE_EMBLEMSET, EmblemSet, emblemSet); // LOAD_ASSET(ASSET_TYPE_EMBLEMSET, EmblemSet, emblemSet);
LOAD_ASSET(ASSET_TYPE_SCRIPTPARSETREE, ScriptParseTree, scriptParseTree); LOAD_ASSET(ASSET_TYPE_SCRIPTPARSETREE, ScriptParseTree, scriptParseTree);
// LOAD_ASSET(ASSET_TYPE_KEYVALUEPAIRS, KeyValuePairs, keyValuePairs); LOAD_ASSET(ASSET_TYPE_KEYVALUEPAIRS, KeyValuePairs, keyValuePairs);
// LOAD_ASSET(ASSET_TYPE_VEHICLEDEF, VehicleDef, vehicleDef); // LOAD_ASSET(ASSET_TYPE_VEHICLEDEF, VehicleDef, vehicleDef);
// LOAD_ASSET(ASSET_TYPE_MEMORYBLOCK, MemoryBlock, memoryBlock); // LOAD_ASSET(ASSET_TYPE_MEMORYBLOCK, MemoryBlock, memoryBlock);
// LOAD_ASSET(ASSET_TYPE_ADDON_MAP_ENTS, AddonMapEnts, addonMapEnts); // LOAD_ASSET(ASSET_TYPE_ADDON_MAP_ENTS, AddonMapEnts, addonMapEnts);