EvilEngine/DYNA/Twiddler: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
(Format)
 
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{{#vardefine:name|Twiddler}}<nowiki/>
{{#vardefine:name|Twiddler}}<nowiki/>
{{#vardefine:version|}}<nowiki/>
{{#vardefine:version|2}}<nowiki/>
{{#vardefine:hash|0x01A49323}}<nowiki/>
{{#vardefine:hash|0x01A49323}}<nowiki/>
{{#vardefine:games|RatProto}}<nowiki/>
{{#vardefine:games|RatProto}}<nowiki/>
Line 9: Line 9:
{{AutoDynaInfobox}}
{{AutoDynaInfobox}}


==Format==
<source lang=cpp>
struct zAnalogInputTwiddlerAsset : xDynAsset
{
unsigned int twiddleeID;
unsigned int type;
unsigned int axis;
float inputMin;
float inputMax;
float outputMin;
float outputMax;
float defaultValue;
};
</source>

{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x10 || [[AssetID]] || '''twiddleeID''' || [[PLAT]]
|-
| 0x14 || u32 || '''type''' ||
|-
| 0x18 || u32 || '''axis''' ||
|-
| 0x1C || f32 || '''inputMin''' ||
|-
| 0x20 || f32 || '''inputMax''' ||
|-
| 0x24 || f32 || '''outputMin''' ||
|-
| 0x28 || f32 || '''outputMax''' ||
|-
| 0x2C || f32 || '''ddefaultValue''' ||
|}


{{DynaAssets}}
{{DynaAssets}}

Latest revision as of 16:18, 19 September 2023

Twiddler
Version2
Hash0x01A49323
Games usedRatatouille Prototype

Format

struct zAnalogInputTwiddlerAsset : xDynAsset
{
    unsigned int twiddleeID;
    unsigned int type;
    unsigned int axis;
    float inputMin;
    float inputMax;
    float outputMin;
    float outputMax;
    float defaultValue;
};
Offset Type Variable Description
0x10 AssetID twiddleeID PLAT
0x14 u32 type
0x18 u32 axis
0x1C f32 inputMin
0x20 f32 inputMax
0x24 f32 outputMin
0x28 f32 outputMax
0x2C f32 ddefaultValue