2020-12-20 12:13:12 +01:00
|
|
|
#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)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2021-01-06 15:06:13 +01:00
|
|
|
int FieldEffects(TBall* ball, struct vector_type* vecDst);
|
|
|
|
|
2020-12-20 12:13:12 +01:00
|
|
|
static void edges_insert_square(float a1, float a2, float a3, float a4, TEdgeSegment* a5, field_effect_type* a6);
|
2021-01-06 15:06:13 +01:00
|
|
|
float FindCollisionDistance(ray_type* ray, TBall* ball, TEdgeSegment** edge);
|
2020-12-20 12:13:12 +01:00
|
|
|
};
|