maxscript/util/sceneio.h File Reference

sceneio.h File Reference
#include "mxsMaxFileVersion.h"
#include "../ScripterExport.h"
#include "../kernel/value.h"
#include "../../maxtypes.h"
#include "../../tab.h"
#include "../../ioapi.h"

Classes

class  ValueLoadCallback
 
class  ValueLoader
 
class  ValueLoadPLCB
 
class  CallbackScript
 

Macros

#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_A_CHUNK   0x0070
 
#define CALLBACKSCRIPT_W_CHUNK   0x0071
 
#define CUSTATTRIBDEF_CHUNK   0x0080
 
#define SOURCE_A_CHUNK   0x00a0
 
#define SOURCE_W_CHUNK   0x00a1
 
#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_A_Chunk, Name_A_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, String_W_Chunk, Name_W_Chunk, NoValue_Chunk,
  IntegerPtr_Chunk, Box3Value_Chunk, MXSDictionaryValue_Chunk, DataPair_Chunk,
  HIGH_CLASS_CHUNK
}
 

Functions

ScripterExport Valueload_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 []
 

Macro Definition Documentation

#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_A_CHUNK   0x0070
#define CALLBACKSCRIPT_W_CHUNK   0x0071
#define CUSTATTRIBDEF_CHUNK   0x0080
#define SOURCE_A_CHUNK   0x00a0
#define SOURCE_W_CHUNK   0x00a1
#define MCB_SCRIPT_IS_FILE   0x0001
#define MCB_PERSISTENT   0x0002
#define MCB_HAS_ID   0x0004
#define MCB_INVALID   0x0008

Typedef Documentation

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

Enumeration Type Documentation

Enumerator
Undefined_Chunk 
Boolean_Chunk 
Ok_Chunk 
Integer_Chunk 
Float_Chunk 
String_A_Chunk 
Name_A_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 
String_W_Chunk 
Name_W_Chunk 
NoValue_Chunk 
IntegerPtr_Chunk 
Box3Value_Chunk 
MXSDictionaryValue_Chunk 
DataPair_Chunk 
HIGH_CLASS_CHUNK 
42 {
54 
55  // add more here...
56 
57  HIGH_CLASS_CHUNK // must be last
58 };
Definition: sceneio.h:52
Definition: sceneio.h:45
Definition: sceneio.h:50
Definition: sceneio.h:50
Definition: sceneio.h:44
Definition: sceneio.h:53
Definition: sceneio.h:43
Definition: sceneio.h:52
Definition: sceneio.h:49
Definition: sceneio.h:48
Definition: sceneio.h:45
Definition: sceneio.h:51
Definition: sceneio.h:57
Definition: sceneio.h:46
Definition: sceneio.h:46
Definition: sceneio.h:52
Definition: sceneio.h:51
Definition: sceneio.h:43
Definition: sceneio.h:49
Definition: sceneio.h:49
Definition: sceneio.h:44
Definition: sceneio.h:43
Definition: sceneio.h:48
Definition: sceneio.h:45
Definition: sceneio.h:50
Definition: sceneio.h:53
Definition: sceneio.h:47
Definition: sceneio.h:47
Definition: sceneio.h:51
Definition: sceneio.h:46
Definition: sceneio.h:44
Definition: sceneio.h:47
Definition: sceneio.h:48

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

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