#include <controls.h>
◆ CControls()
◆ ClampMousePos()
| void CControls::ClampMousePos |
( |
| ) |
|
◆ ConKeyInputCounter()
◆ ConKeyInputNextPrevWeapon()
◆ ConKeyInputSet()
◆ ConKeyInputState()
◆ GetMaxMouseDistance()
| float CControls::GetMaxMouseDistance |
( |
| ) |
const |
◆ GetMinMouseDistance()
| float CControls::GetMinMouseDistance |
( |
| ) |
const |
◆ OnConsoleInit()
| void CControls::OnConsoleInit |
( |
| ) |
|
|
overridevirtual |
Called to let the components register their console commands.
Reimplemented from CComponent.
◆ OnCursorMove()
Called on mouse movement, where the x and y values are deltas.
- Parameters
-
| x | The amount of change in the x coordinate since the last call. |
| y | The amount of change in the y coordinate since the last call. |
| CursorType | The type of cursor that caused the movement. |
Reimplemented from CComponent.
◆ OnMessage()
◆ OnPlayerDeath()
| void CControls::OnPlayerDeath |
( |
| ) |
|
|
virtual |
◆ OnRender()
| void CControls::OnRender |
( |
| ) |
|
|
overridevirtual |
Called when the component should get rendered.
The render order depends on the component insertion order.
Reimplemented from CComponent.
◆ OnReset()
| void CControls::OnReset |
( |
| ) |
|
|
overridevirtual |
Called to reset the component. This method is usually called on your component constructor to avoid code duplication.
- See also
- CHud::CHud()
-
CHud::OnReset()
Reimplemented from CComponent.
◆ ResetInput()
| void CControls::ResetInput |
( |
int |
Dummy | ) |
|
◆ Sizeof()
| int CControls::Sizeof |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
◆ SnapInput()
| int CControls::SnapInput |
( |
int * |
pData | ) |
|
◆ m_aAmmoCount
◆ m_aInputData
◆ m_aInputDirectionLeft
◆ m_aInputDirectionRight
◆ m_aLastData
◆ m_aMousePos
◆ m_aMousePosOnAction
◆ m_aShowHookColl
◆ m_aTargetPos
◆ m_LastSendTime
The documentation for this class was generated from the following files: