mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-12-19 04:12:40 -05:00
1ea247e185
Collison v1, mouse fixed.
23 lines
521 B
C++
23 lines
521 B
C++
#pragma once
|
|
#include "TCollisionComponent.h"
|
|
#include "TEdgeSegment.h"
|
|
|
|
struct field_effect_type
|
|
{
|
|
char* Flag2Ptr;
|
|
int Unknown1;
|
|
TCollisionComponent* CollisionComp;
|
|
};
|
|
|
|
class TEdgeManager
|
|
{
|
|
public:
|
|
TEdgeManager(float a2, float a3, float a4, float a5)
|
|
{
|
|
}
|
|
|
|
int FieldEffects(TBall* ball, struct vector_type* vecDst);
|
|
|
|
static void edges_insert_square(float a1, float a2, float a3, float a4, TEdgeSegment* a5, field_effect_type* a6);
|
|
float FindCollisionDistance(ray_type* ray, TBall* ball, TEdgeSegment** edge);
|
|
};
|