package de.grogra.c4d;

public class Constants
{
	public static final int SELECTION_NEW =	0;
	public static final int SELECTION_ADD =	1;
	public static final int SELECTION_SUB =	2;

	public static final int  MODE_ON =   0;
	public static final int  MODE_OFF =  1;
	public static final int  MODE_UNDEF =2;
	public static final int ID_XL_INSTANCE =  180010001;
	public static final int ID_XL_OBJECT   =  180010002;
	public static final int ID_XL_SCENE_HOOK =180010003;
	public static final int DTYPE_LONG					= 15;
	public static final int DTYPE_REAL					= 19;
	public static final int DTYPE_TIME					= 22;
	public static final int DTYPE_VECTOR				= 23;
	public static final int DTYPE_MATRIX				= 25;
	public static final int DTYPE_STRING				= 130;
	public static final int DTYPE_FILENAME			= 131;
	public static final int DTYPE_BASELISTLINK	= 133;
	public static final int DTYPE_BOOL					= 400006001;

	public static final int EXECUTE_PRIORITY = 5234;

	public static final int INSTANCEOBJECT_LINK						= 1001;
	public static final int INSTANCEOBJECT_RENDERINSTANCE = 1002;

	/*
	the following is obtained from ge_prepass.h by the command
	  sed -E -e "s/#define[[:space:]]*([^[:space:]]+)[[:space:]]+([-[:alnum:]_<>()|]+)(.*)/public static final int \1 = \2;\3/"
	and from .h-resource files by the command 
	  sed -E -e "s/^[[:space:]]*([^[:space:]]+)[[:space:]]*=[[:space:]]*([-[:alnum:]_<>()|]+),?(.*)/public static final int \1 = \2;\3/"
	*/
public static final int FILEERROR_NONE = 0; // no error
public static final int FILEERROR_OPEN = -1; // problems opening the file
public static final int FILEERROR_CLOSE = -2; // problems closing the file
public static final int FILEERROR_READ = -3; // problems reading the file
public static final int FILEERROR_WRITE = -4; // problems writing the file
public static final int FILEERROR_SEEK = -5; // problems seeking the file
public static final int FILEERROR_INVALID = -6; // invalid parameter or operation (e.g. writing in read-mode)
public static final int FILEERROR_MEMORY = -7; // not enough memory
public static final int FILEERROR_USERBREAK = -8; // user break
public static final int FILEERROR_WRONG_VALUE = -100; // other value detected than expected
public static final int FILEERROR_CHUNK_NUMBER = -102; // wrong number of chunks or sub chunks detected
public static final int FILEERROR_VALUE_NO_CHUNK = -103; // there was a value without any enclosing START/STOP chunks
public static final int FILEERROR_FILE_END = -104; // the file end was reached without finishing reading
public static final int FILEERROR_UNKNOWN_VALUE = -105; // unknown value detected

// BaseFile::Open
public static final int GE_READ = 1;
public static final int GE_WRITE = 2;
public static final int GE_APPEND = 0;
public static final int GE_READWRITE = 3;

public static final int FILE_NODIALOG = 0;
public static final int FILE_DIALOG = 1;
public static final int FILE_IGNOREOPEN = 2;


// BaseFile::Seek
public static final int GE_START = 0;
public static final int GE_RELATIVE = 2;

// BaseFile::Filer
public static final int GE_SAVE = 1;
public static final int GE_DIRECTORY = 2;

// BaseBitmap::Init
public static final int IMAGE_OK = 1;
public static final int IMAGE_NOTEXISTING = -1;
public static final int IMAGE_WRONGTYPE = -2;
public static final int IMAGE_NOMEM = -3;
public static final int IMAGE_DISKERROR = -4;
public static final int IMAGE_FILESTRUCT = -5;

// BaseBitmap::Save
public static final int FILTER_TIF = 1100;
public static final int FILTER_TGA = 1101;
public static final int FILTER_BMP = 1102;
public static final int FILTER_IFF = 1103;
public static final int FILTER_JPG = 1104;
public static final int FILTER_PICT = 1105;
public static final int FILTER_PSD = 1106;
public static final int FILTER_RLA = 1107;
public static final int FILTER_RPF = 1108;
public static final int FILTER_B3D = 1109;
public static final int FILTER_TIF_B3D = 1110;
public static final int FILTER_AVI_SMALL = 1120;
public static final int FILTER_AVI_BIG = 1121;
public static final int FILTER_AVI_USER = 1122;
public static final int FILTER_MOVIE_SMALL = 1123;
public static final int FILTER_MOVIE_BIG = 1124;
public static final int FILTER_MOVIE_USER = 1125;
public static final int FILTER_QTVRSAVER_PANORAMA = 1150;
public static final int FILTER_QTVRSAVER_OBJECT = 1151;
public static final int FILTER_HDR = 1001379;

public static final int AVISAVER_FCCTYPE = 10000;
public static final int AVISAVER_FCCHANDLER = 10001;
public static final int AVISAVER_LKEY = 10002;
public static final int AVISAVER_LDATARATE = 10003;
public static final int AVISAVER_LQ = 10004;

public static final int QTSAVER_COMPRESSOR = 10010;
public static final int QTSAVER_QUALITY = 10011;
public static final int QTSAVER_TEMPQUAL = 10012;
public static final int QTSAVER_FRAMERATE = 10013;
public static final int QTSAVER_KEYFRAMES = 10014;
public static final int QTSAVER_PLANES = 10015;
public static final int QTSAVER_DATARATE = 10016;
public static final int QTSAVER_FRAMEDURATION = 10017;
public static final int QTSAVER_MINQUALITY = 10018;
public static final int QTSAVER_MINTEMPQUAL = 10019;
public static final int QTSAVER_FIXEDFRAMERATE = 10020;

public static final int JPGSAVER_QUALITY = 10021;
public static final int IMAGESAVER_DPI = 10022;
public static final int RLA_OPTIONS = 10024;
public static final int PSD_PS7SUPPORT = 10025;

public static final int RLA_Z = (1<<0);
public static final int RLA_OBJECTBUFFER = (1<<2);
public static final int RLA_UV = (1<<3);
public static final int RLA_NORMAL = (1<<4);
public static final int RLA_ORIGCOLOR = (1<<5);
public static final int RLA_COVERAGE = (1<<6);
public static final int RLA_OBJECTID = (1<<8);
public static final int RLA_COLOR = (1<<9);
public static final int RLA_TRANSPARENCY = (1<<10);
public static final int RLA_SUBPIXEL_WEIGHT = (1<<12);
public static final int RLA_SUBPIXEL_MASK = (1<<13);

// savebits
public static final int SAVEBIT_ALPHA = (1<<0);
public static final int SAVEBIT_MULTILAYER = (1<<1);
public static final int SAVEBIT_USESELECTEDLAYERS = (1<<2);
public static final int SAVEBIT_16BITCHANNELS = (1<<3);
public static final int SAVEBIT_GREYSCALE = (1<<4);
public static final int SAVEBIT_32BITCHANNELS = (1<<8);

// GeGetCurrentOS
public static final int GE_WIN = 1;
public static final int GE_MAC = 2;
public static final int GE_UNIX = 3;

// GeGetByteOrder
public static final int GE_MOTOROLA = 1;
public static final int GE_INTEL = 2;

// GeOutString
public static final int GEMB_OK = 0x0000;
public static final int GEMB_OKCANCEL = 0x0001;
public static final int GEMB_ABORTRETRYIGNORE = 0x0002;
public static final int GEMB_YESNOCANCEL = 0x0003;
public static final int GEMB_YESNO = 0x0004;
public static final int GEMB_RETRYCANCEL = 0x0005;

public static final int GEMB_ICONSTOP = 0x0010;
public static final int GEMB_ICONQUESTION = 0x0020;
public static final int GEMB_ICONEXCLAMATION = 0x0030;
public static final int GEMB_ICONASTERISK = 0x0040;
public static final int GEMB_MULTILINE = 0x0080;

public static final int GEMB_R_OK = 1;
public static final int GEMB_R_CANCEL = 2;
public static final int GEMB_R_ABORT = 3;
public static final int GEMB_R_RETRY = 4;
public static final int GEMB_R_IGNORE = 5;
public static final int GEMB_R_YES = 6;
public static final int GEMB_R_NO = 7;

// result code for mousedrag...
public static final int MOUSEDRAG_ESCAPE = (1);
public static final int MOUSEDRAG_FINISHED = (2);
public static final int MOUSEDRAG_CONTINUE = (3);

// flags for mousedrag...
public static final int MOUSEDRAG_DONTHIDEMOUSE = (1<<0);				// mousepointer should be visible
public static final int MOUSEDRAG_NOMOVE = (1<<1);				// mousedrag returns if no mousemove was done
public static final int MOUSEDRAG_EVERYPACKET = (1<<2);				// receive every packet of the queue, otherwise only data of the last packet

// BaseChannel::InitTexture
public static final int LOAD_OK = 0;
public static final int LOAD_NOMEM = -100;
public static final int LOAD_NOTFOUND = -101;
public static final int LOAD_UNKNOWN = -102;
public static final int LOAD_DOUBLENAME = -105;

// hyperfile values
public static final int HFILE_START = 1;
public static final int HFILE_STOP = 2;
public static final int HFILE_CSTOP = 3;
public static final int HFILE_CHAR = 11;
public static final int HFILE_UCHAR = 12;
public static final int HFILE_WORD = 13;
public static final int HFILE_UWORD = 14;
public static final int HFILE_LONG = 15;
public static final int HFILE_ULONG = 16;
public static final int HFILE_LLONG = 17;
public static final int HFILE_LULONG = 18;
public static final int HFILE_REAL = 19;
public static final int HFILE_LREAL = 20;
public static final int HFILE_BOOL = 21;
public static final int HFILE_TIME = 22;
public static final int HFILE_VECTOR = 23;
public static final int HFILE_LVECTOR = 24;
public static final int HFILE_MATRIX = 25;
public static final int HFILE_LMATRIX = 26;

// spline type
public static final int Tlinear = 0;
public static final int Tcubic = 1;
public static final int Takima = 2;
public static final int Tbspline = 3;
public static final int Thermite = 4;

// spline interpolation
public static final int Inone = 0;
public static final int Inatural = 1;
public static final int Iuniform = 2;
public static final int Iadaptive = 3;
public static final int Isubdiv = 4;

// particle bits
public static final int PARTICLE_VISIBLE = (1<<0);
public static final int PARTICLE_ALIVE = (1<<1);

///////////////////bits/////////////////////

// baselist bits
public static final int BIT_ACTIVE = (1<<1); // active element
public static final int BIT_AAMAN = (1<<4); // depricated: DON¥T USE ANY MORE !!!
public static final int BIT_AFOLD = (1<<7); // folded in timeline

// baselist bits nach neuer definition
public static final int NBIT_TL1_FOLD = 1;
public static final int NBIT_TL2_FOLD = 2;
public static final int NBIT_TL3_FOLD = 3;
public static final int NBIT_TL4_FOLD = 4;

public static final int NBIT_TL1_SELECT = 5;
public static final int NBIT_TL2_SELECT = 6;
public static final int NBIT_TL3_SELECT = 7;
public static final int NBIT_TL4_SELECT = 8;

public static final int NBIT_TL1_TDRAW = 9;
public static final int NBIT_TL2_TDRAW = 10;
public static final int NBIT_TL3_TDRAW = 11;
public static final int NBIT_TL4_TDRAW = 12;

public static final int NBIT_CKEY_ACTIVE = 13; // active point of animation path in editor

public static final int NBIT_OM1_FOLD = 14; 
public static final int NBIT_OM2_FOLD = 15; 
public static final int NBIT_OM3_FOLD = 16; 
public static final int NBIT_OM4_FOLD = 17; 

//defines if the tracks if the object are shown
public static final int NBIT_TL1_FOLDTR = 18;
public static final int NBIT_TL2_FOLDTR = 19;
public static final int NBIT_TL3_FOLDTR = 20;
public static final int NBIT_TL4_FOLDTR = 21;

public static final int NBIT_TL1_FOLDFC = 22;
public static final int NBIT_TL2_FOLDFC = 23;
public static final int NBIT_TL3_FOLDFC = 24;
public static final int NBIT_TL4_FOLDFC = 25;

public static final int NBIT_SOURCEOPEN = 26;

public static final int NBIT_TL1_HIDE = 27;
public static final int NBIT_TL2_HIDE = 28;
public static final int NBIT_TL3_HIDE = 29;
public static final int NBIT_TL4_HIDE = 30;

public static final int NBIT_SOLO_ANIM = 31;
public static final int NBIT_SOLO_LAYER = 32;

public static final int NBIT_TL1_SELECT2 = 33;
public static final int NBIT_TL2_SELECT2 = 34;
public static final int NBIT_TL3_SELECT2 = 35;
public static final int NBIT_TL4_SELECT2 = 36;

//cat added for solo motion layer
public static final int NBIT_SOLO_MOTION = 37;

public static final int NBIT_CKEY_LOCK_T = 38;
public static final int NBIT_CKEY_LOCK_V = 39;
public static final int NBIT_CKEY_MUTE = 40;
public static final int NBIT_CKEY_CLAMP = 41;

public static final int NBIT_CKEY_BREAK = 42;
public static final int NBIT_CKEY_LOCK_O = 44;
public static final int NBIT_CKEY_LOCK_L = 45;
public static final int NBIT_CKEY_AUTO = 46;
public static final int NBIT_CKEY_ZERO_O = 48;
public static final int NBIT_CKEY_ZERO_L = 49;

public static final int NBIT_TL1_FCSELECT = 50;
public static final int NBIT_TL2_FCSELECT = 51;
public static final int NBIT_TL3_FCSELECT = 52;
public static final int NBIT_TL4_FCSELECT = 53;

public static final int NBIT_CKEY_BREAKDOWN = 54;

//Cat added for motion TL
public static final int NBIT_TL1_FOLDMOTION = 55;
public static final int NBIT_TL2_FOLDMOTION = 56;
public static final int NBIT_TL3_FOLDMOTION = 57;
public static final int NBIT_TL4_FOLDMOTION = 58;

//Cat added for motion TL
public static final int NBIT_TL1_SELECTMOTION = 59;
public static final int NBIT_TL2_SELECTMOTION = 60;
public static final int NBIT_TL3_SELECTMOTION = 61;
public static final int NBIT_TL4_SELECTMOTION = 62;

// for David, hiding objects in OM
public static final int NBIT_OHIDE = 63;  // Hide object in OM
public static final int NBIT_TL_TBAKE = 64;


// materials
public static final int BIT_MATMARK = (1<<2); // marked material
public static final int BIT_ENABLEPAINT = (1<<3); // enable painting
public static final int BIT_MFOLD = (1<<6); // folded in material manager
public static final int BIT_BP_FOLDLAYERS = (1<<9); // fold layers in materialmanger

// objects
public static final int BIT_IGNOREDRAW = (1<<2); // ignore object during draw
public static final int BIT_OFOLD = (1<<6); // folded in object manager
public static final int BIT_CONTROLOBJECT = (1<<9); // control object
public static final int BIT_RECMARK = (1<<11);// help bit for recursive operations
public static final int BIT_EDITOBJECT = (1<<13);	// edit object from sds

// tracks
public static final int BIT_TRACKPROCESSED = (1<<16); // track has been processed, avoid recursions
public static final int BIT_ANIM_OFF = (1<<17); // is sequence inactive
public static final int BIT_ANIM_SOLO = (1<<18); 

// videopost
public static final int BIT_VPDISABLED = (1<<2); // videopost effect is disabled

// document
public static final int BIT_DOCUMENT_CHECKREWIND = (1<<2);	// doc needs to check for a rewind

// renderdata
public static final int BIT_ACTIVERENDERDATA = (1<<28);

// object info
public static final int OBJECT_MODIFIER = (1<<0);
public static final int OBJECT_HIERARCHYMODIFIER = (1<<1);
public static final int OBJECT_GENERATOR = (1<<2);
public static final int OBJECT_INPUT = (1<<3);
public static final int OBJECT_PARTICLEMODIFIER = (1<<5);
public static final int OBJECT_NOCACHESUB = (1<<6);
public static final int OBJECT_ISSPLINE = (1<<7);
public static final int OBJECT_UNIQUEENUMERATION = (1<<8);
public static final int OBJECT_CAMERADEPENDENT = (1<<9);
public static final int OBJECT_USECACHECOLOR = (1<<10);
public static final int OBJECT_POINTOBJECT = (1<<11);
public static final int OBJECT_POLYGONOBJECT = (1<<12);
public static final int OBJECT_NO_PLA = (1<<13);


// animation info
public static final int ANIMINFO_QUICK = (1<<0);

// material groups
public static final int MATERIALGROUP_ID = 100;
public static final int MATERIALGROUP_NAME = 101;
public static final int MATERIALGROUP_SELECTED = 102;

///////////////////ID's/////////////////////

// list elements
public static final int Tbaselist2d = 110050;
public static final int Tbaselist4d = 110051;
public static final int Tundoablelist = 110068;
public static final int Tgelistnode = 110069;

// materials
public static final int Mbase = 5702;
public static final int Mmaterial = 5703;
public static final int Mplugin = 5705;
public static final int Mfog = 8803;
public static final int Mterrain = 8808;
public static final int Mdanel = 1011117;
public static final int Mbanji = 1011118;
public static final int Mbanzi = 1011119;
public static final int Mcheen = 1011120;
public static final int Mmabel = 1011121;
public static final int Mnukei = 1011122;

// videopost
public static final int VPbase = 5709;

// objects
public static final int Opolygon = 5100;
public static final int Ospline = 5101;
public static final int Olight = 5102;
public static final int Ocamera = 5103;
public static final int Ofloor = 5104;
public static final int Osky = 5105;
public static final int Oenvironment = 5106;
public static final int Oloft = 5107;
public static final int Offd = 5108;
public static final int Oparticle = 5109;
public static final int Odeflector = 5110;
public static final int Ogravitation = 5111;
public static final int Orotation = 5112;
public static final int Owind = 5113;
public static final int Ofriction = 5114;
public static final int Oturbulence = 5115;
public static final int Oextrude = 5116;
public static final int Olathe = 5117;
public static final int Osweep = 5118;
public static final int Oattractor = 5119;
public static final int Obezier = 5120;
public static final int Oforeground = 5121;
public static final int Obackground = 5122;
public static final int Obone = 5123;
public static final int Odestructor = 5124;
public static final int Ometaball = 5125;
public static final int Oinstance = 5126;
public static final int Ohypernurbs = 5127;
public static final int Obend = 5128;
public static final int Obulge = 5129;
public static final int Oshear = 5131;
public static final int Otaper = 5133;
public static final int Otwist = 5134;
public static final int Owave = 5135;
public static final int Ostage = 5136;
public static final int Oline = 5137;
public static final int Omicrophone = 5138;
public static final int Oloudspeaker = 5139;
public static final int Onull = 5140;
public static final int Osymmetry = 5142;
public static final int Owrap = 5143;
public static final int Oboole = 1010865;
public static final int Oexplosion = 5145;
public static final int Oformula = 5146;
public static final int Omelt = 5147;
public static final int Oshatter = 5148;
public static final int Owinddeform = 5149;
public static final int Oarray = 5150;
public static final int Oheadphone = 5151;
public static final int Oconplane = 5153;
public static final int Oplugin = 5154;
public static final int Obase = 5155;
public static final int Opoint = 5156;
public static final int Obasedeform = 5157;
public static final int Opolyreduction = 1001253;
public static final int Oshowdisplacement = 1001196;
public static final int Ojoint = 1019362;
public static final int Oskin = 1019363;
public static final int Oweighteffector = 1019677;

// primitive objects
public static final int Ocube = 5159;
public static final int Osphere = 5160;
public static final int Oplatonic = 5161;
public static final int Ocone = 5162;
public static final int Otorus = 5163;
public static final int Odisc = 5164;
public static final int Otube = 5165;
public static final int Ofigure = 5166;
public static final int Opyramid = 5167;
public static final int Oplane = 5168;
public static final int Ofractal = 5169;
public static final int Ocylinder = 5170;
public static final int Ocapsule = 5171;
public static final int Ooiltank = 5172;
public static final int Orelief = 5173;
public static final int Osinglepoly = 5174;

// spline primitive objects
public static final int Osplineprofile = 5175;
public static final int Osplineflower = 5176;
public static final int Osplineformula = 5177;
public static final int Osplinetext = 5178;
public static final int Osplinenside = 5179;
public static final int Ospline4side = 5180;
public static final int Osplinecircle = 5181;
public static final int Osplinearc = 5182;
public static final int Osplinecissoid = 5183;
public static final int Osplinecycloid = 5184;
public static final int Osplinehelix = 5185;
public static final int Osplinerectangle = 5186;
public static final int Osplinestar = 5187;
public static final int Osplinecogwheel = 5188;
public static final int Osplinecontour = 5189;

public static final int Oselection = 5190;
public static final int Osds = 1007455;
public static final int Osplinedeformer = 1008982;
public static final int Osplinerail = 1008796;
public static final int Oatomarray = 1001002;
public static final int Ospherify = 1001003;
public static final int Oexplosionfx = 1002603;

// small listnode plugin
public static final int Yplugin = 110061;

// big listnode plugin
public static final int Zplugin = 110062;

// DLayerStruct object
public static final int Olayer = 100004801;

// listhead
public static final int ID_LISTHEAD = 110063;

// render data
public static final int ID_RENDERDATA = 110304;
public static final int Rbase = ID_RENDERDATA;

public static final int MY_ACTIVE = (1<<29);


// shader plugins
public static final int Xbase = 5707;
public static final int Xcolor = 5832;
public static final int Xbitmap = 5833;
public static final int Xbrick = 5804;
public static final int Xcheckerboard = 5800;
public static final int Xcloud = 5802;
public static final int Xcolorstripes = 5822;
public static final int Xcyclone = 5821;
public static final int Xearth = 5825;
public static final int Xfire = 5803;
public static final int Xflame = 5817;
public static final int Xgalaxy = 5813;
public static final int Xmetal = 5827;
public static final int Xsimplenoise = 5807;
public static final int Xrust = 5828;
public static final int Xstar = 5816;
public static final int Xstarfield = 5808;
public static final int Xsunburst = 5820;
public static final int Xsimpleturbulence = 5806;
public static final int Xvenus = 5826;
public static final int Xwater = 5818;
public static final int Xwood = 5823;
public static final int Xplanet = 5829;
public static final int Xmarble = 5830;
public static final int Xspectral = 5831;
public static final int Xgradient = 1011100;
public static final int Xfalloff = 1011101;
public static final int Xtiles = 1011102;
public static final int Xfresnel = 1011103;
public static final int Xlumas = 1011105;
public static final int Xproximal = 1011106;
public static final int Xnormaldirection = 1011107;
public static final int Xtranslucency = 1011108;
public static final int Xfusion = 1011109;
public static final int Xposterizer = 1011111;
public static final int Xcolorizer = 1011112;
public static final int Xdistorter = 1011114;
public static final int Xprojector = 1011115;
public static final int Xnoise = 1011116;
public static final int Xlayer = 1011123;
public static final int Xspline = 1011124;
public static final int Xfilter = 1011128;
public static final int Xripple = 1011199;
public static final int Xdirt = 1011136;
public static final int Xvertexmap = 1011137;
public static final int Xsss = 1001197;
public static final int Xambientocclusion = 1001191;
public static final int Xchanlum = 1007539;
public static final int Xmosaic = 1022119;

// tags
public static final int Tpoint = 5600;
public static final int Tanchor = 5608;
public static final int Tphong = 5612;
public static final int Tdisplay = 5613;
public static final int Tkinematic = 5614;
public static final int Ttexture = 5616;
public static final int Thermite2d = 5617;
public static final int Tprotection = 5629;
public static final int Tparticle = 5630;
public static final int Tmotionblur = 5636;
public static final int Tcompositing = 5637;
public static final int Twww = 5647;
public static final int Tsavetemp = 5650;
public static final int Tpolygon = 5604;
public static final int Tuvw = 5671;
public static final int Tsegment = 5672;
public static final int Tpolygonselection = 5673;
public static final int Tpointselection = 5674;
public static final int Tcoffeeexpression = 5675;
public static final int Ttargetexpression = 5676;
public static final int Tfixexpression = 5677;
public static final int Tsunexpression = 5678;
public static final int Tikexpression = 5679;
public static final int Tline = 5680;
public static final int Tvertexmap = 5682;
public static final int Trestriction = 5683;
public static final int Tmetaball = 5684;
public static final int Tbakeparticle = 5685;
public static final int Tmorph = 5689;
public static final int Tsticktexture = 5690;
public static final int Tplugin = 5691;
public static final int Tstop = 5693;
public static final int Tbase = 5694;
public static final int Tvariable = 5695;
public static final int Tvibrate = 5698;
public static final int Taligntospline = 5699;
public static final int Taligntopath = 5700;
public static final int Tedgeselection = 5701;
public static final int Tclaudebonet = 5708;
public static final int Tnormal = 5711;
public static final int Tcorner = 5712;
public static final int Tsds = 1007579;
public static final int Tlookatcamera = 1001001;
public static final int Texpresso = 1001149;
public static final int Tsoftselection = 1016641;
public static final int Tbaketexture = 1011198;
public static final int Tsdsdata = 1018016;
public static final int Tweights = 1019365;

// new anim system
public static final int CTbase = 5350;	// new anim system
public static final int CSbase = 5351;
public static final int CKbase = 5352;

// new nla system
public static final int NLAbase = 5349;	


public static final int CTpla = 100004812;
public static final int CTsound = 100004813;
public static final int CTp2p = 100001744;
public static final int CTmorph = 100004822;
public static final int CTtime = -1;

public static final int GVbase = 1001101;

// modeling commands
public static final int MCOMMAND_SPLINE_HARDINTERPOLATION = 100;
public static final int MCOMMAND_SPLINE_SOFTINTERPOLATION = 101;
public static final int MCOMMAND_SPLINE_REORDER = 102;
public static final int MCOMMAND_SPLINE_REVERSE = 103;
public static final int MCOMMAND_SPLINE_MOVEDOWN = 104;
public static final int MCOMMAND_SPLINE_MOVEUP = 105;
public static final int MCOMMAND_SPLINE_JOINSEGMENT = 109;
public static final int MCOMMAND_SPLINE_BREAKSEGMENT = 110;
public static final int MCOMMAND_SPLINE_EQUALLENGTH = 111;
public static final int MCOMMAND_SPLINE_EQUALDIRECTION = 112;
public static final int MCOMMAND_SPLINE_LINEUP = 113;
public static final int MCOMMAND_SPLINE_CREATEOUTLINE = 114;
public static final int MCOMMAND_SPLINE_PROJECT = 115;
public static final int MCOMMAND_SPLINE_ADDPOINT = 116;
public static final int MCOMMAND_SELECTALL = 200;
public static final int MCOMMAND_DESELECTALL = 201;
public static final int MCOMMAND_SELECTINVERSE = 202;
public static final int MCOMMAND_SELECTCONNECTED = 203;
public static final int MCOMMAND_SELECTGROW = 204;
public static final int MCOMMAND_SELECTSHRINK = 205;
public static final int MCOMMAND_SELECTPOINTTOPOLY = 206;
public static final int MCOMMAND_SELECTPOLYTOPOINT = 207;
public static final int MCOMMAND_SELECTADJACENT = 208;
public static final int MCOMMAND_GENERATESELECTION = 209;
public static final int MCOMMAND_HIDESELECTED = 211;
public static final int MCOMMAND_HIDEUNSELECTED = 212;
public static final int MCOMMAND_HIDEINVERT = 213;
public static final int MCOMMAND_UNHIDE = 214;
public static final int MCOMMAND_REVERSENORMALS = 217;
public static final int MCOMMAND_ALIGNNORMALS = 218;
public static final int MCOMMAND_SPLIT = 220;
public static final int MCOMMAND_TRIANGULATE = 221;
public static final int MCOMMAND_UNTRIANGULATE = 222;
public static final int MCOMMAND_DELETE = 224;
public static final int MCOMMAND_OPTIMIZE = 227;
public static final int MCOMMAND_DISCONNECT = 228;
public static final int MCOMMAND_MAKEEDITABLE = 230;
public static final int MCOMMAND_MIRROR = 237;
public static final int MCOMMAND_MATRIXEXTRUDE = 238;
public static final int MCOMMAND_SUBDIVIDE = 242;
public static final int MCOMMAND_EXPLODESEGMENTS = 243;
public static final int MCOMMAND_KNIFE = 244;
public static final int MCOMMAND_CURRENTSTATETOOBJECT = 245;
public static final int MCOMMAND_JOIN = 246;
public static final int MCOMMAND_CONVERTSELECTION = 247;
public static final int MCOMMAND_EDGE_TO_SPLINE = 251;
public static final int MCOMMAND_BREAKPHONG = 255;
public static final int MCOMMAND_UNBREAKPHONG = 256;
public static final int MCOMMAND_PHONGTOSELECTION = 257;
public static final int MCOMMAND_MELT = 264;
public static final int MCOMMAND_RESETSYSTEM = 265;

// tool settings for selection commands
public static final int MDATA_SPLINE_FREEHANDTOLERANCE = 2020; // REAL
public static final int MDATA_SPLINE_OUTLINE = 2021; // REAL
public static final int MDATA_SPLINE_PROJECTMODE = 2022; // LONG
public static final int MDATA_SPLINE_ADDPOINTSEGMENT = 2023; // LONG
public static final int MDATA_SPLINE_ADDPOINTPOSITION = 2024; // REAL
public static final int MDATA_DISCONNECT_PRESERVEGROUPS = 2028; // BOOL
public static final int MDATA_MIRROR_SNAPPOINTS = 2069; // BOOL
public static final int MDATA_MIRROR_DUPLICATE = 2070; // BOOL
public static final int MDATA_MIRROR_WELD = 2071; // BOOL
public static final int MDATA_MIRROR_TOLERANCE = 2072; // REAL
public static final int MDATA_MIRROR_SYSTEM = 2067; // LONG
public static final int MDATA_MIRROR_PLANE = 2068; // LONG
public static final int MDATA_MIRROR_VALUE = 2073; // REAL
public static final int MDATA_MIRROR_POINT = 2074; // VECTOR
public static final int MDATA_MIRROR_VECTOR = 2075; // VECTOR
public static final int MDATA_OPTIMIZE_TOLERANCE = 2076; // REAL
public static final int MDATA_OPTIMIZE_POINTS = 2077; // BOOL
public static final int MDATA_OPTIMIZE_POLYGONS = 2078; // BOOL
public static final int MDATA_OPTIMIZE_UNUSEDPOINTS = 2079; // BOOL
public static final int MDATA_SPLINE_OUTLINESEPARATE = 2080; // BOOL
public static final int MDATA_CROSSSECTION_ANGLE = 2082; // REAL
public static final int MDATA_SUBDIVIDE_HYPER = 2098; // BOOL
public static final int MDATA_SUBDIVIDE_ANGLE = 2099; // REAL
public static final int MDATA_SUBDIVIDE_SPLINESUB = 2100; // LONG
public static final int MDATA_SUBDIVIDE_SUB = 2101; // LONG
public static final int MDATA_MIRROR_SELECTIONS = 2120; // BOOL
public static final int MDATA_UNTRIANGULATE_ANGLE = 2121; // BOOL
public static final int MDATA_MIRROR_ONPLANE = 2122; // BOOL
public static final int MDATA_CONVERTSELECTION_LEFT = 2126; // LONG
public static final int MDATA_CONVERTSELECTION_RIGHT = 2127; // LONG
public static final int MDATA_CONVERTSELECTION_TOLERANT = 2128; // BOOL
public static final int MDATA_CURRENTSTATETOOBJECT_INHERITANCE = 2140; // BOOL
public static final int MDATA_CURRENTSTATETOOBJECT_KEEPANIMATION = 2141; // BOOL
public static final int MDATA_ROTATECAMERA = 2142; // BOOL
public static final int MDATA_RING_EDGE = 2154; // LONG
public static final int MDATA_RING_SELECTION = 2155; // LONG (must be SELECTION_NEW, SELECTION_ADD or SELECTION_SUB)
public static final int MDATA_RING_SKIP = 2156; // LONG
public static final int MDATA_FILLSEL_START_POLY = 2157; // LONG
public static final int MDATA_FILLSEL_SELECTION = 2158; // LONG (must be SELECTION_NEW, SELECTION_ADD or SELECTION_SUB)
public static final int MDATA_OUTLINESEL_START_POLY = 2159; // LONG
public static final int MDATA_OUTLINESEL_SELECTION = 2160; // LONG (must be SELECTION_NEW, SELECTION_ADD or SELECTION_SUB)
public static final int MDATA_UNTRIANGULATE_NGONS = 2143; // BOOL
public static final int MDATA_UNTRIANGULATE_ANGLE_RAD = 2161; // REAL
public static final int MDATA_CURRENTSTATETOOBJECT_NOGENERATE = 2162; // BOOL
public static final int MDATA_RESETSYSTEM_NORM = 2163; // BOOL
public static final int MDATA_RESETSYSTEM_ORTHO = 2164; // BOOL
public static final int MDATA_RESETSYSTEM_COMPENSATE = 2165; // BOOL
public static final int MDATA_RESETSYSTEM_RECURSIVE = 2166; // BOOL

public static final int MDATA_SETVERTEX_VALUE = 4000; // REAL
public static final int MDATA_SETVERTEX_MODE = 4001; // LONG


// world preferences
public static final int WPREF_UNITS_BASIC = 10000; // LONG
public static final int WPREF_UNITS_TIME = 10001; // LONG
public static final int OBSOLETE_WPREF_UNITS_COLOR = 10002; // LONG
public static final int WPREF_UNITS_USEUNITS = 10003; // BOOL
public static final int WPREF_REFRESHTIME = 10004; // LONG
public static final int WPREF_RATIO_X = 10005; // REAL
public static final int WPREF_RATIO_Y = 10006; // REAL

public static final int WPREF_HPB_SYSTEM = 1001; // BOOL
public static final int WPREF_CENTER = 1002; // BOOL
public static final int WPREF_BACKUP = 1003; // BOOL
public static final int WPREF_RENDERMATS_EX = 1004; // BOOL
public static final int WPREF_TABLET = 1005; // BOOL
public static final int WPREF_OPENGL = 1008; // BOOL
public static final int WPREF_LINK_SELECTION = 1009; // BOOL
public static final int WPREF_ONLY_ACTIVEVIEW = 1010; // BOOL
public static final int WPREF_SAVE_OPENGL = 1012; // BOOL
public static final int WPREF_SAVE_PARTICLES = 1013; // BOOL
public static final int WPREF_SAVE_LAYOUT = 1014; // BOOL
public static final int WPREF_DELETEATQUADS = 1015; // BOOL
public static final int WPREF_INSERTAT = 1016; // LONG
public static final int WPREF_PASTEAT = 1017; // LONG
public static final int WPREF_MAX_UNDOS = 1018; // LONG
public static final int WPREF_MAX_LAST = 1019; // LONG
public static final int WPREF_CAMERAROTATION = 1020; // LONG
public static final int WPREF_MULTISPLINEDRAW = 1021; // BOOL

public static final int WPREF_OPENGL_AA_LINES = 1023; // BOOL
public static final int WPREF_OPENGL_PERSPECT = 1024; // BOOL
public static final int WPREF_OPENGL_TEXTURE_FILTERING = 1025; // LONG (formerly _MIPMAP which was wrong)
	public static final int WPREF_OPENGL_TEXTURE_FILTERING_NEAREST = 0;
	public static final int WPREF_OPENGL_TEXTURE_FILTERING_LINEAR = 1;
	public static final int WPREF_OPENGL_TEXTURE_FILTERING_LINEAR_MIPMAP = 2;
public static final int WPREF_USE_TEXTURES = 1026; // BOOL
public static final int WPREF_OPENGL_FASTREDRAW = 1027; // BOOL
public static final int WPREF_OPENGL_FASTLIVESELECTION = 1028; // BOOL
public static final int WPREF_USE_QUICKTIME = 1029; // BOOL
public static final int WPREF_TABLET_HIRES = 1030; // BOOL
public static final int WPREF_3DGRID = 1032; // Bool: draw grid lines as 3d?
public static final int WPREF_OPENGL_POLYLINES = 1034; // Bool: use polylines
public static final int WPREF_OPENGL_LIGHTING = 1035; // Bool: use opengl lighting
public static final int WPREF_OPENGL_DUALPLANES_ACTIVE = 1036; // Bool: allow dualplanes in glmode (gl extension)
public static final int WPREF_OPENGL_GLPOINTS = 1037; // Bool: allow real gl points
public static final int WPREF_OPENGL_HIGHENDSHADING = 1038; // Bool
public static final int WPREF_ONLY_ACTIVEVIEW_ANIMATION = 1039; // Bool
public static final int WPREF_REALTIMESPINNER = 1040; // BOOL
public static final int WPREF_REALTIMEMANAGER = 1042; // BOOL
public static final int WPREF_MAX_BACKUP = 1043; // LONG
public static final int WPREF_CENTERAXIS = 1044; // BOOL
public static final int WPREF_REWIND = 1045; // BOOL
public static final int WPREF_CPUCOUNT = 30010; // LONG
public static final int WPREF_OPENGL_DUALPLANES_ARB = 1047; // Bool: use dualplane ARB extension
public static final int WPREF_MATPREVIEW_DEFAULTSIZE = 1048; // LONG
public static final int WPREF_DESCRIPTIONLIMIT = 1049; // LONG
public static final int WPREF_MATPREVIEW_DEFAULTOBJECT_MAT = 1050; // LONG
public static final int WPREF_MATPREVIEW_DEFAULTUSERSCENE_MAT = 1051; // String
public static final int WPREF_MATPREVIEW_DEFAULTOBJECT_SHD = 1052; // LONG
public static final int WPREF_MATPREVIEW_DEFAULTUSERSCENE_SHD = 1053; // String
public static final int WPREF_MATPREVIEW_AUTO_UPDATE = 1054; // Bool
public static final int WPREF_MATPREVIEW_REDRAW_TIME = 1055; // LONG: max. redraw time in ms
public static final int WPREF_MATPREVIEW_FPS = 1056; // LONG
public static final int WPREF_MATPREVIEW_LENGTH = 1057; // Real
public static final int WPREF_MATPREVIEW_MAX_MEM = 1058; // LONG
public static final int WPREF_SUBPIXELLIMIT = 1062; // LONG
public static final int WPREF_OPENGL_BACKIMAGEMODE = 1063; // LONG: use opengl lighting
	public static final int OGL_SET_BACKIMAGEMODE_OLD = 0;
	public static final int OGL_SET_BACKIMAGEMODE_TEX_NEAREST = 1;
	public static final int OGL_SET_BACKIMAGEMODE_TEX_INTERPOL = 2;
public static final int WPREF_OPENGL_ROTATEQUADS = 1064; // BOOL: rotate quads 90 degree to get another subdivision
public static final int WPREF_OPENGL_SHAREDLISTS = 1065;
public static final int WPREF_OPENGL_DUALPLANES_HIGHLIGHT = 1066; // Bool: allow dualplanes in glmode (gl extension)
public static final int WPREF_VIEWGAMMA = 1067; // REAL
public static final int WPREF_ALLOWBUGREPORTS = 1068; // Bool
public static final int WPREF_OPENGL_HIGHQUALITY = 1069; // BOOL
public static final int WPREF_OPENGL_COMPILER = 1070; // LONG
	public static final int WPREF_OPENGL_COMPILER_GLSL = 0;
	public static final int WPREF_OPENGL_COMPILER_CG = 1;
public static final int WPREF_OPENGL_MAX_TRANS_DEPTH = 1071; // LONG
public static final int WPREF_OPENGL_MAX_LIGHTS = 1072; // LONG
public static final int WPREF_OPENGL_MAX_SHADOWS = 1073; // LONG
public static final int WPREF_SAVE_CACHES = 1074; // BOOL
public static final int WPREF_OPENGL_ANTIALIAS = 1084; // LONG
public static final int WPREF_OPENGL_MULTITHREADED = 1085; // Bool

public static final int WPREF_MOVEACCELERATION = 1081; // REAL
public static final int WPREF_SCALEACCELERATION = 1082; // REAL
public static final int WPREF_ROTATEACCELERATION = 1083; // REAL

public static final int WPREF_COLOR_SYSTEM_C4D = 1100; // LONG
public static final int WPREF_COLOR_SYSTEM_BP = 1101; // LONG
	public static final int COLORSYSTEM_HSVTAB = 22;
	public static final int COLORSYSTEM_TABLE = 30;
	public static final int COLORSYSTEM_RGB = 10;
	public static final int COLORSYSTEM_RGB_COLOR = 11;
	public static final int COLORSYSTEM_HSV = 20;
	public static final int COLORSYSTEM_HSV_COLOR = 21;
public static final int WPREF_COLOR_RGBRANGE = 1102; // LONG
public static final int WPREF_COLOR_HRANGE = 1103; // LONG
public static final int WPREF_COLOR_SVRANGE = 1104; // LONG
	public static final int COLORSYSTEM_RANGE_PERCENT = 0;
	public static final int COLORSYSTEM_RANGE_DEGREE = 3;
	public static final int COLORSYSTEM_RANGE_255 = 1;
	public static final int COLORSYSTEM_RANGE_65535 = 2;
public static final int WPREF_COLOR_QUICK_C4D = 1105;
public static final int WPREF_COLOR_QUICK_BP = 1106;
public static final int WPREF_COLOR_MIX_C4D = 1107;
public static final int WPREF_COLOR_MIX_BP = 1108;

public static final int WPREF_COLOR_QUICKPRESET = 1200; // Vector
public static final int WPREF_COLOR_QUICKPRESET_LAST = 1299; // Vector
public static final int WPREF_COLOR_MIXING_1 = 1301; // Vector
public static final int WPREF_COLOR_MIXING_2 = 1302; // Vector
public static final int WPREF_COLOR_MIXING_3 = 1303; // Vector
public static final int WPREF_COLOR_MIXING_4 = 1304; // Vector
public static final int WPREF_COLOR_SYSTEM_COLORCHOOSER = 1305; // BOOL

public static final int WPREF_AUTOSAVE_ENABLE = 1400; // Bool
public static final int WPREF_AUTOSAVE_MIN = 1401; // LONG
public static final int WPREF_AUTOSAVE_LIMIT_TO = 1402; // Bool
public static final int WPREF_AUTOSAVE_LIMIT_NUM = 1403; // LONG
public static final int WPREF_AUTOSAVE_MODE = 1404; // LONG
	public static final int WPREF_AUTOSAVE_CURRENTDOC = 0;
	public static final int WPREF_AUTOSAVE_ALLDOCS = 1;
public static final int WPREF_AUTOSAVE_DEST = 1405; // LONG
	public static final int WPREF_AUTOSAVE_DEST_BACKUPDIR = 0;
	public static final int WPREF_AUTOSAVE_DEST_USERDIR = 1;
	public static final int WPREF_AUTOSAVE_DEST_STARTUPDIR = 2;
public static final int WPREF_AUTOSAVE_DEST_PATH = 1406; // Filename


public static final int WPREF_BUBBLEHELP1 = 21001;
public static final int WPREF_BUBBLEHELP2 = 21002;
public static final int WPREF_THREADPRIORITY = 21003;
public static final int WPREF_MENUICON = 21004;
public static final int WPREF_MENUSHORTCUT = 21005;
public static final int WPREF_INACTIVEBORDER = 21006;
public static final int WPREF_ACTIVEBORDER = 21007;
public static final int WPREF_DIALOGSTYLE = 21008;
public static final int WPREF_DIALOGALIGN = 21009;
public static final int WPREF_DELAY_MENU = 21010;
public static final int WPREF_DELAY_MENUSCROLL = 21011;
public static final int WPREF_DELAY_CMDPOPUP = 21012;
public static final int WPREF_DELAY_DRAGSCROLL = 21013;
public static final int WPREF_DELAY_SCROLLER1 = 21014;
public static final int WPREF_DELAY_SCROLLER2 = 21015;
public static final int WPREF_DELAY_TABSWITCH = 21016;
public static final int WPREF_PATTERN_TIMESLIDER = 21040;
public static final int WPREF_PATTERN_BG = 21041;
public static final int WPREF_PATTERN_BGEDIT = 21042;
public static final int WPREF_PATTERN_BGGADGET = 21043;
public static final int WPREF_PATTERN_BGFOCUS = 21044;
public static final int WPREF_PATTERN_DBARBG1 = 21045;
public static final int WPREF_PATTERN_DBARBG2 = 21046;
public static final int WPREF_FONT_STANDARD = 21050;
public static final int WPREF_FONT_MONO = 21051;
public static final int WPREF_PATTERN_USE = 21060;
//public static final int WPREF_NAVSERVICE = 21061;
public static final int WPREF_MAC_EXCHNGCTRLCMD = 21062;
//public static final int WPREF_MAC_HIDEMENU = 21063;
public static final int WPREF_MAC_ALLOWSTOPSLEEP = 21064; // Bool: deny mac power cycling
public static final int WPREF_UV_RELAX_DATA = 21065; // BaseContainer
public static final int WPREF_UV_OPTIMAL_MAPPING_DATA = 21066; // BaseContainer
public static final int WPREF_UV_PROJECTION_DATA = 21067; // BaseContainer
public static final int WPREF_UV_TAB_SEL = 21068; // BaseContainer
public static final int WPREF_UV_TRANSFORM_DATA = 21069; // BaseContainer
public static final int WPREF_LINUX_BROWSERPATH = 21070; // Filename
public static final int WPREF_MOUSEOVER_AUTO = 21071; // Bool
public static final int WPREF_MOUSEOVER_SHORTCUT = 21072; // Bool
public static final int WPREF_MOUSEOVER_TIME = 21073; // LONG
public static final int WPREF_ONLINEHELP_MODE = 21074; //
	public static final int ONLINEHELP_MODE_LOCAL = 0;
	public static final int ONLINEHELP_MODE_HTTP = 1;
public static final int WPREF_ONLINEHELP_PATH = 21075; // path
public static final int WPREF_ONLINEHELP_URL = 21076;
public static final int WPREF_LINUX_IMAGEEDITPATH = 21077; // Filename
public static final int WPREF_LOCKINTERFACE = 21078; // Bool
public static final int WPREF_TOOLCURSOR_BASIC = 21079; // Bool
public static final int WPREF_TOOLCURSOR_ADVANCED = 21080; // Bool

public static final int WPREF_ONLINEUPDATER_AUTO_CHECK = 40000; // bool
public static final int WPREF_ONLINEUPDATER_CHECKSUM = 40001; // private
public static final int WPREF_ONLINEUPDATER_SHOW_INSTALLED = 40003; // bool
public static final int WPREF_ONLINEUPDATER_AUTORESTART = 40004; // bool
public static final int WPREF_ONLINEUPDATER_BACKUP = 40005; // bool
public static final int WPREF_ONLINEUPDATER_BACKUP_PATH = 40014; // Filename
public static final int WPREF_ONLINEUPDATER_PROXYSERVER = 40008; // String
public static final int WPREF_ONLINEUPDATER_PROXYPORT = 40009; // LONG
public static final int WPREF_ONLINEUPDATER_MD_PATH = 40010; // private
public static final int WPREF_ONLINEUPDATER_LAST_OPEN_DAY = 40011; // LONG
public static final int WPREF_ONLINEUPDATER_LAST_OPEN_HOUR = 40012; // Real
public static final int WPREF_ONLINEUPDATER_REMOVE_FILES = 40013; // bool


public static final int WPREF_FILEPATH_ALL = 90000;
public static final int WPREF_FILEPATH_TEX = 90001;
public static final int WPREF_FILEPATH_MAT = 90002;
public static final int WPREF_FILEPATH_DOC = 90003;
public static final int WPREF_FILEPATH_PRF = 90004;
public static final int WPREF_FILEPATH_CAT = 90005;
public static final int WPREF_FILEPATH_WAV = 90006;
public static final int WPREF_FILEPATH_COF = 90007;
public static final int WPREF_FILEPATH_FCV = 90008;
public static final int WPREF_FILEPATH_BP = 90022;


// mouse cursors
public static final int MOUSE_HIDE = 0;
public static final int MOUSE_SHOW = 1;
public static final int MOUSE_NORMAL = 2;
public static final int MOUSE_BUSY = 3;
public static final int MOUSE_CROSS = 4;
public static final int MOUSE_QUESTION = 5;
public static final int MOUSE_ZOOM_IN = 6;
public static final int MOUSE_ZOOM_OUT = 7;
public static final int MOUSE_FORBIDDEN = 8;
public static final int MOUSE_DELETE = 9;
public static final int MOUSE_COPY = 10;
public static final int MOUSE_INSERTCOPY = 11;
public static final int MOUSE_INSERTCOPYDOWN = 12;
public static final int MOUSE_MOVE = 13;
public static final int MOUSE_INSERTMOVE = 14;
public static final int MOUSE_INSERTMOVEDOWN = 15;
public static final int MOUSE_ARROW_H = 16;
public static final int MOUSE_ARROW_V = 17;
public static final int MOUSE_ARROW_HV = 18;
public static final int MOUSE_POINT_HAND = 19;
public static final int MOUSE_MOVE_HAND = 20;
public static final int MOUSE_IBEAM = 21;
public static final int MOUSE_SELECT_LIVE = 22;
public static final int MOUSE_SELECT_FREE = 23;
public static final int MOUSE_SELECT_RECT = 24;
public static final int MOUSE_SELECT_POLY = 25;
public static final int MOUSE_SPLINETOOLS = 26;
public static final int MOUSE_EXTRUDE = 27;
public static final int MOUSE_NORMALMOVE = 28;
public static final int MOUSE_ADDPOINTS = 29;
public static final int MOUSE_ADDPOLYGONS = 30;
public static final int MOUSE_BRIDGE = 31;
public static final int MOUSE_MIRROR = 32;
public static final int MOUSE_PAINTMOVE = 33;
public static final int MOUSE_PAINTSELECTRECT = 34;
public static final int MOUSE_PAINTSELECTCIRCLE = 35;
public static final int MOUSE_PAINTSELECTPOLY = 36;
public static final int MOUSE_PAINTSELECTFREE = 37;
public static final int MOUSE_PAINTMAGICWAND = 38;
public static final int MOUSE_PAINTCOLORRANGE = 39;
public static final int MOUSE_PAINTFILL = 40;
public static final int MOUSE_PAINTPICK = 41;
public static final int MOUSE_PAINTBRUSH = 42;
public static final int MOUSE_PAINTCLONE = 43;
public static final int MOUSE_PAINTTEXT = 44;
public static final int MOUSE_PAINTCROP = 45;
public static final int MOUSE_PAINTLINE = 46;
public static final int MOUSE_PAINTPOLYSHAPE = 47;

// global events
public static final int EVMSG_CHANGE = 604;
public static final int EVMSG_TOOLCHANGED = 0xfff36465;
public static final int EVMSG_GRAPHVIEWCHANGED = 400008000;
public static final int EVMSG_AUTKEYMODECHANGED = 200000009;
public static final int EVMSG_UPDATEHIGHLIGHT = 200000073;

public static final int EVMSG_SHOWIN_SB = -200000074;  
public static final int EVMSG_SHOWIN_TL = -200000075;
public static final int EVMSG_SHOWIN_FC = -200000076;
public static final int EVMSG_SHOWIN_LM = -200000077;
public static final int EVMSG_TLOM_MERGE = -465001000;

//Cat added for Show ni Motion
public static final int EVMSG_SHOWIN_MT = -200000078;


public static final int EVMSG_TIMELINESELECTION = -1001;
public static final int EVMSG_BROWSERCHANGE = -1002;
public static final int EVMSG_MATERIALSELECTION = -1009;
public static final int EVMSG_FCURVECHANGE = -1010;

public static final int EVMSG_RAYTRACER_FINISHED = -1003;
public static final int EVMSG_FRAME_SCENE = -1005;
public static final int EVMSG_MATERIALPREVIEW = -1008;
		public static final int MOVE_START = 0;
		public static final int MOVE_CONTINUE = 1;
		public static final int MOVE_END = 2; // -> par2 == ESC

public static final int EVENT_FORCEREDRAW = (1<<0);
public static final int EVENT_ANIMATE = (1<<1);
public static final int EVENT_NOEXPRESSION = (1<<2);
public static final int EVENT_GLHACK = (1<<3);
public static final int EVENT_CAMERAEXPRESSION = (1<<4);

// draw flags
public static final int DA_NO_THREAD = (1<<1);
public static final int DA_NO_REDUCTION = (1<<2);
public static final int DA_WAIT_GL_FINISHED = (1<<3);	// wait until opengl has been finished, useful for synchronous redraws!
public static final int DA_NO_ANIMATION = (1<<8);
public static final int DA_ONLY_ACTIVE_VIEW = (1<<10);
public static final int DA_NO_EXPRESSIONS = (1<<12);
public static final int DA_INDRAG = (1<<13);
public static final int DA_CAMERAEXPRESSION = (1<<16);
public static final int DA_STATICBREAK = ((1<<19)|DA_NO_THREAD);
public static final int DA_FORCEFULLREDRAW = (1<<15);
public static final int DA_NODUALPLANE = (1<<20);
public static final int DA_ONLY_BASEDRAW = (1<<22); // draw specific basedraw only
public static final int DA_IRR = (1<<23); // for IRR only - doesn't stop IRR on view redraw
public static final int DA_ONLY_HIGHLIGHT = ((1<<18)|DA_IRR);

// animate scene/object flags
public static final int ANIMATE_NO_PARTICLES = (1<<2);
public static final int ANIMATE_QUICK = (1<<3);
public static final int ANIMATE_NO_CHILDS = (1<<6);
public static final int ANIMATE_INRENDER = (1<<7);
public static final int ANIMATE_NO_MINMAX = (1<<8);  // only internal !!! used for LONG/REAL
public static final int ANIMATE_NO_NLA = (1<<9);  // only internal
public static final int ANIMATE_NLA_SUM = (1<<10); // only internal


// undo types
public static final int UNDO_CHANGE = 40;
public static final int UNDO_CHANGE_NOCHILDS = 41;
public static final int UNDO_CHANGE_SMALL = 42;
public static final int UNDO_CHANGE_SELECTION = 43;

public static final int UNDO_NEW = 44;
public static final int UNDO_DELETE = 45;

public static final int UNDO_ACTIVATE = 46;
public static final int UNDO_DEACTIVATE = 47;

public static final int UNDO_BITS = 48;

// handle types
public static final int HANDLE_MINI = 0;
public static final int HANDLE_SMALL = 1;
public static final int HANDLE_MIDDLE = 2;
public static final int HANDLE_BIG = 3;

// viewport colors
public static final int VIEWCOLOR_C4DBACKGROUND = 0;
public static final int VIEWCOLOR_FILMFORMAT = 1;
public static final int VIEWCOLOR_HORIZON = 2;
public static final int VIEWCOLOR_GRID_MAJOR = 3;
public static final int VIEWCOLOR_GRID_MINOR = 4;
public static final int VIEWCOLOR_SPLINESTART = 5;
public static final int VIEWCOLOR_SPLINEEND = 6;
public static final int VIEWCOLOR_CAMERA = 7;
public static final int VIEWCOLOR_PARTICLE = 8;
public static final int VIEWCOLOR_PMODIFIER = 9;
public static final int VIEWCOLOR_BONE = 10;
public static final int VIEWCOLOR_MODIFIER = 11;
public static final int VIEWCOLOR_ACTIVEPOINT = 12;
public static final int VIEWCOLOR_INACTIVEPOINT = 13;
public static final int VIEWCOLOR_TANGENT = 14;
public static final int VIEWCOLOR_ACTIVEPOLYGON = 15;
public static final int VIEWCOLOR_INACTIVEPOLYGON = 16;
public static final int VIEWCOLOR_TEXTURE = 17;
public static final int VIEWCOLOR_TEXTUREAXIS = 18;
public static final int VIEWCOLOR_ACTIVEBOX = 19;
public static final int VIEWCOLOR_ANIMPATH = 20;
public static final int VIEWCOLOR_XAXIS = 21;
public static final int VIEWCOLOR_YAXIS = 22;
public static final int VIEWCOLOR_ZAXIS = 23;
public static final int VIEWCOLOR_WXAXIS = 24;
public static final int VIEWCOLOR_WYAXIS = 25;
public static final int VIEWCOLOR_WZAXIS = 26;
public static final int VIEWCOLOR_SELECT_AXIS = 27;
public static final int VIEWCOLOR_VERTEXSTART = 36;
public static final int VIEWCOLOR_VERTEXEND = 37;
public static final int VIEWCOLOR_UVMESH_GREYED = 38;
public static final int VIEWCOLOR_UVMESH_APOLY = 39;
public static final int VIEWCOLOR_UVMESH_IAPOLY = 40;
public static final int VIEWCOLOR_UVMESH_APOINT = 41;
public static final int VIEWCOLOR_UVMESH_IAPOINT = 42;
public static final int VIEWCOLOR_NORMAL = 43;
public static final int VIEWCOLOR_ACTIVECHILDBOX = 44;
public static final int VIEWCOLOR_ACTIVEPOLYBOX = 45;
public static final int VIEWCOLOR_ACTIVEPOLYCHILDBOX = 46;
public static final int VIEWCOLOR_SELECTION_PREVIEW = 47;
public static final int VIEWCOLOR_MEASURETOOL = 48;
public static final int VIEWCOLOR_AXIS_BAND = 49;
public static final int VIEWCOLOR_SHADEDWIRE = 50;
public static final int VIEWCOLOR_NGONLINE = 51;
public static final int VIEWCOLOR_FRONTFACING = 52;
public static final int VIEWCOLOR_BACKFACING = 53;
public static final int VIEWCOLOR_MINSOFTSELECT = 54;
public static final int VIEWCOLOR_MAXSOFTSELECT = 55;
public static final int VIEWCOLOR_MINHNWEIGHT = 56;
public static final int VIEWCOLOR_ZEROHNWEIGHT = 57;
public static final int VIEWCOLOR_MAXHNWEIGHT = 58;
public static final int VIEWCOLOR_IRR = 59;

public static final int VIEWCOLOR_MAXCOLORS = 60;

// dirty flags
public static final int DIRTY_MATRIX = (1<<1);
public static final int DIRTY_DATA = (1<<2);
public static final int DIRTY_SELECT = (1<<3);
public static final int DIRTY_CACHE = (1<<4);
public static final int DIRTY_CHILDREN = (1<<5);

// vflags
public static final int VFLAG_INTERNALRENDERER = (1<<1);
public static final int VFLAG_EXTERNALRENDERER = (1<<2);
public static final int VFLAG_ISOPARM = (1<<3);
public static final int VFLAG_POLYGONAL = (1<<4);

// hierarchy clone flags
public static final int HCLONE_ASIS = (1<<0);
public static final int HCLONE_ASPOLY = (1<<1);
public static final int HCLONE_ASLINE = (1<<2);
public static final int HCLONE_ASSPLINE = (1<<3);

// error string dialog
public static final int IS_NOTHING = 0;
public static final int IS_DEGREE = 1;
public static final int IS_PERCENT = 2;
public static final int IS_METER = 3;
public static final int IS_LONG = 5;

public static final int Greater = 0;
public static final int GreaterOrEqual = 1;
public static final int Less = 2;
public static final int LessOrEqual = 3;
public static final int Between = 4;
public static final int BetweenOrEqual = 5;
public static final int BetweenOrEqualX = 6;
public static final int BetweenOrEqualY = 7;
public static final int Different = 8;

// paintmesh bits
public static final int PAINTMESH_QUAD = (1<<1); // polygon is quadrangle
public static final int PAINTMESH_SEL = (1<<6); // polygon selected

// im-/export formats
public static final int FORMAT_PREF = 1000;
public static final int FORMAT_WAV = 1018;
public static final int FORMAT_FCV = 1019;
public static final int FORMAT_L4D = 1020;
public static final int FORMAT_C4D_6_XML = 1021;
public static final int FORMAT_P4D = 1022;

public static final int FORMAT_C4DIMPORT = 1001025;
public static final int FORMAT_C4DEXPORT = 1001026;
public static final int FORMAT_XMLIMPORT = 1001027;
public static final int FORMAT_XMLEXPORT = 1001028;
public static final int FORMAT_C4D4IMPORT = 1001029;
public static final int FORMAT_C4D5IMPORT = 1001030;
public static final int FORMAT_VRML1IMPORT = 1001031;
public static final int FORMAT_VRML1EXPORT = 1001032;
public static final int FORMAT_VRML2IMPORT = 1001033;
public static final int FORMAT_VRML2EXPORT = 1001034;
public static final int FORMAT_DXFIMPORT = 1001035;
public static final int FORMAT_DXFEXPORT = 1001036;
public static final int FORMAT_3DSIMPORT = 1001037;
public static final int FORMAT_3DSEXPORT = 1001038;
public static final int FORMAT_OBJIMPORT = 1001039;
public static final int FORMAT_OBJEXPORT = 1001040;
public static final int FORMAT_Q3DIMPORT = 1001041;
public static final int FORMAT_Q3DEXPORT = 1001042;
public static final int FORMAT_LWSIMPORT = 1001043;
public static final int FORMAT_LWOIMPORT = 1001044;
public static final int FORMAT_AIIMPORT = 1001045;
public static final int FORMAT_DEMIMPORT = 1001046;
public static final int FORMAT_D3DEXPORT = 1001047;

// registry
public static final int RE_WINDOW = 1;
public static final int RE_OBJECT = 3;
public static final int RE_TRACK = 4;
public static final int RE_SEQUENCE = 5;
public static final int RE_KEY = 6;
public static final int RE_TAG = 7;
public static final int RE_MATERIAL = 8;
public static final int RE_SHADER2D = 9;
public static final int RE_SHADER3D = 10;
public static final int RE_COFFEE_EXT = 11;
public static final int RE_IO_IMAGE = 12;
public static final int RE_IO_MOVIE = 13;
public static final int RE_IO_SCENE = 14;
public static final int RE_IO_PREF = 15;
public static final int RE_IO_CATALOG = 17;
public static final int RE_IO_SOUND = 18;
public static final int RE_IO_IMAGESAVER_EX = 19;
public static final int RE_IO_FCV = 20;
public static final int RE_IO_LAYOUT = 21;
public static final int RE_BITMAP_FILTER = 22;
public static final int RE_VIDEOPOST = 23;
public static final int RE_SCENEHOOK = 24;
public static final int RE_NODE = 25;
public static final int RE_DESCRIPTION = 27;
public static final int RE_LIBRARY = 28;
public static final int RE_CUSTOMDATATYPE = 29;
public static final int RE_RESOURCEDATATYPE = 30;
public static final int RE_CTRACK = 34;
public static final int RE_CSEQ = 35;
public static final int RE_CKEY = 36;

public static final int RE_PAINTER = 50;

public static final int HIGHLIGHT_TRANSPARENCY = -140;


public static final int CREATE_GL_HAS_ROOT = 1;
public static final int CREATE_GL_IS_ROOT = 2;

public static final int DELETE_GL_HAS_ROOT = 1;
public static final int DELETE_GL_IS_ROOT = 2;


public static final int RESOURCEIMAGE_PIN = 9000;
public static final int RESOURCEIMAGE_SUBGROUP = 12678;
public static final int RESOURCEIMAGE_UNLOCKED = 12679;
public static final int RESOURCEIMAGE_LOCKED = -12679;
public static final int RESOURCEIMAGE_HISTOGRAM = 12680;
public static final int RESOURCEIMAGE_PLUS = 300000118;
public static final int RESOURCEIMAGE_MINUS = 300000119;
public static final int RESOURCEIMAGE_ANIM = 200000122;
public static final int RESOURCEIMAGE_KEY = 300000121;
public static final int RESOURCEIMAGE_SEQUENCE = 300000122;
public static final int RESOURCEIMAGE_FOLDER = 300000123;
public static final int RESOURCEIMAGE_OPENED = 300000124;
public static final int RESOURCEIMAGE_CLOSED = 300000125;
public static final int RESOURCEIMAGE_ARROWLEFT = 300000126;
public static final int RESOURCEIMAGE_ARROWRIGHT = 300000127;
public static final int RESOURCEIMAGE_ARROWUP = 300000128;
public static final int RESOURCEIMAGE_AMDUPLICATE = 300000129;
public static final int RESOURCEIMAGE_MOVE = 13563;
public static final int RESOURCEIMAGE_SCALE = 13564;
public static final int RESOURCEIMAGE_ROTATE = 13565;
public static final int RESOURCEIMAGE_VIEWCHANGE = 13640;
public static final int RESOURCEIMAGE_FULLSCREEN = 17301;
public static final int RESOURCEIMAGE_CLOSERRELEASED = 12097;
public static final int RESOURCEIMAGE_CLOSERPRESSED = -12097;
public static final int RESOURCEIMAGE_CANCEL = 300000130;
public static final int RESOURCEIMAGE_OK = 300000131;
public static final int RESOURCEIMAGE_OKCANCEL = 300000132;
public static final int RESOURCEIMAGE_BOOLGROUP = 300000133;
public static final int RESOURCEIMAGE_ADAPTERGROUP = 300000134;
public static final int RESOURCEIMAGE_CALCULATEGROUP = 300000135;
public static final int RESOURCEIMAGE_DEFAULTGROUP = 300000136;
public static final int RESOURCEIMAGE_DEFAULTOPERATOR = 300000137;
public static final int RESOURCEIMAGE_GENERALGROUP = 300000138;
public static final int RESOURCEIMAGE_ITERATORGROUP = 300000139;
public static final int RESOURCEIMAGE_LOGICALGROUP = 300000140;
public static final int RESOURCEIMAGE_TPGROUP = 300000141;
public static final int RESOURCEIMAGE_COFFEESCRIPT = 300000142;
public static final int RESOURCEIMAGE_UVWTAG_SECONDSTATE = 300000143;
public static final int RESOURCEIMAGE_INSTANCEOBJECT_SECONDSTATE = 300000144;
public static final int RESOURCEIMAGE_LIGHT_SHADOWS = 300000145;
public static final int RESOURCEIMAGE_LIGHT_SPOT = 300000146;
public static final int RESOURCEIMAGE_LIGHT_SPOTSHADOWS = 300000147;
public static final int RESOURCEIMAGE_LIGHT_PARALLEL = 300000148;
public static final int RESOURCEIMAGE_LIGHT_PARALLELSHADOWS = 300000149;
public static final int RESOURCEIMAGE_LIGHT_AREA = 300000150;
public static final int RESOURCEIMAGE_LIGHT_AREASHADOWS = 300000151;
public static final int RESOURCEIMAGE_BASEDRAW = 300000152;
public static final int RESOURCEIMAGE_CTRACK = 300000153;
public static final int RESOURCEIMAGE_BASEKEY = 300000154;
public static final int RESOURCEIMAGE_BASESEQUENCE = 300000155;
public static final int RESOURCEIMAGE_BASETRACK = 300000156;
public static final int RESOURCEIMAGE_UNKNOWN = 300000157;
public static final int RESOURCEIMAGE_BASESHADER = 300000158;
public static final int RESOURCEIMAGE_PAINTBITMAP = 300000159;
public static final int RESOURCEIMAGE_MULTIPLE = 300000160;
public static final int RESOURCEIMAGE_EYEACTIVE = 300000161;
public static final int RESOURCEIMAGE_EYEINACTIVE = 300000162;
public static final int RESOURCEIMAGE_PENACTIVE = 300000163;
public static final int RESOURCEIMAGE_PENINACTIVE = 300000164;
public static final int RESOURCEIMAGE_ALPHAACTIVE = 300000165;
public static final int RESOURCEIMAGE_ALPHAINACTIVE = 300000166;
public static final int RESOURCEIMAGE_LINKEDACTIVE = 300000167;
public static final int RESOURCEIMAGE_LINKEDINACTIVE = 300000168;
public static final int RESOURCEIMAGE_BPAXIS = 300000169;
public static final int RESOURCEIMAGE_BPCROSSED = 300000170;
public static final int RESOURCEIMAGE_MOCCATREEVIEWNO = 300000171;
public static final int RESOURCEIMAGE_MOCCATREEVIEWYES = 300000172;
public static final int RESOURCEIMAGE_MOCCATREEVIEWLOCKED = 300000173;
public static final int RESOURCEIMAGE_MOCCAIKTAG1 = 300000174;
public static final int RESOURCEIMAGE_MOCCAIKTAG2 = 300000175;
public static final int RESOURCEIMAGE_MOCCAIKTAG3 = 300000176;
public static final int RESOURCEIMAGE_MOCCAIKTAG4 = 300000177;
public static final int RESOURCEIMAGE_MOCCAIKTAG5 = 300000178;
public static final int RESOURCEIMAGE_MOCCAIKTAG6 = 300000185;
public static final int RESOURCEIMAGE_BITMAPFILTERPLUS = 300000179;
public static final int RESOURCEIMAGE_BITMAPFILTERMINUS = 300000180;
public static final int RESOURCEIMAGE_CLOTHING1 = 300000181;
public static final int RESOURCEIMAGE_CLOTHING2 = 300000182;
public static final int RESOURCEIMAGE_CLOTHING3 = 300000183;
public static final int RESOURCEIMAGE_CLOTHING4 = 300000184;
public static final int RESOURCEIMAGE_CLEARSELECTION = 300000187;
public static final int RESOURCEIMAGE_GENERICCOMMAND = 300000188;
public static final int RESOURCEIMAGE_TIMELINE_KEY1 = 300000191;
public static final int RESOURCEIMAGE_TIMELINE_KEY2 = 300000192;
public static final int RESOURCEIMAGE_AMMODELOCK_1 = 300000193;
public static final int RESOURCEIMAGE_AMMODELOCK_2 = 300000194;
public static final int RESOURCEIMAGE_SCENEBROWSER_HOME = 300000195;
public static final int RESOURCEIMAGE_SCENEBROWSER_FILTER1 = 300000196;
public static final int RESOURCEIMAGE_SCENEBROWSER_FILTER2 = 300000197;
public static final int RESOURCEIMAGE_SCENEBROWSER_FIND1 = 300000198;
public static final int RESOURCEIMAGE_SCENEBROWSER_FIND2 = 300000199;
public static final int RESOURCEIMAGE_SCENEBROWSER_PATH1 = 300000200;
public static final int RESOURCEIMAGE_SCENEBROWSER_PATH2 = 300000201;
public static final int RESOURCEIMAGE_TIMELINE_STATE1 = 300000202; 
public static final int RESOURCEIMAGE_TIMELINE_STATE2 = 300000203; 
public static final int RESOURCEIMAGE_TIMELINE_STATE3 = 300000204; 
public static final int RESOURCEIMAGE_TIMELINE_STATE4 = 300000205; 
public static final int RESOURCEIMAGE_TIMELINE_STATE5 = 300000206; 
public static final int RESOURCEIMAGE_TIMELINE_STATE6 = 300000207; 
public static final int RESOURCEIMAGE_TIMELINE_KEYSTATE1 = 300000208; 
public static final int RESOURCEIMAGE_TIMELINE_KEYSTATE2 = 300000209; 
public static final int RESOURCEIMAGE_TIMELINE_KEYSTATE3 = 300000210; 
public static final int RESOURCEIMAGE_TIMELINE_KEYSTATE4 = 300000211; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE1 = 300000212; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE2 = 300000213; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE3 = 300000214; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE4 = 300000215; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE5 = 300000216; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE6 = 300000217; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE7 = 300000218; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE8 = 300000219; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE9 = 300000220; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE10 = 300000221; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE11 = 300000222; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE12 = 300000223; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE13 = 300000224; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE14 = 300000225; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE15 = 300000226; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE16 = 300000227; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE17 = 300000228; 
public static final int RESOURCEIMAGE_LAYERMANAGER_STATE18 = 300000229; 
public static final int RESOURCEIMAGE_OBJECTMANAGER_STATE1 = 300000230; 
public static final int RESOURCEIMAGE_OBJECTMANAGER_STATE2 = 300000231; 
public static final int RESOURCEIMAGE_OBJECTMANAGER_STATE3 = 300000232; 
public static final int RESOURCEIMAGE_OBJECTMANAGER_STATE4 = 300000233; 
public static final int RESOURCEIMAGE_OBJECTMANAGER_DOT1 = 300000234; 
public static final int RESOURCEIMAGE_OBJECTMANAGER_DOT2 = 300000235; 
public static final int RESOURCEIMAGE_OBJECTMANAGER_DOT3 = 300000236; 
public static final int RESOURCEIMAGE_OBJECTMANAGER_DOT4 = 300000237; 
public static final int RESOURCEIMAGE_OBJECTMANAGER_LOCK = 300000238; 
public static final int RESOURCEIMAGE_TIMELINE_FOLDER1 = 300000239; 
public static final int RESOURCEIMAGE_TIMELINE_FOLDER2 = 300000240; 
public static final int RESOURCEIMAGE_TIMELINE_FOLDER3 = 300000241; 
public static final int RESOURCEIMAGE_TIMELINE_FOLDER4 = 300000242; 
public static final int RESOURCEIMAGE_TIMELINE_ROOT1 = 300000243; 
public static final int RESOURCEIMAGE_TIMELINE_ROOT2 = 300000244; 
public static final int RESOURCEIMAGE_TIMELINE_ROOT3 = 300000245; 
public static final int RESOURCEIMAGE_OBJECTMANAGER_DISP1 = 300000246; 
public static final int RESOURCEIMAGE_OBJECTMANAGER_DISP2 = 300000247; 
public static final int RESOURCEIMAGE_OBJECTMANAGER_DISP3 = 300000248; 
public static final int RESOURCEIMAGE_OBJECTMANAGER_DISP4 = 300000249; 
public static final int RESOURCEIMAGE_BROWSER_DESKTOP = 300000251; 
public static final int RESOURCEIMAGE_BROWSER_HOME = 300000252; 
public static final int RESOURCEIMAGE_BROWSER_PRESET = 300000253; 
public static final int RESOURCEIMAGE_BROWSER_CATALOG = 300000254; 
public static final int RESOURCEIMAGE_BROWSER_SEARCH = 300000255; 
public static final int RESOURCEIMAGE_BROWSER_PLAY = 300000256; 
public static final int RESOURCEIMAGE_BROWSER_PAUSE = 300000257; 
public static final int RESOURCEIMAGE_BROWSER_SMALLVIEW = 300000258; 
public static final int RESOURCEIMAGE_BROWSER_BIGVIEW = 300000259; 
public static final int RESOURCEIMAGE_ONLINEHELP_HOME = 300000260; 
public static final int RESOURCEIMAGE_ARROWDOWN = 300000263;
public static final int RESOURCEIMAGE_PREVIOUSPAGE = 1022433;
public static final int RESOURCEIMAGE_FOLLOWINGPAGE = 1022434;

public static final int HOTKEY_CAMERA_MOVE = 13563;
public static final int HOTKEY_CAMERA_SCALE = 13564;
public static final int HOTKEY_CAMERA_ROTATE = 13565;

public static final int HOTKEY_OBJECT_MOVE = 13566;
public static final int HOTKEY_OBJECT_SCALE = 13567;
public static final int HOTKEY_OBJECT_ROTATE = 13568;

public static final int HOTKEY_MODEL_SCALE = 13569;
public static final int HOTKEY_ZOOM = 13570;
public static final int HOTKEY_SELECT_FREE = 13571;
public static final int HOTKEY_SELECT_LIVE = 13572;
public static final int HOTKEY_SELECT_RECT = 13573;

public static final int IDM_UNDO = 12105;
public static final int IDM_REDO = 12297;
public static final int IDM_CUT = 12106;
public static final int IDM_COPY = 12107;
public static final int IDM_PASTE = 12108;
public static final int IDM_DELETE = 12109;
public static final int IDM_SELECTALL = 12112;
public static final int IDM_SELECTNONE = 12113;
public static final int IDM_INVERSION = 12374;

