mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-17 23:20:19 +01:00
49f6132d23
Works with some data hacks in lowest resolution. Seems to work ok, even though BL is still 3DPB.
35 lines
827 B
C++
35 lines
827 B
C++
#pragma once
|
|
#include "TCollisionComponent.h"
|
|
#include "TEdgeManager.h"
|
|
|
|
|
|
struct circle_type;
|
|
class TPinballTable;
|
|
class TEdgeManager;
|
|
struct gdrv_bitmap8;
|
|
|
|
class TTableLayer :
|
|
public TCollisionComponent
|
|
{
|
|
public:
|
|
TTableLayer(TPinballTable* table);
|
|
~TTableLayer() override;
|
|
int FieldEffect(TBall* ball, vector_type* vecDst) override;
|
|
|
|
static void edges_insert_square(float y0, float x0, float y1, float x1, TEdgeSegment* edge,
|
|
field_effect_type* field);
|
|
static void edges_insert_circle(circle_type* circle, TEdgeSegment* edge, field_effect_type* field);
|
|
|
|
gdrv_bitmap8* VisBmp;
|
|
float Unknown1F;
|
|
float Unknown2F;
|
|
float Unknown3F;
|
|
float Unknown4F;
|
|
float GraityDirX;
|
|
float GraityDirY;
|
|
int Unknown7;
|
|
float GraityMult;
|
|
field_effect_type Field;
|
|
|
|
static TEdgeManager* edge_manager;
|
|
};
|