EvilEngine/DYNA/camera:transition path: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
(format) |
No edit summary |
||
Line 3: | Line 3: | ||
{{#vardefine:version|}}<nowiki/> |
{{#vardefine:version|}}<nowiki/> |
||
{{#vardefine:hash|0xBBA5036A}}<nowiki/> |
{{#vardefine:hash|0xBBA5036A}}<nowiki/> |
||
{{#vardefine:games|}}<nowiki/> |
{{#vardefine:games|ROTU RatProto}}<nowiki/> |
||
{{#vardefine:sourcecode|}}<nowiki/> |
{{#vardefine:sourcecode|}}<nowiki/> |
||
{{#vardefine:image|}}<nowiki/> |
{{#vardefine:image|}}<nowiki/> |
||
Line 36: | Line 36: | ||
! Offset !! Type !! Variable !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|- |
||
| 0x00 || |
| 0x00 || u32 || '''mVersion''' || |
||
|- |
|- |
||
| 0x04 || |
| 0x04 || s32 || '''mType''' || |
||
|- |
|- |
||
| 0x08 || |
| 0x08 || u32 || '''mFlags''' || |
||
|- |
|- |
||
| 0x0C || [[AssetID]] || '''mDestCameraID''' || |
| 0x0C || [[AssetID]] || '''mDestCameraID''' || |
||
|- |
|- |
||
| 0x10 || |
| 0x10 || f32 || '''mTime''' || |
||
|- |
|- |
||
| 0x14 || |
| 0x14 || f32 || '''mAccel''' || |
||
|- |
|- |
||
| 0x18 || |
| 0x18 || f32 || '''mDecel''' || |
||
|- |
|- |
||
| 0x1C || [[AssetID]] || '''mSrcCameraID''' || |
| 0x1C || [[AssetID]] || '''mSrcCameraID''' || |
Revision as of 13:43, 19 September 2023
camera:transition_path | |
---|---|
Hash | 0xBBA5036A |
Games used | Rise of the Underminer Ratatouille Prototype |
Format
Unused dyna type. Code can be found in Rise of the Underminer and Ratatouille Prototype.
struct xCamTransitionAsset : xDynAsset
{
uint32 mVersion;
int32 mType;
uint32 mFlags;
uint32 mDestCameraID;
union
{
struct
{
float32 mTime;
float32 mAccel;
float32 mDecel;
};
uint32 mSrcCameraID;
};
uint32 mCurveID;
uint32 mTriggerID;
};
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | u32 | mVersion | |
0x04 | s32 | mType | |
0x08 | u32 | mFlags | |
0x0C | AssetID | mDestCameraID | |
0x10 | f32 | mTime | |
0x14 | f32 | mAccel | |
0x18 | f32 | mDecel | |
0x1C | AssetID | mSrcCameraID | |
0x20 | AssetID | mCurveID | |
0x24 | AssetID | mTriggerID |