	/* end of ge_prepass.h */

public static final int ID_CYLINDERCAPS = 820;

public static final int PRIM_CYLINDER_RADIUS = 5000;	// REAL
public static final int PRIM_CYLINDER_CAPS = 5001; // BOOL
public static final int PRIM_CYLINDER_FILLET = 5002; // BOOL
public static final int PRIM_CYLINDER_FSUB = 5003; // LONG
public static final int PRIM_CYLINDER_FILLETRADIUS = 5004; // REAL
public static final int PRIM_CYLINDER_HEIGHT = 5005; // ==PRIM_CONE_HEIGHT
public static final int PRIM_CYLINDER_HSUB = 5006; // ==PRIM_CONE_HSUB
public static final int PRIM_CYLINDER_CSUB = 5007; // ==PRIM_CONE_CSUB
public static final int PRIM_CYLINDER_SEG = 5008;  // ==PRIM_CONE_SEG

public static final int PRIM_SPHERE_RAD = 1110; // REAL     - Radius [>=0.0]
public static final int PRIM_SPHERE_SUB = 1111; // LONG     - Subdivision [>0]
public static final int PRIM_SPHERE_TYPE = 1112; // LONG     - Type [0:Standard; 1:Tetra; 2:Hexa; 3:Octa; 4:Icosa]
public static final int PRIM_SPHERE_TYPE_STANDARD = 0;
public static final int PRIM_SPHERE_TYPE_TETRA = 1;
public static final int PRIM_SPHERE_TYPE_HEXA = 2;
public static final int PRIM_SPHERE_TYPE_OCTA = 3;
public static final int PRIM_SPHERE_TYPE_ICOSA = 4;
public static final int PRIM_SPHERE_TYPE_HEMISPHERE = 5;
public static final int PRIM_SPHERE_PERFECT = 1113; // BOOL		 - Keep Perfect Shape During Rendering

public static final int PRIM_PLANE_WIDTH = 1230; // REAL     - Plane Width [>=0.0]
public static final int PRIM_PLANE_HEIGHT = 1231; // REAL     - Plane Height [>=0.0]
public static final int PRIM_PLANE_SUBW = 1232; // LONG     - Width Segments [>0]
public static final int PRIM_PLANE_SUBH = 1233; // LONG     - Height Segments [>0]

public static final int PRIM_CUBE_LEN = 1100; // VECTOR   - Side Length [>=0.0]
public static final int PRIM_CUBE_SEP = 1101; // BOOL	   - Seperate Surfaces [only evaluated if no fillet is specified]
public static final int PRIM_CUBE_SUBX = 1102; // LONG     - X-Subdivision [>0]
public static final int PRIM_CUBE_SUBY = 1103; // LONG     - Y-Subdivision [>0]
public static final int PRIM_CUBE_SUBZ = 1104; // LONG     - Z-Subdivision [>0]
public static final int PRIM_CUBE_FRAD = 1105; // REAL     - Fillet Radius [>=0.0; <=len.x/2; <=len.y/2; <=len.z/2]
public static final int PRIM_CUBE_SUBF = 1106;	// LONG     - Fillet Subdivision [>0]
public static final int PRIM_CUBE_DOFILLET = 1107;	// BOOL     - Enable Fillet

public static final int ID_CONECAPS = 820;

public static final int PRIM_CONE_TRAD = 1130; // REAL 	 - Ptop Radius [>=0.0]
public static final int PRIM_CONE_BRAD = 1131; // REAL  	 - Pbottom Radius [>=0.0]
public static final int PRIM_CONE_HEIGHT = 1132; // REAL    - Height [>=0.0]
public static final int PRIM_CONE_HSUB = 1133; // LONG  	 - Height Segments [>0]
public static final int PRIM_CONE_CSUB = 1134; // LONG    - Cap Segments [>0]
public static final int PRIM_CONE_SEG = 1135; // LONG    - Rotational Segments [>2]
public static final int PRIM_CONE_TOPFILLET_RADIUS = 1137; // REAL	   - Ptop Fillet [>=0.0, <=TopRad, TopFil+BotFil<=Height]
public static final int PRIM_CONE_BOTFILLET_RADIUS = 1138; // REAL	   - Botom Fillet [>=0.0, <=TopRad, TopFil+BotFil<=Height]
public static final int PRIM_CONE_TOPFILLET_HEIGHT = 1139; // REAL    - Ptop Fillet Y [>=0.0, overwrites Y component of TFILLET]
public static final int PRIM_CONE_BOTFILLET_HEIGHT = 1140; // REAL    - Pbottom Fillet Y [>=0.0, overwrites Y component of BFILLET]
public static final int PRIM_CONE_FSUB = 1141; // LONG	   - Fillet Subdivision [>0]
public static final int PRIM_CONE_TOPFILLET = 1142;	// BOOL
public static final int PRIM_CONE_BOTFILLET = 1143; // BOOL
public static final int PRIM_CONE_CAPS = 1144;

public static final int ID_BASEOBJECT_VISIBILITY_EDITOR = 901;	// modes for visible checks in the object manager
public static final int ID_BASEOBJECT_VISIBILITY_RENDER = 902;	// modes for visible checks in the object manager
public static final int OBJECT_ON = 0;
public static final int OBJECT_OFF = 1;
public static final int OBJECT_UNDEF = 2;
public static final int ID_BASEOBJECT_POSITION = 903;
public static final int ID_BASEOBJECT_ROTATION = 904;
public static final int ID_BASEOBJECT_SCALE = 905;
public static final int ID_BASEOBJECT_GENERATOR_FLAG = 906;
public static final int ID_BASEOBJECT_USECOLOR = 907;
public static final int ID_BASEOBJECT_USECOLOR_OFF = 0;
public static final int ID_BASEOBJECT_USECOLOR_AUTOMATIC = 1;
public static final int ID_BASEOBJECT_USECOLOR_ALWAYS = 2;
public static final int ID_BASEOBJECT_USECOLOR_LAYER = 3;
public static final int ID_BASEOBJECT_COLOR = 908;
public static final int ID_BASEOBJECT_XRAY = 909;
public static final int ID_BASEOBJECT_GLOBAL_POSITION = 910;
public static final int ID_BASEOBJECT_GLOBAL_ROTATION = 911;
public static final int ID_BASEOBJECT_SHADEDWIRECOLOR = 912;
public static final int ID_BASEOBJECT_SHADEDWIRECOLORMODE = 913;
public static final int ID_BASEOBJECT_SHADEDWIRECOLORMODE_OFF = 0;
public static final int ID_BASEOBJECT_SHADEDWIRECOLORMODE_AUTO = 1;
public static final int ID_BASEOBJECT_SHADEDWIRECOLORMODE_ALWAYS = 2;

public static final int ID_BASEOBJECT_GROUP1 = 800;		// for group
public static final int ID_BASEOBJECT_GROUPVIS = 801;
public static final int ID_OBJECTPROPERTIES = 802;
public static final int ID_TAGLIST = 804;

public static final int XL_OBJECT_REFERENCE = 10001;
public static final int XL_OBJECT_RENDER_INSTANCE = 10002;
public static final int XL_OBJECT_RADIUS = 10011;
public static final int XL_OBJECT_RADIUS_Z = 100012;
public static final int XL_OBJECT_HEIGHT = 100013;
public static final int XL_OBJECT_START_POSITION = 10021;
public static final int XL_OBJECT_END_POSITION = 10022;

public static final int SWEEPOBJECT_ISOPARM					= 1000;
public static final int SWEEPOBJECT_GROWTH					= 1002;
public static final int SWEEPOBJECT_SCALE						= 1003;
public static final int SWEEPOBJECT_ROTATE					= 1004;
public static final int SWEEPOBJECT_PARALLEL				= 1005;
public static final int SWEEPOBJECT_RAILDIRECTION		= 1006;
public static final int SWEEPOBJECT_RAILSCALE				= 1007;
public static final int SWEEPOBJECT_CONSTANT				= 1008;
public static final int SWEEPOBJECT_BANKING					= 1009;
public static final int SWEEPOBJECT_FLIPNORMALS			= 1010;
public static final int SWEEPOBJECT_KEEPSEGMENTS		= 1011;
public static final int SWEEPOBJECT_BIRAIL					= 1012;
public static final int SWEEPOBJECT_STARTGROWTH			= 1013;
public static final int SWEEPOBJECT_GROWUV					= 1014;
public static final int SWEEPOBJECT_SPLINESCALE			= 1015;
public static final int SWEEPOBJECT_SPLINEROTATION	= 1016;
public static final int SWEEPOBJECT_ROTATIONFROM		= 1017;
public static final int SWEEPOBJECT_ROTATIONTO			= 1018;

public static final int PRIM_ARC_TYPE							= 2000;	// LONG - Arc Type [0:Arc; 1:Sector; 2:Segment; 3:Ring]
public static final int PRIM_ARC_TYPE_ARC					= 0;
public static final int PRIM_ARC_TYPE_SECTOR			= 1;
public static final int PRIM_ARC_TYPE_SEGMENT			= 2;
public static final int PRIM_ARC_TYPE_RING				= 3;
public static final int PRIM_ARC_RADIUS						= 2001; // REAL - Radius [>=0.0]
public static final int PRIM_ARC_INNER						= 2002; // REAL - Inner Radius (Ring) [>=0.0]
public static final int PRIM_ARC_START						= 2005; // REAL - Start Angle
public static final int PRIM_ARC_END							= 2006;  // REAL - End Angle

public static final int SPRING_OBJECT_ID = 180000010;

public static final int FORCE_OBJECT_A = 12001;
public static final int FORCE_OBJECT_B = 12002;
public static final int FORCE_ALWAYS_VISIBLE = 12003;

}
