EvilEngine/DYNA/camera:transition path: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
(Created page with "<onlyinclude> {{#vardefine:name|camera:transition_path}}<nowiki/> {{#vardefine:version|}}<nowiki/> {{#vardefine:hash|0xBBA5036A}}<nowiki/> {{#vardefine:games|}}<nowiki/> {{#va...") |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
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/> |
||
</onlyinclude> |
</onlyinclude> |
||
{{AutoDynaInfobox}} |
{{AutoDynaInfobox}} |
||
==Format== |
|||
Unused dyna type. Code can be found in Rise of the Underminer and Ratatouille Prototype. |
|||
<source lang=cpp> |
|||
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; |
|||
}; |
|||
</source> |
|||
{| class="wikitable" |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|||
| 0x10 || u32 || '''mVersion''' || |
|||
|- |
|||
| 0x14 || s32 || '''mType''' || |
|||
|- |
|||
| 0x18 || u32 || '''mFlags''' || |
|||
|- |
|||
| 0x1C || [[AssetID]] || '''mDestCameraID''' || |
|||
|- |
|||
| 0x20 || f32 || '''mTime''' || |
|||
|- |
|||
| 0x24 || f32 || '''mAccel''' || |
|||
|- |
|||
| 0x28 || f32 || '''mDecel''' || |
|||
|- |
|||
| 0x2C || [[AssetID]] || '''mSrcCameraID''' || |
|||
|- |
|||
| 0x30 || [[AssetID]] || '''mCurveID''' || |
|||
|- |
|||
| 0x34 || [[AssetID]] || '''mTriggerID''' || |
|||
|} |
|||
{{DynaAssets}} |
{{DynaAssets}} |
Latest revision as of 13:44, 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 |
---|---|---|---|
0x10 | u32 | mVersion | |
0x14 | s32 | mType | |
0x18 | u32 | mFlags | |
0x1C | AssetID | mDestCameraID | |
0x20 | f32 | mTime | |
0x24 | f32 | mAccel | |
0x28 | f32 | mDecel | |
0x2C | AssetID | mSrcCameraID | |
0x30 | AssetID | mCurveID | |
0x34 | AssetID | mTriggerID |