28 lines
491 B
C++
28 lines
491 B
C++
|
|
#include "TRACK.h"
|
|
#include "MEDIA.h"
|
|
|
|
|
|
class DUMY_Grabber:public INPUT_IO
|
|
{
|
|
public:
|
|
int INIT (class WORLD*){return 0;};
|
|
int FRAME (void){return 0;};
|
|
int END (void){return 0;};
|
|
IOTYPE GetType() {return IOtype_DUMY;};
|
|
|
|
};
|
|
|
|
|
|
INPUT_IO *DUMY_CREATE(char *Filename)
|
|
{
|
|
INPUT_IO *Ret;
|
|
Ret = (INPUT_IO *)new(DUMY_Grabber);
|
|
strcpy((char*)Ret->MediaName,Filename);
|
|
Ret->Image.SX = 0;
|
|
Ret->Image.SY = 0;
|
|
Ret->dTotalTime = 0;
|
|
Ret->dAvgFramePerSecond = 30.0;
|
|
return (INPUT_IO *)Ret;
|
|
};
|
|
|