EvilEngine/DYNA/Twiddler: Difference between revisions
< EvilEngine | DYNA
EnergyDrink (talk | contribs) (Created page with "<onlyinclude> {{#vardefine:name|Twiddler}}<nowiki/> {{#vardefine:version|}}<nowiki/> {{#vardefine:hash|0x01A49323}}<nowiki/> {{#vardefine:games|RatProto}}<nowiki/> {{#vardefine:sourcecode|}}<nowiki/> {{#vardefine:image|}}<nowiki/> </onlyinclude> {{AutoDynaInfobox}} {{DynaAssets}} {{AutoGameNavs}} Category:DYNA") |
EnergyDrink (talk | contribs) (Format) |
||
(One intermediate revision by one other user not shown) | |||
Line 1:
<onlyinclude>
{{#vardefine:name|Twiddler}}<nowiki/>
{{#vardefine:version|2}}<nowiki/>
{{#vardefine:hash|0x01A49323}}<nowiki/>
{{#vardefine:games|RatProto}}<nowiki/>
Line 9:
{{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}}
|
Latest revision as of 16:18, 19 September 2023
Twiddler | |
---|---|
Version | 2 |
Hash | 0x01A49323 |
Games used | Ratatouille 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 |