Serious-Engine/Sources/LWSkaExporter/SDK/lwgeneric.h

30 lines
800 B
C
Raw Permalink Normal View History

2016-03-11 14:57:17 +01:00
/*
* LWSDK Header File
* Copyright 1999, NewTek, Inc.
*
* LWGENERIC.H -- LightWave Generic Commands
*/
#ifndef LWSDK_GENERIC_H
#define LWSDK_GENERIC_H
#include <lwtypes.h>
#include <lwdyna.h>
#define LWLAYOUTGENERIC_CLASS "LayoutGeneric"
#define LWLAYOUTGENERIC_VERSION 2
typedef struct st_LWLayoutGeneric {
int (*saveScene) (const char *file);
int (*loadScene) (const char *file, const char *name);
void *data;
LWCommandCode (*lookup) (void *, const char *cmdName);
int (*execute) (void *, LWCommandCode cmd, int argc,
const DynaValue *argv, DynaValue *result);
int (*evaluate) (void *, const char *command);
} LWLayoutGeneric;
#endif