mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-09-06 00:10:15 +02:00
TPlunger ready. TEdgeManager v1.
This commit is contained in:
parent
1ea247e185
commit
9bd064bf15
28 changed files with 866 additions and 118 deletions
|
@ -32,7 +32,7 @@ struct __declspec(align(4)) ray_type
|
|||
float MinDistance;
|
||||
float TimeNow;
|
||||
float TimeDelta;
|
||||
float Unknown2;
|
||||
int FieldFlag;
|
||||
};
|
||||
|
||||
struct __declspec(align(4)) line_type
|
||||
|
@ -42,9 +42,7 @@ struct __declspec(align(4)) line_type
|
|||
float PreComp1;
|
||||
float OriginX;
|
||||
float OriginY;
|
||||
float CompTmp1;
|
||||
float Unknown10;
|
||||
float Unknown11;
|
||||
vector_type RayIntersect;
|
||||
};
|
||||
|
||||
|
||||
|
@ -61,5 +59,5 @@ public:
|
|||
static void cross(vector_type* vec1, vector_type* vec2, vector_type* dstVec);
|
||||
static float magnitude(vector_type* vec);
|
||||
static void vector_add(vector_type* vec1Dst, vector_type* vec2);
|
||||
static float basic_collision(TBall* ball, struct vector_type* ballPosition, struct vector_type* vec2, float a4, float a5, float a6, float a7);
|
||||
static float basic_collision(TBall* ball, struct vector_type* nextPosition, struct vector_type* direction, float a4, float a5, float maxSpeed, float multiplier);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue