EvilEngine/DYNA/camera:binary poi: 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|0xFA0E4015}}<nowiki/> |
{{#vardefine:hash|0xFA0E4015}}<nowiki/> |
||
{{#vardefine:games|ROTU}}<nowiki/> |
{{#vardefine:games|ROTU RatProto}}<nowiki/> |
||
{{#vardefine:sourcecode|}}<nowiki/> |
{{#vardefine:sourcecode|}}<nowiki/> |
||
{{#vardefine:image|}}<nowiki/> |
{{#vardefine:image|}}<nowiki/> |
||
Line 10: | Line 10: | ||
==Format== |
==Format== |
||
Unused in Ratatouille Prototype but is still supported. |
|||
<source lang=cpp> |
<source lang=cpp> |
||
struct xCamBinaryAsset : xDynAsset |
struct xCamBinaryAsset : xDynAsset |
||
Line 29: | Line 31: | ||
! Offset !! Type !! Variable !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|- |
||
| |
| 0x10 || u16 || '''mVersion''' || |
||
|- |
|- |
||
| |
| 0x12 || u16 || '''mFlags''' || |
||
|- |
|- |
||
| |
| 0x14 || u32 || '''mTargetID''' || |
||
|- |
|- |
||
| |
| 0x18 || f32 || '''mTargetMarginAngle''' || |
||
|- |
|- |
||
| |
| 0x1C || f32 || '''mTargetRadiusScale''' || |
||
|- |
|- |
||
| |
| 0x20 || f32 || '''mDistanceScale''' || |
||
|- |
|- |
||
| |
| 0x24 || f32 || '''mPhiOffset''' || |
||
|- |
|- |
||
| |
| 0x28 || f32 || '''mYawOffset''' || |
||
|- |
|- |
||
| |
| 0x2C || f32 || '''mNearWallScale''' || |
||
|- |
|- |
||
| |
| 0x30 || f32 || '''mFarWallScale''' || |
||
|} |
|} |
||
Latest revision as of 13:48, 19 September 2023
camera:binary_poi | |
---|---|
Hash | 0xFA0E4015 |
Games used | Rise of the Underminer Ratatouille Prototype |
Format
Unused in Ratatouille Prototype but is still supported.
struct xCamBinaryAsset : xDynAsset
{
unsigned short mVersion;
unsigned short mFlags;
unsigned int mTargetID;
float mTargetMarginAngle;
float mTargetRadiusScale;
float mDistanceScale;
float mPhiOffset;
float mYawOffset;
float mNearWallScale;
float mFarWallScale;
};
Offset | Type | Variable | Description |
---|---|---|---|
0x10 | u16 | mVersion | |
0x12 | u16 | mFlags | |
0x14 | u32 | mTargetID | |
0x18 | f32 | mTargetMarginAngle | |
0x1C | f32 | mTargetRadiusScale | |
0x20 | f32 | mDistanceScale | |
0x24 | f32 | mPhiOffset | |
0x28 | f32 | mYawOffset | |
0x2C | f32 | mNearWallScale | |
0x30 | f32 | mFarWallScale |