mirror of https://github.com/odrling/Aegisub
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:
parent
abf89af0d1
commit
b49618d093
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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_)
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue