HPL3/Amnesia: Rebirth/Scripting/iScrMoveState Interface
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
Fields
iScrMoveState_Interface has no public fields.
Functions
Return Type | Function And Description |
---|---|
void | CharBody_GravityCollide(iCharacterBody@ apCharBody, iPhysicsBody@ apBody, cCollideData@ apCollideData) |
void | CharBody_HitGround(iCharacterBody@ apCharBody, const cVector3f &in avVel) |
float | DrawDebugOutput(cGuiSet@ apSet, iFontData@ apFont, float afStartY) |
cLuxMoveState | GetBase() |
bool | OnAction(int alAction, bool abPressed) |
bool | OnAnalogInput(int alAnalogId, const cVector3f &in avAmount) |
void | OnEnterState(int alPrevStateId) |
void | OnLeaveState(int alNextStateId) |
void | OnMapEnter(cLuxMap@ apMap) |
void | Reset() |
void | Update(float afTimeStep) |
Details
CharBody_GravityCollide
void CharBody_GravityCollide(iCharacterBody@ apCharBody,
iPhysicsBody@ apBody,
cCollideData@ apCollideData)
Parameters
- apCharBody (iCharacterBody@) —
- apBody (iPhysicsBody@) —
- apCollideData (cCollideData@) —
Returns:
- void
CharBody_HitGround
void CharBody_HitGround(iCharacterBody@ apCharBody,
const cVector3f &in avVel)
Parameters
- apCharBody (iCharacterBody@) —
- avVel (cVector3f) —
Returns:
- void
DrawDebugOutput
float DrawDebugOutput(cGuiSet@ apSet,
iFontData@ apFont,
float afStartY)
Parameters
- apSet (cGuiSet@) —
- apFont (iFontData@) —
- afStartY (float) —
Returns:
- float—
GetBase
cLuxMoveState@ GetBase()
Returns:
- cLuxMoveState@—
OnAction
bool OnAction(int alAction,
bool abPressed)
Parameters
- alAction (int) —
- abPressed (bool) —
Returns:
- bool—
OnAnalogInput
bool OnAnalogInput(int alAnalogId,
const cVector3f &in avAmount)
Parameters
- alAnalogId (int) —
- avAmount (cVector3f) —
Returns:
- bool—
OnEnterState
void OnEnterState(int alPrevStateId)
Parameters
- alPrevStateId (int) —
Returns:
- void
OnLeaveState
void OnLeaveState(int alNextStateId)
Parameters
- alNextStateId (int) —
Returns:
- void
OnMapEnter
Reset
void Reset()
Returns:
- void
Update
void Update(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void