Update TimecycleKeyframeData to RGBA (#126)

This commit is contained in:
Bugisoft 2023-07-20 18:39:53 +02:00 committed by GitHub
parent 5ef3545feb
commit 7ff656ae2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,26 +4,21 @@ class TimecycleKeyframeData
{ {
public: public:
char pad_0000[32]; //0x0000 char pad_0000[32]; //0x0000
rage::fvector3 m_azimuth_east; //0x0020 rage::fvector4 m_azimuth_east; //0x0020
char pad_002C[4]; //0x002C
float m_azimuth_east_intensity; //0x0030 float m_azimuth_east_intensity; //0x0030
char pad_0034[28]; //0x0034 char pad_0034[28]; //0x0034
rage::fvector3 m_azimuth_west; //0x0050 rage::fvector4 m_azimuth_west; //0x0050
char pad_005C[4]; //0x005C
float m_azimuth_west_intensity; //0x0060 float m_azimuth_west_intensity; //0x0060
char pad_0064[28]; //0x0064 char pad_0064[28]; //0x0064
rage::fvector3 m_azimuth_transition; //0x0080 rage::fvector4 m_azimuth_transition; //0x0080
char pad_008C[4]; //0x008C
float m_azimuth_transition_intensity; //0x0090 float m_azimuth_transition_intensity; //0x0090
char pad_0094[4]; //0x0094 char pad_0094[4]; //0x0094
float m_azimuth_transition_position; //0x0098 float m_azimuth_transition_position; //0x0098
char pad_009C[20]; //0x009C char pad_009C[20]; //0x009C
rage::fvector3 m_zenith; //0x00B0 rage::fvector4 m_zenith; //0x00B0
char pad_00BC[4]; //0x00BC
float m_zenith_intensity; //0x00C0 float m_zenith_intensity; //0x00C0
char pad_00C4[28]; //0x00C4 char pad_00C4[28]; //0x00C4
rage::fvector3 m_zenith_transition; //0x00E0 rage::fvector4 m_zenith_transition; //0x00E0
char pad_00EC[4]; //0x00EC
float m_zenith_transition_intensity; //0x00F0 float m_zenith_transition_intensity; //0x00F0
float m_zenith_transition_position; //0x00F4 float m_zenith_transition_position; //0x00F4
float m_zenith_transition_east_blend; //0x00F8 float m_zenith_transition_east_blend; //0x00F8
@ -40,20 +35,20 @@ public:
uint32_t m_unk_190; //0x0190 uint32_t m_unk_190; //0x0190
uint32_t m_unk_194; //0x0194 uint32_t m_unk_194; //0x0194
char pad_0198[8]; //0x0198 char pad_0198[8]; //0x0198
rage::fvector3 m_unk_1A0; //0x01A0 rage::fvector4 m_unk_1A0; //0x01A0
char pad_01AC[20]; //0x01AC char pad_01AC[16]; //0x01AC
rage::fvector3 m_sun; //0x01C0 rage::fvector4 m_sun; //0x01C0
char pad_01CC[36]; //0x01CC char pad_01CC[32]; //0x01CC
rage::fvector3 m_sun_disc; //0x01F0 rage::fvector4 m_sun_disc; //0x01F0
char pad_01FC[36]; //0x01FC char pad_01FC[32]; //0x01FC
float m_sun_disc_size; //0x0220 float m_sun_disc_size; //0x0220
float m_sun_hdr; //0x0224 float m_sun_hdr; //0x0224
float m_sun_miephase; //0x0228 float m_sun_miephase; //0x0228
float m_sun_miescatter; //0x022C float m_sun_miescatter; //0x022C
float m_sun_mie_intensity_mult; //0x0230 float m_sun_mie_intensity_mult; //0x0230
char pad_0234[28]; //0x0234 char pad_0234[28]; //0x0234
rage::fvector3 m_unk_250; //0x0250 rage::fvector4 m_unk_250; //0x0250
char pad_025C[20]; //0x025C char pad_025C[16]; //0x025C
float m_cloud_shadow_strength; //0x0270 float m_cloud_shadow_strength; //0x0270
float m_cloud_density_mult; //0x0274 float m_cloud_density_mult; //0x0274
float m_cloud_density_bias; //0x0278 float m_cloud_density_bias; //0x0278
@ -70,23 +65,21 @@ public:
char pad_0304[4]; //0x0304 char pad_0304[4]; //0x0304
float m_cloud_overall_strength; //0x0308 float m_cloud_overall_strength; //0x0308
char pad_030C[16]; //0x030C char pad_030C[16]; //0x030C
rage::fvector3 m_unk_320; //0x031C rage::fvector4 m_unk_320; //0x031C
char pad_0328[4]; //0x0328 rage::fvector4 m_cloud_base; //0x032C
rage::fvector3 m_cloud_base; //0x032C rage::fvector4 m_unk_340; //0x033C
char pad_0338[4]; //0x0338 char pad_0348[16]; //0x0348
rage::fvector3 m_unk_340; //0x033C rage::fvector4 m_cloud_1; //0x035C
char pad_0348[20]; //0x0348 char pad_0368[20]; //0x0368
rage::fvector3 m_cloud_1; //0x035C rage::fvector4 m_cloud_mid; //0x0380
char pad_0368[24]; //0x0368 char pad_038C[32]; //0x038C
rage::fvector3 m_cloud_mid; //0x0380
char pad_038C[36]; //0x038C
float m_unk_380; //0x03B0 float m_unk_380; //0x03B0
float m_small_cloud_detail_strength; //0x03B4 float m_small_cloud_detail_strength; //0x03B4
float m_small_cloud_density_mult; //0x03B8 float m_small_cloud_density_mult; //0x03B8
float m_unk_3BC; //0x03BC float m_unk_3BC; //0x03BC
char pad_03C0[32]; //0x03C0 char pad_03C0[32]; //0x03C0
rage::fvector3 m_small_cloud; //0x03E0 rage::fvector4 m_small_cloud; //0x03E0
char pad_03EC[36]; //0x03EC char pad_03EC[32]; //0x03EC
float m_sun_influence_radius; //0x0410 float m_sun_influence_radius; //0x0410
float m_sun_scatter_inten; //0x0414 float m_sun_scatter_inten; //0x0414
float m_moon_influence_radius; //0x0418 float m_moon_influence_radius; //0x0418
@ -96,9 +89,8 @@ public:
char pad_04F8[60]; //0x04F8 char pad_04F8[60]; //0x04F8
float m_moon_disc_size; //0x0534 float m_moon_disc_size; //0x0534
char pad_0538[24]; //0x0538 char pad_0538[24]; //0x0538
rage::fvector3 m_moon; //0x0550 rage::fvector4 m_moon; //0x0550
char pad_055C[4]; //0x055C float m_moon_intensity; //0x0560
float m_moon_itensity; //0x0560
char pad_0564[140]; //0x0564 char pad_0564[140]; //0x0564
}; //Size: 0x05F0 }; //Size: 0x05F0
static_assert(sizeof(TimecycleKeyframeData) == 0x5F0); static_assert(sizeof(TimecycleKeyframeData) == 0x5F0);