#ifndef OP_DEFLECTOR_H__
#define OP_DEFLECTOR_H__

#include "gvbase.h"

enum
{
	UD_VERSION		= 1000,
	UD_OBJECT			= 1001,
	UD_SEED				= 1002,
	UD_BOUNCE			= 1003,
	UD_BOUNCEVAR	= 1004,
	UD_SURFACE		= 1005,
	UD_CHAOS			= 1006,
	UD_FRICTION		= 1007,
	UD_VELINHERI	= 1008,
	UD_CTYPE			= 1009,
	UD_OTYPE			= 1010,
	UD_OFFSET			= 1011,
	UD_OFFSETVAR	= 1012,
	UD_EVENT			= 1013,
	UD_ENERGY			= 1014,
	UD_DTYPE			= 1015,
	UD_XSIZE			= 1016,
	UD_YSIZE			= 1017,
	UD_ZSIZE			= 1018,
	UD_RADIUS			= 1019,
	UD_SPIN				= 1020,

	UD_DTYPE_BOX		= 0,
	UD_DTYPE_SPHERE	= 1,
	UD_DTYPE_OBJECT	= 2,
	UD_DTYPE_GEOM		= 3,

	UD_CTYPE_FRONT	= 0,
	UD_CTYPE_BACK		= 1,
	UD_CTYPE_TWO		= 2,

	UD_OTYPE_NONE					= 0,
	UD_OTYPE_PSIZE_X			= 1,
	UD_OTYPE_PSIZE_Y			= 2,
	UD_OTYPE_PSIZE_Z			= 3,
	UD_OTYPE_VALUE_X			= 4,
	UD_OTYPE_VALUE_Y			= 5,
	UD_OTYPE_VALUE_Z			= 6,
	UD_OTYPE_PSIZE_TRAVEL	= 7,
	UD_OTYPE_VALUE_TRAVEL	= 8,

//Inports
	IN_UD_ON								= 2000,
	IN_UD_PARTICLE					= 2001,
	IN_UD_ATIME							= 2002,
//Outports
	OUT_UD_EVENT						= 3000,
	OUT_UD_EVENT_POSITION		= 3001,
	OUT_UD_EVENT_NORMAL			= 3002,
	OUT_UD_EVENT_REFLECTION	= 3003
};




#endif // OP_DEFLECTOR_H__
