base init

This commit is contained in:
d1str4ught
2025-08-18 00:36:52 +02:00
parent cff3015742
commit 4e679320a3
527 changed files with 199969 additions and 0 deletions

17
src/game/vector.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef __INC_METIN_II_GAME_VECTOR_H__
#define __INC_METIN_II_GAME_VECTOR_H__
typedef struct SVector
{
float x;
float y;
float z;
} VECTOR;
extern void Normalize(VECTOR * pV1, VECTOR * pV2);
extern float GetDegreeFromPosition(float x, float y);
extern float GetDegreeFromPositionXY(long sx, long sy, long ex, long ey);
extern void GetDeltaByDegree(float fDegree, float fDistance, float *x, float *y);
extern float GetDegreeDelta(float iDegree, float iDegree2);
#endif