DIFF

class WeaponDebugSource

Constructors 2

void WeaponDebug()
References map.Insert(), ToString(), ToString()
Show 2 more, ToString(), and m_DebugModesNames
void ~WeaponDebug()

Constants 5

const int BUFFER_SIZE = 1000
const float COLLISIONS_DISTANCE_TOLERANCE = 0.01
const float MAX_MUZZLE_DISTANCE_TOLERANCE = 20
const float CAMERA_BULLET_ORIGIN_OFFSET = 1
const float CAMERA_TRACE_MIN_DISTANCE_TOLERANCE = 0.3

Members 26

Weapon m_WeaponInHands
int m_BufferIndex
bool m_IsLMBPressed
bool m_IsToggleKeyPressed
vector m_AimTrailCyclic[BUFFER_SIZE]
vector m_AimTrailOrdered[BUFFER_SIZE]
ref map<int, string> m_DebugModesNames = new map<int, string>
Shape m_Shape_usti
Shape m_Shape_konec
Shape m_ShapeFireDirection1
Shape m_ShapeFireDirection2
Shape m_ShapeEye
Shape m_ShapeTrailLines
Shape m_ShapeFireDirCamera
Shape m_HitShape2
Shape m_HitShape3
Shape m_HitShape4
Shape m_PermanentShape1
Shape m_PermanentShape2
Referenced by RemoveAllShapes()

Methods 16

Weapon GetWeaponInHands()
Referenced by OnPostFrameUpdate()
void OnKeyDown(KeyCode key)
void CycleDebugMode()
References m_CurrentMode
void DrawBarrelMemoryPoints(vector begin_point, vector end_point)
Referenced by OnPostFrameUpdate()
void AddPosToCyclicBuffer(vector pos)
Referenced by OnPostFrameUpdate()
void OrderTrailArray()
References BUFFER_SIZE, m_AimTrailCyclic, m_AimTrailOrdered
Show 1 more, m_BufferIndex
Referenced by OnPostFrameUpdate()
void DrawEyePoint(Weapon weapon)
Referenced by OnPostFrameUpdate()
void DisplayTargetInfo()
Referenced by OnPostFrameUpdate()