This commit is contained in:
Daveo 2001-02-14 19:36:27 +00:00
parent e2939015d9
commit f7a92200db
4 changed files with 296 additions and 0 deletions

35
Utils/MkColTab/MkColTab.h Normal file
View file

@ -0,0 +1,35 @@
/*********************************/
/*** Make Collision Table Util ***/
/*********************************/
#ifndef __MKCOLTAB_HEADER__
#define __MKCOLTAB_HEADER__
using namespace std;
struct sColInfo
{
vector<s8> Ofs;
};
//***************************************************************************
class CMkColTab
{
public:
enum
{
BLK_SIZE=16,
};
void Load(const char *Filename);
void Process();
void Write(const char *Filename);
protected:
void BuildTable(Frame &ThisFrame,sColInfo &ThisTile);
Frame InFrame;
vector<sColInfo> Tiles;
FILE *File;
};
#endif