sceneio.h File Reference

#include "mxsMaxFileVersion.h"
#include "..\ScripterExport.h"
#include "..\kernel\value.h"
#include "..\..\maxtypes.h"
#include "..\..\tab.h"
#include "..\..\ioapi.h"

Go to the source code of this file.

Classes

class   ValueLoadCallback
class   ValueLoader
class   ValueLoadPLCB
class   CallbackScript

Defines

#define  OPENSCRIPT_CHUNK   0x0010
#define  SAVESCRIPT_CHUNK   0x0020
#define  PSGLOBALS_CHUNK   0x0030
#define  MSPLUGINCLASS_CHUNK   0x0040
#define  MSPLUGINCLASSHDR_CHUNK   0x0050
#define  LENGTH_CHUNK   0x0060
#define  CALLBACKSCRIPT_CHUNK   0x0070
#define  CUSTATTRIBDEF_CHUNK   0x0080
#define  SOURCE_CHUNK   0x00a0
#define  MCB_SCRIPT_IS_FILE   0x0001
#define  MCB_PERSISTENT   0x0002
#define  MCB_HAS_ID   0x0004
#define  MCB_INVALID   0x0008

Typedefs

typedef Value *(*  load_fn )(ILoad *iload, USHORT chunkID, ValueLoader *vl)

Enumerations

enum   LoadableClassID {
  Undefined_Chunk = 0, Boolean_Chunk, Ok_Chunk, Integer_Chunk,
  Float_Chunk, String_Chunk, Name_Chunk, Array_Chunk,
  Point3Value_Chunk, QuatValue_Chunk, RayValue_Chunk, AngAxisValue_Chunk,
  EulerAnglesValue_Chunk, Matrix3Value_Chunk, Point2Value_Chunk, ColorValue_Chunk,
  MSTime_Chunk, MSInterval_Chunk, MAXWrapper_Chunk, Unsupplied_Chunk,
  Struct_Chunk, Point4Value_Chunk, Empty_Chunk, Integer64_Chunk,
  DoubleValue_Chunk, HIGH_CLASS_CHUNK
}

Functions

ScripterExport Value load_value (ILoad *iload, ValueLoader *vload)
void  save_persistent_callback_scripts (ISave *isave)
IOResult  load_persistent_callback_script (ILoad *iload)

Variables

Tab< ValueLoader * >  value_loaders
Tab< CallbackScript * > *  callback_scripts []

Define Documentation

#define OPENSCRIPT_CHUNK   0x0010

Definition at line 24 of file sceneio.h.

#define SAVESCRIPT_CHUNK   0x0020

Definition at line 25 of file sceneio.h.

#define PSGLOBALS_CHUNK   0x0030

Definition at line 26 of file sceneio.h.

#define MSPLUGINCLASS_CHUNK   0x0040

Definition at line 27 of file sceneio.h.

#define MSPLUGINCLASSHDR_CHUNK   0x0050

Definition at line 28 of file sceneio.h.

#define LENGTH_CHUNK   0x0060

Definition at line 29 of file sceneio.h.

#define CALLBACKSCRIPT_CHUNK   0x0070

Definition at line 30 of file sceneio.h.

#define CUSTATTRIBDEF_CHUNK   0x0080

Definition at line 31 of file sceneio.h.

#define SOURCE_CHUNK   0x00a0

Definition at line 32 of file sceneio.h.

#define MCB_SCRIPT_IS_FILE   0x0001

Definition at line 108 of file sceneio.h.

#define MCB_PERSISTENT   0x0002

Definition at line 109 of file sceneio.h.

#define MCB_HAS_ID   0x0004

Definition at line 110 of file sceneio.h.

#define MCB_INVALID   0x0008

Definition at line 111 of file sceneio.h.


Typedef Documentation

typedef Value*(* load_fn)(ILoad *iload, USHORT chunkID, ValueLoader *vl)

Definition at line 36 of file sceneio.h.


Enumeration Type Documentation

Enumerator:
Undefined_Chunk 
Boolean_Chunk 
Ok_Chunk 
Integer_Chunk 
Float_Chunk 
String_Chunk 
Name_Chunk 
Array_Chunk 
Point3Value_Chunk 
QuatValue_Chunk 
RayValue_Chunk 
AngAxisValue_Chunk 
EulerAnglesValue_Chunk 
Matrix3Value_Chunk 
Point2Value_Chunk 
ColorValue_Chunk 
MSTime_Chunk 
MSInterval_Chunk 
MAXWrapper_Chunk 
Unsupplied_Chunk 
Struct_Chunk 
Point4Value_Chunk 
Empty_Chunk 
Integer64_Chunk 
DoubleValue_Chunk 
HIGH_CLASS_CHUNK 

Definition at line 38 of file sceneio.h.


Function Documentation

ScripterExport Value* load_value ( ILoad iload,
ValueLoader vload 
)
void save_persistent_callback_scripts ( ISave isave )
IOResult load_persistent_callback_script ( ILoad iload )

Variable Documentation