28 lines
494 B
C
28 lines
494 B
C
#pragma once
|
|
|
|
#include "defines.h"
|
|
#include <d3d9.h>
|
|
#include <d3dx9math.h>
|
|
|
|
struct SEntityInfo
|
|
{
|
|
D3DXVECTOR3 m_v3Pos;
|
|
D3DXVECTOR3 m_v3Rot;
|
|
D3DXVECTOR3 m_v3Scale;
|
|
|
|
D3DXVECTOR3 m_v3Move;
|
|
int m_iTimeStart;
|
|
int m_iTimeLength;
|
|
};
|
|
|
|
const int m_iMaxEntityCount= 96;
|
|
#ifdef EXTRACODE
|
|
extern int m_iEntityCount;
|
|
extern char m_pcEntityData[65536];
|
|
extern SEntityInfo m_EntityInfos[ m_iMaxEntityCount ];
|
|
#else
|
|
#endif
|
|
|
|
extern int m_iEntityToObj[m_iMaxEntityCount];
|
|
|
|
void SetEntityPos( int iTime ); |