Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
CSTControl Struct Reference

#include <d_lib.h>

+ Inheritance diagram for CSTControl:
+ Collaboration diagram for CSTControl:

Public Member Functions

 CSTControl (s16 param_0, s16 param_1, s16 param_2, s16 param_3, f32 param_4, f32 param_5, s16 param_6, s16 param_7)
 
virtual f32 getValueStick ()
 
virtual s16 getAngleStick ()
 
- Public Member Functions inherited from STControl
 STControl ()
 
 STControl (s16 delayY, s16 delayX, s16 param_2, s16 param_3, f32 threshold, f32 param_5, s16 param_6, s16 param_7)
 
void setWaitParm (s16, s16, s16, s16, f32, f32, s16, s16)
 
void init ()
 
void Xinit ()
 
void Yinit ()
 
u8 checkTrigger ()
 
bool checkLeftTrigger ()
 
bool checkRightTrigger ()
 
bool checkUpTrigger ()
 
bool checkDownTrigger ()
 
void setFirstWaitTime (s16 time)
 
s16 getYwaitTimer ()
 

Additional Inherited Members

- Public Types inherited from STControl
enum  EStickDir {
  TRIG_LEFT = 1 , TRIG_RIGHT , TRIG_UP = 4 , TRIG_UP_LEFT ,
  TRIG_UP_RIGHT , TRIG_DOWN = 8 , TRIG_DOWN_LEFT , TRIG_DOWN_RIGHT
}
 
- Public Attributes inherited from STControl
f32 mThreshold
 
f32 field_0x08
 
u8 mDirectionTrig
 
u8 field_0x0d
 
s16 field_0x0e
 
s16 field_0x10
 
s16 mRepeatDelayY
 
s16 mRepeatDelayX
 
s16 field_0x16
 
s16 mXwaitTimer
 
s16 mYwaitTimer
 
s16 field_0x1c
 
s16 field_0x1e
 
s16 field_0x20
 
s16 field_0x22
 
s16 field_0x24
 
s16 field_0x26
 
s16 mFirstWaitTime
 
s16 field_0x2a
 
s16 field_0x2c
 

Constructor & Destructor Documentation

◆ CSTControl()

CSTControl::CSTControl ( s16  param_0,
s16  param_1,
s16  param_2,
s16  param_3,
f32  param_4,
f32  param_5,
s16  param_6,
s16  param_7 
)
inline

Member Function Documentation

◆ getAngleStick()

s16 CSTControl::getAngleStick ( )
virtual

Reimplemented from STControl.

◆ getValueStick()

f32 CSTControl::getValueStick ( )
virtual

Reimplemented from STControl.


The documentation for this struct was generated from the following files: