mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-01 09:18:00 +03:00

- No more enums.h, constants.h, macro.h, etc... - moved all structure in types.h to there respective file.
36 lines
820 B
C
36 lines
820 B
C
#pragma once
|
|
#include "box.h"
|
|
|
|
struct ANIM_FRAME
|
|
{
|
|
short MinX;
|
|
short MaxX;
|
|
short MinY;
|
|
short MaxY;
|
|
short MinZ;
|
|
short MaxZ;
|
|
short OffsetX;
|
|
short OffsetY;
|
|
short OffsetZ;
|
|
unsigned short AngleSets[]; // Variable size
|
|
};
|
|
|
|
extern BITE_INFO EnemyBites[9];
|
|
extern int LightningCount;
|
|
extern int LightningRand;
|
|
extern int StormTimer;
|
|
extern int dLightningRand;
|
|
extern byte SkyStormColor[3];
|
|
extern byte SkyStormColor2[3];
|
|
extern int GnFrameCounter;
|
|
|
|
int DrawPhaseGame();
|
|
int GetFrame_D2(ITEM_INFO* item, short* framePtr[], int* rate);
|
|
void UpdateStorm();
|
|
short* GetBoundsAccurate(ITEM_INFO* item);
|
|
short* GetBestFrame(ITEM_INFO* item);
|
|
int Sync();
|
|
bool TIME_Init();
|
|
bool TIME_Reset();
|
|
void DrawAnimatingItem(ITEM_INFO* item);
|
|
void GetLaraJointPosition(PHD_VECTOR* pos, int LM_enum);
|