mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-28 21:05:53 +01:00
33 lines
941 B
C
33 lines
941 B
C
|
/*
|
||
|
* LWSDK Header File
|
||
|
* Copyright 1999, NewTek, Inc.
|
||
|
*
|
||
|
* LWANIMLOD.H -- LightWave Animation Loaders
|
||
|
*/
|
||
|
#ifndef LWSDK_ANIMLOD_H
|
||
|
#define LWSDK_ANIMLOD_H
|
||
|
|
||
|
#include <lwimageio.h>
|
||
|
#include <lwhandler.h>
|
||
|
|
||
|
#define LWANIMLOADER_HCLASS "AnimLoaderHandler"
|
||
|
#define LWANIMLOADER_ICLASS "AnimLoaderInterface"
|
||
|
#define LWANIMLOADER_VERSION 4
|
||
|
|
||
|
|
||
|
typedef struct st_LWAnimFrameAccess {
|
||
|
void *priv_data;
|
||
|
LWImageProtocolID (*begin) (void *, int type);
|
||
|
void (*done) (void *, LWImageProtocolID);
|
||
|
} LWAnimFrameAccess;
|
||
|
|
||
|
typedef struct st_LWAnimLoaderHandler {
|
||
|
LWInstanceFuncs *inst;
|
||
|
int (*frameCount) (LWInstance);
|
||
|
double (*frameRate) (LWInstance);
|
||
|
double (*aspect) (LWInstance, int *w, int *h, double *pixAspect);
|
||
|
void (*evaluate) (LWInstance, double, LWAnimFrameAccess *);
|
||
|
} LWAnimLoaderHandler;
|
||
|
|
||
|
#endif
|