2006-03-03 11:17:22 +01:00
|
|
|
// FexMovement.h: interface for the FexMovement class.
|
|
|
|
//
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#if !defined(AFX_FEXMOVEMENT_H__63D8ADD8_4EA1_4C56_8D6F_7B587A1A61A4__INCLUDED_)
|
|
|
|
#define AFX_FEXMOVEMENT_H__63D8ADD8_4EA1_4C56_8D6F_7B587A1A61A4__INCLUDED_
|
|
|
|
|
|
|
|
#if _MSC_VER > 1000
|
|
|
|
#pragma once
|
|
|
|
#endif // _MSC_VER > 1000
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
vec2 Pos;
|
|
|
|
vec3 Rot;
|
|
|
|
vec2 Scale;
|
|
|
|
}FexMovementFrame;
|
|
|
|
|
|
|
|
#include "tenlist.h"
|
2006-03-03 19:50:02 +01:00
|
|
|
|
2006-03-03 11:17:22 +01:00
|
|
|
class FexMovement
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
FexMovement();
|
|
|
|
~FexMovement();
|
2006-03-03 19:50:02 +01:00
|
|
|
WCHAR* FileName;
|
2006-03-03 11:17:22 +01:00
|
|
|
|
|
|
|
tenlist<FexMovementFrame> Frames;
|
|
|
|
};
|
|
|
|
|
2006-03-03 19:50:02 +01:00
|
|
|
FEXTRACKER_API FexMovement* CreateMovement();
|
|
|
|
FEXTRACKER_API void LoadMovement( FexMovement* me, const unsigned short* Filename );
|
|
|
|
FEXTRACKER_API void SaveMovement( FexMovement* me, const unsigned short* Filename );
|
|
|
|
FEXTRACKER_API void DeleteMovement( FexMovement* delme );
|
|
|
|
//WCHAR* FEXTRACKER_API GetUniqueName();
|
2006-03-03 11:17:22 +01:00
|
|
|
|
|
|
|
#endif // !defined(AFX_FEXMOVEMENT_H__63D8ADD8_4EA1_4C56_8D6F_7B587A1A61A4__INCLUDED_)
|