Guest User

Untitled

a guest
May 21st, 2024
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 7.74 KB | None | 0 0
  1. // @0x439f457
  2. struct CarRenderInfo /* size: 0x1790 */  {
  3.     float AnimTime;
  4.     bVector3 mVelocity;
  5.     bVector3 mAngularVelocity;
  6.     bVector3 mAcceleration;
  7.     IVehiclePartDamageBehaviour * mDamageBehaviour;
  8.     const WCollider * mWCollider;
  9.     WWorldPos mWorldPos;
  10.     RideInfo * pRideInfo;
  11.     CarTypeInfo * pCarTypeInfo;
  12.     short LastCarPartChanged;
  13.     bVector3 AABBMin;
  14.     bVector3 AABBMax;
  15.     bVector3 ModelOffset;
  16.     bVector3 PivotPosition;
  17.     TextureInfo * ShadowTexture;
  18.     TextureInfo * ShadowRampTexture;
  19.     eLightMaterial * LightMaterial_CarSkin;
  20.     eLightMaterial * LightMaterial_Carbon;
  21.     eLightMaterial * LightMaterial_WindowTint;
  22.     eLightMaterial * LightMaterial_WheelRim;
  23.     eLightMaterial * LightMaterial_Caliper;
  24.     eLightMaterial * LightMaterial_Spoiler;
  25.     eLightMaterial * LightMaterial_Roof;
  26.     eLightMaterial * LightMaterial_Spinner;
  27.     int CarbonHood;
  28.     eDynamicLightContext * Car_light_context;
  29.     unsigned int CarFrame;
  30.     bTList<eLightFlare> LightFlareList;
  31.     float CarTimebaseStart;
  32.     float WheelYRenderOffset[4];
  33.     float WheelWidths[2];
  34.     float WheelRadius[2];
  35.     float WheelWidthScales[4];
  36.     float WheelRadiusScales[4];
  37.     float WheelBrakeMarkerY[2];
  38.     bool mEmitterPositionsInitialized;
  39.     bSList<CarEmitterPosition> EmitterPositionList[28];
  40.     eReplacementTextureTable MasterReplacementTextureTable[73];
  41.     eReplacementTextureTable CarbonReplacementTextureTable[73];
  42.     eReplacementTextureTable DecalReplacementTextureTable[48];
  43.     eReplacementTextureTable BrakeLeftReplacementTextureTable[2];
  44.     eReplacementTextureTable BrakeRightReplacementTextureTable[2];
  45.     CarPartModel mCarPartModels[76][1][5];
  46.     int SpecialFX;
  47.     float mCar_elevation;
  48.     int NOSstate;
  49.     unsigned short mSteeringR;
  50.     unsigned short mSteeringL;
  51.     bMatrix4 LastFewMatrices[3];
  52.     bVector3 LastFewPositions[3];
  53.     int matrixIndex;
  54.     ePositionMarker * SpoilerPositionMarker;
  55.     ePositionMarker * SpoilerPositionMarker2;
  56.     ePositionMarker * RoofScoopPositionMarker;
  57.     unsigned int AAflags;
  58.     int AAdraw_solid;
  59.     int AAdraw_alpha;
  60.     int AAdraw_shadows;
  61.     UsedCarTextureInfo mUsedTextureInfos;
  62.     unsigned int mOnLights;
  63.     unsigned int mBrokenLights;
  64.     CARPART_LOD mMinLodLevel;
  65.     CARPART_LOD mMaxLodLevel;
  66.     CARPART_LOD mMinReflectionLodLevel;
  67.     CarPartCuller TheCarPartCuller;
  68.     Info mDamageZoneInfo;
  69.     float mDeltaTime;
  70.     float mRadius;
  71.     ecar mAttributes;
  72.     bool mFlashing;
  73.     float mFlashInterval;
  74.     Info mDamageInfoCache;
  75.     bool mWheelWobbleEnabled[4];
  76.     bool mMirrorLeftWheels;
  77. // unhandled attribute: DwarfAttribute(name=0x0142,form=0x02,type=AT_member,value=0x439f457)
  78.     enum CarReplacementTexID {
  79.             REPLACETEX_CARSKIN = 0,
  80.             REPLACETEX_CARSKINB = 1,
  81.             REPLACETEX_GLOBALSKIN = 2,
  82.             REPLACETEX_CARBONSKIN = 3,
  83.             REPLACETEX_GLOBALCARBONSKIN = 4,
  84.             REPLACETEX_BADGING = 5,
  85.             REPLACETEX_WHEEL = 6,
  86.             REPLACETEX_SPINNER = 7,
  87.             REPLACETEX_SPOILER = 8,
  88.             REPLACETEX_ROOF_SCOOP = 9,
  89.             REPLACETEX_DASHSKIN = 10,
  90.             REPLACETEX_DRIVER = 11,
  91.             REPLACETEX_TIRE = 12,
  92.             REPLACETEX_WINDOW_FRONT = 13,
  93.             REPLACETEX_WINDOW_REAR = 14,
  94.             REPLACETEX_WINDOW_LEFT_FRONT = 15,
  95.             REPLACETEX_WINDOW_LEFT_REAR = 16,
  96.             REPLACETEX_WINDOW_RIGHT_FRONT = 17,
  97.             REPLACETEX_WINDOW_RIGHT_REAR = 18,
  98.             REPLACETEX_WINDOW_REAR_DEFOST = 19,
  99.             REPLACETEX_WINDOW2_FRONT = 20,
  100.             REPLACETEX_WINDOW2_REAR = 21,
  101.             REPLACETEX_WINDOW2_LEFT_FRONT = 22,
  102.             REPLACETEX_WINDOW2_LEFT_REAR = 23,
  103.             REPLACETEX_WINDOW2_RIGHT_FRONT = 24,
  104.             REPLACETEX_WINDOW2_RIGHT_REAR = 25,
  105.             REPLACETEX_DECAL_NUM = 26,
  106.             REPLACETEX_WINDOW2_REAR_DEFOST = 26,
  107.             REPLACETEX_HEADLIGHT_LEFT = 27,
  108.             REPLACETEX_HEADLIGHT_RIGHT = 28,
  109.             REPLACETEX_BRAKELIGHT_LEFT = 29,
  110.             REPLACETEX_BRAKELIGHT_RIGHT = 30,
  111.             REPLACETEX_BRAKELIGHT_CENTRE = 31,
  112.             REPLACETEX_HEADLIGHT_GLASS_LEFT = 32,
  113.             REPLACETEX_HEADLIGHT_GLASS_RIGHT = 33,
  114.             REPLACETEX_BRAKELIGHT_GLASS_LEFT = 34,
  115.             REPLACETEX_BRAKELIGHT_GLASS_RIGHT = 35,
  116.             REPLACETEX_BRAKELIGHT_GLASS_CENTRE = 36,
  117.             REPLACETEX_OLD_HEADLIGHT_LEFT = 37,
  118.             REPLACETEX_OLD_HEADLIGHT_RIGHT = 38,
  119.             REPLACETEX_OLD_BRAKELIGHT_LEFT = 39,
  120.             REPLACETEX_OLD_BRAKELIGHT_RIGHT = 40,
  121.             REPLACETEX_OLD_BRAKELIGHT_CENTRE = 41,
  122.             REPLACETEX_OLD_HEADLIGHT_GLASS_LEFT = 42,
  123.             REPLACETEX_OLD_HEADLIGHT_GLASS_RIGHT = 43,
  124.             REPLACETEX_OLD_BRAKELIGHT_GLASS_LEFT = 44,
  125.             REPLACETEX_OLD_BRAKELIGHT_GLASS_RIGHT = 45,
  126.             REPLACETEX_OLD_BRAKELIGHT_GLASS_CENTRE = 46,
  127.             REPLACETEX_DECAL_START = 47,
  128.             REPLACETEX_BOTTOM_DECAL = 47,
  129.             REPLACETEX_FRONT_BUMPER_DECAL = 48,
  130.             REPLACETEX_FRONT_DECAL = 49,
  131.             REPLACETEX_GTWING_DECAL = 50,
  132.             REPLACETEX_HOOD_DECAL = 51,
  133.             REPLACETEX_LEFT_BRAKELIGHT_DECAL = 52,
  134.             REPLACETEX_LEFT_DOOR_DECAL = 53,
  135.             REPLACETEX_LEFT_FENDER_DECAL = 54,
  136.             REPLACETEX_LEFT_QUARTER_DECAL = 55,
  137.             REPLACETEX_LEFT_SIDE_MIRROR_DECAL = 56,
  138.             REPLACETEX_LEFT_SKIRT_DECAL = 57,
  139.             REPLACETEX_REAR_BUMPER_DECAL = 58,
  140.             REPLACETEX_REAR_DECAL = 59,
  141.             REPLACETEX_RIGHT_BRAKELIGHT_DECAL = 60,
  142.             REPLACETEX_RIGHT_DOOR_DECAL = 61,
  143.             REPLACETEX_RIGHT_FENDER_DECAL = 62,
  144.             REPLACETEX_RIGHT_QUARTER_DECAL = 63,
  145.             REPLACETEX_RIGHT_SIDE_MIRROR_DECAL = 64,
  146.             REPLACETEX_RIGHT_SKIRT_DECAL = 65,
  147.             REPLACETEX_TOP_DECAL = 66,
  148.             REPLACETEX_FRONT_WINDOW_DECAL = 67,
  149.             REPLACETEX_REAR_WINDOW_DECAL = 68,
  150.             REPLACETEX_LEFT_FRONT_WINDOW_DECAL = 69,
  151.             REPLACETEX_LEFT_REAR_WINDOW_DECAL = 70,
  152.             REPLACETEX_RIGHT_FRONT_WINDOW_DECAL = 71,
  153.             REPLACETEX_DECAL_END = 72,
  154.             REPLACETEX_RIGHT_REAR_WINDOW_DECAL = 72,
  155.             REPLACETEX_NUM = 73,
  156.     };
  157.     inline void SetDeltaTime(float); // @0x43a0dab
  158.     inline float GetDeltaTime(); // @0x43a0de3
  159.     inline void SetRadius(float); // @0x43a0e0f
  160.     inline float GetRadius(); // @0x43a0e44
  161.     inline void SetCollider(const WCollider *); // @0x43a0e6d
  162.     inline void SetAnimationTime(float); // @0x43a0eaa
  163.     inline void SetWheelWobble(unsigned int, bool); // @0x43a0ee6
  164.     inline bool GetWheelWobble(unsigned int); // @0x43a0f30
  165.     inline void SetFlashing(bool); // @0x43a0f6e
  166.     inline void UpdateFlashing(); // @0x43a0fa5
  167.     inline void SetCarRenderFlags(int, int, int); // @0x43a0fcf
  168.     inline void SetSpecialFX(int); // @0x43a102c
  169.     inline int GetSpecialFX(); // @0x43a1064
  170.     inline RideInfo * GetRideInfo(); // @0x43a1090
  171.     inline CARPART_LOD GetMinLodLevel(); // @0x43a10c0
  172.     inline CARPART_LOD GetMaxLodLevel(); // @0x43a10f0
  173.     inline CARPART_LOD GetMinReflectionLodLevel(); // @0x43a1120
  174.     inline void EnableAlphaWrites(bool); // @0x43a115a
  175.     inline const ecar & GetAttributes(); // @0x43a1197
  176.     inline void SetBrokenLights(unsigned int); // @0x43a11ca
  177.     inline void SetLights(unsigned int); // @0x43a1205
  178.     inline bool IsLightBroken(ID); // @0x43a123a
  179.     inline bool IsLightOn(ID); // @0x43a1279
  180. };
  181. // @0x43a13f4
  182. struct UsedCarTextureInfo /* size: 0x380 */  {
  183.     unsigned int TexturesToLoadPerm[87];
  184.     unsigned int TexturesToLoadTemp[87];
  185.     int NumTexturesToLoadPerm;
  186.     int NumTexturesToLoadTemp;
  187.     unsigned int MappedSkinHash;
  188.     unsigned int MappedSkinBHash;
  189.     unsigned int MappedGlobalHash;
  190.     unsigned int MappedWheelHash;
  191.     unsigned int MappedSpinnerHash;
  192.     unsigned int MappedBadging;
  193.     unsigned int MappedSpoilerHash;
  194.     unsigned int MappedRoofScoopHash;
  195.     unsigned int MappedDashSkinHash;
  196.     unsigned int MappedLightHash[11];
  197.     unsigned int MappedTireHash;
  198.     unsigned int MappedRimHash;
  199.     unsigned int MappedRimBlurHash;
  200.     unsigned int MappedLicensePlateHash;
  201.     unsigned int ReplaceSkinHash;
  202.     unsigned int ReplaceSkinBHash;
  203.     unsigned int ReplaceGlobalHash;
  204.     unsigned int ReplaceWheelHash;
  205.     unsigned int ReplaceSpinnerHash;
  206.     unsigned int ReplaceSpoilerHash;
  207.     unsigned int ReplaceRoofScoopHash;
  208.     unsigned int ReplaceDashSkinHash;
  209.     unsigned int ReplaceHeadlightHash[3];
  210.     unsigned int ReplaceHeadlightGlassHash[3];
  211.     unsigned int ReplaceBrakelightHash[3];
  212.     unsigned int ReplaceBrakelightGlassHash[3];
  213.     unsigned int ReplaceReverselightHash[3];
  214.     unsigned int ShadowHash;
  215. };
Advertisement
Add Comment
Please, Sign In to add comment