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:
parent
0cb75ecf7f
commit
5461483bb5
15 changed files with 388 additions and 29 deletions
22
SpaceCadetPinball/DebugOverlay.h
Normal file
22
SpaceCadetPinball/DebugOverlay.h
Normal 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();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue