Add rayman2 source files
This commit is contained in:
59
Rayman_X/cpa/public/TAN/CPAAnim.hpp
Normal file
59
Rayman_X/cpa/public/TAN/CPAAnim.hpp
Normal file
@@ -0,0 +1,59 @@
|
||||
/*=============================================================================
|
||||
*
|
||||
* Filename: CPAAnim.hpp
|
||||
* Version: 1.0
|
||||
* Date: 30/12/96
|
||||
* Author: Marc Trabucato & Vincent Lhullier
|
||||
*
|
||||
* Description: definition of CPA_Family class (decendant of CPA_ReachableObject)
|
||||
*
|
||||
*===========================================================================*/
|
||||
|
||||
#ifndef __CPAANIM_HPP__
|
||||
#define __CPAANIM_HPP__
|
||||
|
||||
#ifdef ACTIVE_EDITOR
|
||||
|
||||
#include "ITF.h"
|
||||
|
||||
/****************************************/
|
||||
#ifndef CPA_EXPORT
|
||||
#if defined(CPA_WANTS_IMPORT)
|
||||
#define CPA_EXPORT __declspec(dllimport)
|
||||
#elif defined(CPA_WANTS_EXPORT)
|
||||
#define CPA_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define CPA_EXPORT
|
||||
#endif
|
||||
#endif
|
||||
/****************************************/
|
||||
|
||||
/*=============================================================================
|
||||
* Define : name of Animation Type (for reachable constructor)
|
||||
=============================================================================*/
|
||||
#define C_szAnimationTypeName "Animation"
|
||||
|
||||
/*=============================================================================
|
||||
* class CPA_Animation
|
||||
=============================================================================*/
|
||||
class /*CPA_EXPORT*/ CPA_Animation : public CPA_BaseObject
|
||||
{
|
||||
private:
|
||||
struct tdstAnim3d_ *m_p_stAnim3d;
|
||||
|
||||
public:
|
||||
CPA_Animation( CPA_EditorBase *p_oEditor, CPA_BaseObject *_p_oOwnerFamily, char *_szName );
|
||||
|
||||
long GetDataType ( void ) { return 0; }
|
||||
void* GetData ( void ) { return (void*)m_p_stAnim3d; }
|
||||
|
||||
tdeMissingCriteria fn_eCheckUnicity (const CString _csNewName) { return fn_eCheckUnicityWithOwner( _csNewName ); }
|
||||
|
||||
void mfn_vLoad ( void );
|
||||
void SetData ( struct tdstAnim3d_ *_p_stAnim);
|
||||
|
||||
unsigned char mfn_ucGetFrameRate( void ) { return ( m_p_stAnim3d ? m_p_stAnim3d -> ucFrameRate : 0 ); }
|
||||
};
|
||||
|
||||
#endif /* ACTIVE_EDITOR*/
|
||||
#endif /* __CPAANIM_HPP__*/
|
18
Rayman_X/cpa/public/TAN/TANQuery.h
Normal file
18
Rayman_X/cpa/public/TAN/TANQuery.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef __TANQUERY_H__
|
||||
#define __TANQUERY_H__
|
||||
|
||||
/*=============================================================================
|
||||
* define : action type used for OnQueryAction function
|
||||
=============================================================================*/
|
||||
#define C_cLoadAllAnimsAction 1
|
||||
#define C_cGetEditorAnimFromEngineAnim 2
|
||||
#define C_cIsEngineAnimLoaded 3
|
||||
#define C_cReallyLoadEngineAnimation 4
|
||||
#define C_cLoadAllAnimations 5
|
||||
#define C_cSetCompleteLoadModeTAN 6
|
||||
#define C_cPreLoadAllAnimation 7
|
||||
/*=============================================================================
|
||||
* define : action type used for OnQueryInfo function
|
||||
=============================================================================*/
|
||||
#define C_cGetCompleteLoadModeTAN 10
|
||||
#endif /*__TANQUERY_H__*/
|
Reference in New Issue
Block a user