![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Private Member Functions | |
| void | WeaponDebug () |
| void | ~WeaponDebug () |
| void | AddPosToCyclicBuffer (vector pos) |
| void | CycleDebugMode () |
| void | DisplayGeneralInfo () |
| void | DisplayTargetInfo () |
| void | DrawBarrelMemoryPoints (vector begin_point, vector end_point) |
| void | DrawEyePoint (Weapon weapon) |
| void | DrawLineOfFire (vector begin_point, vector end_point) |
| void | DrawLineOfFireCameraHybrid (vector usti_hlavne_position, vector camera_dir, vector camera_pos, vector konec_hlavne_position) |
| void | DrawLineOfFireMuzzleToHit (vector begin_point, vector camera_dir, vector camera_pos) |
| vector | GetEyePointPosition (Weapon weapon) |
| Weapon | GetWeaponInHands () |
| void | OnCommandHandlerUpdate () |
| void | OnKeyDown (KeyCode key) |
| void | OnPostFrameUpdate () |
| void | OrderTrailArray () |
| void | RemoveAllShapes (bool is_exit=false) |
Definition at line 11 of file weapondebug.c.
|
inlineprivate |
Definition at line 61 of file weapondebug.c.
References m_DebugModesNames.
|
inlineprivate |
Definition at line 68 of file weapondebug.c.
References RemoveAllShapes().
|
inlineprivate |
Definition at line 241 of file weapondebug.c.
References BUFFER_SIZE, m_AimTrailCyclic, and m_BufferIndex.
Referenced by OnPostFrameUpdate().
|
inlineprivate |
Definition at line 146 of file weapondebug.c.
References m_CurrentMode.
Referenced by OnCommandHandlerUpdate().
|
inlineprivate |
Definition at line 285 of file weapondebug.c.
References DbgUI::Begin(), DbgUI::End(), g_Game, m_CurrentMode, m_DebugModesNames, DbgUI::Text(), and float::ToString().
Referenced by OnPostFrameUpdate().
|
inlineprivate |
Definition at line 299 of file weapondebug.c.
References DbgUI::Begin(), DbgUI::End(), m_TargetDistance, and DbgUI::Text().
Referenced by OnPostFrameUpdate().
Definition at line 206 of file weapondebug.c.
References Debug::DrawSphere(), Colors::GREEN, m_IsDrawKeyHeldDown, m_Shape_konec, and m_Shape_usti.
Referenced by OnPostFrameUpdate().
|
inlineprivate |
Definition at line 266 of file weapondebug.c.
References COLOR_BLUE, Debug::DrawSphere(), GetEyePointPosition(), and m_ShapeEye.
Referenced by OnPostFrameUpdate().
Definition at line 216 of file weapondebug.c.
References COLOR_RED, Debug::DrawLine(), Debug::DrawSphere(), m_HitShape, m_IsFireKeyPressed, m_PermanentLine1, m_ShapeFireDirection1, m_ShapeFireDirection2, vector::Normalized(), DayZPhysics::RaycastRV(), Colors::RED, and Debug::RemoveShape().
Referenced by OnPostFrameUpdate().
|
inlineprivate |
Definition at line 354 of file weapondebug.c.
References CAMERA_BULLET_ORIGIN_OFFSET, CAMERA_TRACE_MIN_DISTANCE_TOLERANCE, Class::CastTo(), Math::Clamp(), vector::Distance(), Debug::DrawLine(), Debug::DrawSphere(), g_Game, Colors::GREEN, Math::InverseLerp(), Math::Lerp(), m_HitShape, m_HitShape4, m_IsFireKeyPressed, m_PermanentLine1, m_PermanentLine2, m_PermanentShape1, m_TargetDistance, MAX_MUZZLE_DISTANCE_TOLERANCE, vector::Normalize(), PrintString, DayZPhysics::RaycastRV(), Colors::RED, and Debug::RemoveShape().
Referenced by OnPostFrameUpdate().
|
inlineprivate |
Definition at line 307 of file weapondebug.c.
References Class::CastTo(), COLOR_RED, vector::Distance(), Debug::DrawLine(), Debug::DrawSphere(), g_Game, Colors::GREEN, m_HitShape2, m_HitShape3, m_IsFireKeyPressed, m_PermanentLine1, m_PermanentLine2, m_ShapeFireDirCamera, m_TargetDistance, DayZPhysics::RaycastRV(), Colors::RED, and Debug::RemoveShape().
Referenced by OnPostFrameUpdate().
Definition at line 272 of file weapondebug.c.
Referenced by DrawEyePoint().
|
inlineprivate |
Definition at line 52 of file weapondebug.c.
References Class::CastTo(), and g_Game.
Referenced by OnPostFrameUpdate().
|
inlineprivate |
Definition at line 98 of file weapondebug.c.
References ClearKey(), CycleDebugMode(), GetMouseState(), KeyState(), m_IsDrawKeyHeldDown, m_IsFireKeyPressed, m_IsLMBPressed, and OnKeyDown().
|
inlineprivate |
Definition at line 139 of file weapondebug.c.
Referenced by OnCommandHandlerUpdate().
|
inlineprivate |
Definition at line 156 of file weapondebug.c.
References AddPosToCyclicBuffer(), BUFFER_SIZE, COLOR_YELLOW, DisplayGeneralInfo(), DisplayTargetInfo(), DrawBarrelMemoryPoints(), DrawEyePoint(), DrawLineOfFire(), DrawLineOfFireCameraHybrid(), DrawLineOfFireMuzzleToHit(), Debug::DrawLines(), g_Game, GetWeaponInHands(), m_AimTrailOrdered, m_CurrentMode, m_IsDrawKeyHeldDown, m_ShapeTrailLines, OrderTrailArray(), and RemoveAllShapes().
|
inlineprivate |
Definition at line 251 of file weapondebug.c.
References BUFFER_SIZE, m_AimTrailCyclic, m_AimTrailOrdered, and m_BufferIndex.
Referenced by OnPostFrameUpdate().
|
inlineprivate |
Definition at line 74 of file weapondebug.c.
References m_HitShape, m_HitShape2, m_HitShape3, m_HitShape4, m_PermanentLine1, m_PermanentLine2, m_PermanentShape1, m_PermanentShape2, m_Shape_konec, m_Shape_usti, m_ShapeEye, m_ShapeFireDirCamera, m_ShapeFireDirection1, m_ShapeFireDirection2, m_ShapeTrailLines, and Debug::RemoveShape().
Referenced by ~WeaponDebug(), and OnPostFrameUpdate().
|
private |
Definition at line 13 of file weapondebug.c.
Referenced by AddPosToCyclicBuffer(), OnPostFrameUpdate(), and OrderTrailArray().
|
private |
Definition at line 16 of file weapondebug.c.
Referenced by DrawLineOfFireCameraHybrid().
|
private |
Definition at line 17 of file weapondebug.c.
Referenced by DrawLineOfFireCameraHybrid().
|
private |
Definition at line 14 of file weapondebug.c.
|
private |
Definition at line 27 of file weapondebug.c.
Referenced by AddPosToCyclicBuffer(), and OrderTrailArray().
|
private |
Definition at line 28 of file weapondebug.c.
Referenced by OnPostFrameUpdate(), and OrderTrailArray().
|
private |
Definition at line 20 of file weapondebug.c.
Referenced by AddPosToCyclicBuffer(), and OrderTrailArray().
|
private |
Definition at line 26 of file weapondebug.c.
Referenced by CycleDebugMode(), DisplayGeneralInfo(), and OnPostFrameUpdate().
Definition at line 30 of file weapondebug.c.
Referenced by WeaponDebug(), and DisplayGeneralInfo().
|
private |
Definition at line 38 of file weapondebug.c.
Referenced by DrawLineOfFire(), DrawLineOfFireCameraHybrid(), and RemoveAllShapes().
|
private |
Definition at line 42 of file weapondebug.c.
Referenced by DrawLineOfFireMuzzleToHit(), and RemoveAllShapes().
|
private |
Definition at line 43 of file weapondebug.c.
Referenced by DrawLineOfFireMuzzleToHit(), and RemoveAllShapes().
|
private |
Definition at line 44 of file weapondebug.c.
Referenced by DrawLineOfFireCameraHybrid(), and RemoveAllShapes().
|
private |
Definition at line 21 of file weapondebug.c.
Referenced by DrawBarrelMemoryPoints(), OnCommandHandlerUpdate(), and OnPostFrameUpdate().
|
private |
Definition at line 24 of file weapondebug.c.
Referenced by DrawLineOfFire(), DrawLineOfFireCameraHybrid(), DrawLineOfFireMuzzleToHit(), and OnCommandHandlerUpdate().
|
private |
Definition at line 22 of file weapondebug.c.
Referenced by OnCommandHandlerUpdate().
|
private |
Definition at line 23 of file weapondebug.c.
|
private |
Definition at line 46 of file weapondebug.c.
Referenced by DrawLineOfFire(), DrawLineOfFireCameraHybrid(), DrawLineOfFireMuzzleToHit(), and RemoveAllShapes().
|
private |
Definition at line 47 of file weapondebug.c.
Referenced by DrawLineOfFireCameraHybrid(), DrawLineOfFireMuzzleToHit(), and RemoveAllShapes().
|
private |
Definition at line 49 of file weapondebug.c.
Referenced by DrawLineOfFireCameraHybrid(), and RemoveAllShapes().
|
private |
Definition at line 50 of file weapondebug.c.
Referenced by RemoveAllShapes().
|
private |
Definition at line 35 of file weapondebug.c.
Referenced by DrawBarrelMemoryPoints(), and RemoveAllShapes().
|
private |
Definition at line 34 of file weapondebug.c.
Referenced by DrawBarrelMemoryPoints(), and RemoveAllShapes().
|
private |
Definition at line 39 of file weapondebug.c.
Referenced by DrawEyePoint(), and RemoveAllShapes().
|
private |
Definition at line 41 of file weapondebug.c.
Referenced by DrawLineOfFireMuzzleToHit(), and RemoveAllShapes().
|
private |
Definition at line 36 of file weapondebug.c.
Referenced by DrawLineOfFire(), and RemoveAllShapes().
|
private |
Definition at line 37 of file weapondebug.c.
Referenced by DrawLineOfFire(), and RemoveAllShapes().
|
private |
Definition at line 40 of file weapondebug.c.
Referenced by OnPostFrameUpdate(), and RemoveAllShapes().
|
private |
Definition at line 25 of file weapondebug.c.
Referenced by DisplayTargetInfo(), DrawLineOfFireCameraHybrid(), and DrawLineOfFireMuzzleToHit().
|
private |
Definition at line 19 of file weapondebug.c.
|
private |
Definition at line 15 of file weapondebug.c.
Referenced by DrawLineOfFireCameraHybrid().