2016-05-17 03:04:11 +12:00
|
|
|
#pragma once
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
#include "toonz4.6/img.h"
|
|
|
|
#include "toonz4.6/raster.h"
|
|
|
|
//#include "toonz4.6/toonz.h"
|
|
|
|
|
|
|
|
#define IS_SLASH(C) ((C) == '/' || (C) == '\\')
|
|
|
|
#define SLASH_CHAR '/'
|
|
|
|
|
|
|
|
struct field_desc {
|
2016-06-15 18:43:10 +12:00
|
|
|
char present;
|
|
|
|
short pos, len;
|
2016-03-19 06:57:51 +13:00
|
|
|
};
|
|
|
|
|
|
|
|
struct name_desc {
|
2016-06-15 18:43:10 +12:00
|
|
|
struct field_desc path, name, frame, suffix, type;
|
2016-03-19 06:57:51 +13:00
|
|
|
};
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------
|
|
|
|
|
|
|
|
int isTTT(const char *fn);
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------
|
|
|
|
|
|
|
|
const char *strsave(const char *t);
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------
|
|
|
|
|
|
|
|
void convertParam(double param[], const char *cParam[], int cParamLen);
|