mirror of https://github.com/yaz0r/FITD.git
24 lines
497 B
C++
24 lines
497 B
C++
#pragma once
|
|
|
|
#include "hybrid.h"
|
|
|
|
struct sAnim2d {
|
|
uint16_t frame;
|
|
uint32_t time;
|
|
uint16_t flagEndInterAnim;
|
|
std::vector<sHybrid_Anim>::iterator pAnim;
|
|
sHybrid_Animation* pAnimation;
|
|
int16_t ScreenXMin;
|
|
int16_t ScreenYMin;
|
|
int16_t ScreenXMax;
|
|
int16_t ScreenYMax;
|
|
};
|
|
|
|
extern std::array<sAnim2d, 20> TabAnim2d;
|
|
extern int NbAnim2D;
|
|
extern sHybrid* PtrAnim2D;
|
|
|
|
void resetAnim2D();
|
|
void load2dAnims(int cameraIdx);
|
|
void startAnim2d(int index);
|
|
void handleAnim2d(); |