1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2025-09-06 08:20:15 +02:00

Added debug overlay v1.

It features various collision info perspective projected and overlayed on the table.
This commit is contained in:
Muzychenko Andrey 2022-05-19 14:17:31 +03:00
parent 0cb75ecf7f
commit 5461483bb5
15 changed files with 388 additions and 29 deletions

View file

@ -0,0 +1,22 @@
#pragma once
struct gdrv_bitmap8;
struct circle_type;
struct line_type;
class TEdgeSegment;
class DebugOverlay
{
public:
static void UnInit();
static void DrawOverlay();
private:
static gdrv_bitmap8* dbScreen;
static void DrawCicleType(circle_type& circle);
static void DrawLineType(line_type& line);
static void DrawEdge(TEdgeSegment* edge);
static void DrawBoxGrid();
static void DrawAllEdges();
static void DrawBallInfo();
};