new FexTracker based on FexGenericFilter which is (c)2006 tentacle aka Hajo Krabbenhöft

thus all dependencies on my commercial project are now removed :)
once this flavor of FexTracker works fine, it will move to noncommercial open source license and will be fully integrated into Aegisub to get rid of external .dll files and to allow for the linux version to support tracking as well

Originally committed to SVN as r192.
This commit is contained in:
tentacle 2006-03-03 10:17:22 +00:00
parent abf89af0d1
commit b49618d093
6 changed files with 38 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

36
core/FexMovement.h Normal file
View file

@ -0,0 +1,36 @@
// 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"
class FexMovement
{
public:
FexMovement();
~FexMovement();
void Load( const char* Filename );
void Save( const char* Filename );
const char* GetUniqueName();
tenlist<FexMovementFrame> Frames;
};
void FEXTRACKER_API DeleteMovement( FexMovement* delme );
#endif // !defined(AFX_FEXMOVEMENT_H__63D8ADD8_4EA1_4C56_8D6F_7B587A1A61A4__INCLUDED_)

View file

@ -90,6 +90,8 @@ public:
FexTrackingFeature* operator [] ( int i );
inline int GetCount(){ return nFeatures; };
inline int GetFrame(){ return CurFrame; };
inline int GetSizeX(){ return SizX; };
inline int GetSizeY(){ return SizY; };
bool bDebug;
int minFeatures;