This commit is contained in:
parent
e2939015d9
commit
f7a92200db
4 changed files with 296 additions and 0 deletions
35
Utils/MkColTab/MkColTab.h
Normal file
35
Utils/MkColTab/MkColTab.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue