// public Vector2[] points = new Vector2[Constants.Llegbones.Length + Constants.Rlegbones.Length + Constants.Spinebones.Length + Constants.Larmbones.Length + Constants.Rarmbones.Length]; private void _frameTimer_OnFrame(FrameTimer timer, D2DDevice device) { if (!device.IsDrawing) { _initializeGraphicObjects = true; return; } device.ClearScene(_backgroundColor); //device.DrawTextWithBackground("FPS: " + device.FramesPerSecond, 0, 0, _font, _redBrush, _blackBrush); //device.DrawTextWithBackground(text, 0, 20, _font, _redBrush, _blackBrush); if (OtherCheatsRealisation.IsWallHackEspEnabled()) { ESPRectangle[] Rects = OtherCheatsRealisation.Rects; Vector3 tempVector3 = new Vector3(), tempVector3_2 = new Vector3(); for (int i = 0; i < Rects.Length; i++) { if (Rects[i].topPosX != 0 && Rects[i].topPosY != 0) { device.DrawCircle(Rects[i].topPosX, Rects[i].topPosY, 5 * (1000 / Rects[i].lenToPlayer), 3, Rects[i].IsEnemy ? _redBrush : _greenBrush); } if (Rects[i].downPosX != 0 && Rects[i].downPosY != 0) { float cof = (200 / Rects[i].lenToPlayer); float[] newPos; newPos = Сentering(Rects[i].downPosX, Rects[i].downPosY, 100 * cof, 20 * cof, device, _blackBrush); device.FillRectangle(newPos[0] + 1, newPos[1] + 1, newPos[0] + (Rects[i].hp * 100 - 1) * cof, newPos[1] + (20 - 1) * cof, device.CreateSolidColorBrush(1 - Rects[i].hp, Rects[i].hp, 0)); } //device.DrawTextWithBackground(q, Rects[i].downPosX, Rects[i].downPosY, _font, 14, _blueBrush, _greenBrush); } } if (aimCheats.IsNoRecoilSaveEnabled()) { device.FillCircle(aimCheats.RecoilCrossX, aimCheats.RecoilCrossY, 4, _redBrush); } if (aimCheats.IsAimEnabled()) { device.DrawCircle(Constants.screenWidth / 2, Constants.screenHeight / 2, aimCheats.AIM_RADIUS, 2, _blueBrush); } //DrawTSkeleton(device); //DrawSkeletonT(device); //DrawCTSkeleton(device); // DrawTSkeleton(device); //DrawSkeletonT(device); // DrawSkeletonCT(device); /*for (int i = 0; i < points.Length; i++) * device.DrawTextWithBackground(i.ToString(), points[i].X, points[i].Y, _font, _redBrush, _blackBrush);*/ /*for (int i = 0; i+1 < bones_points.Length; i += 2) * { * device.DrawLine(bones_points[i].X, bones_points[i].Y, bones_points[i+1].X, bones_points[i+1].Y, 1, _redBrush); * }*/ //DrawText(device); }
public bool IsAimEnabled() { return(aimCheats.IsAimEnabled()); }