EvilEngine/DYNA/camera:binary poi: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
(Created page with "<onlyinclude> {{#vardefine:name|camera:binary_poi}}<nowiki/> {{#vardefine:version|}}<nowiki/> {{#vardefine:hash|0xFA0E4015}}<nowiki/> {{#vardefine:games|ROTU}}<nowiki/> {{#var...") |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
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/> |
||
</onlyinclude> |
</onlyinclude> |
||
{{AutoDynaInfobox}} |
{{AutoDynaInfobox}} |
||
==Format== |
|||
Unused in Ratatouille Prototype but is still supported. |
|||
<source lang=cpp> |
|||
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; |
|||
}; |
|||
</source> |
|||
{| class="wikitable" |
|||
! 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''' || |
|||
|} |
|||
{{DynaAssets}} |
{{DynaAssets}} |
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 |