示例#1
0
        /// <summary>
        /// Constructor
        /// </summary>
        public LightT(Rcol parent) : base(parent)
        {
            version = 11;
            BlockID = 0;

            sgres = new SGResource(null);
        }
示例#2
0
        /// <summary>
        /// Constructor
        /// </summary>
        public CinematicScene(Rcol parent) : base(parent)
        {
            sgres = new SGResource(null);
            desc  = "";

            items   = new CinematicSceneItem[0];
            BlockID = 0x4D51F042;
        }
示例#3
0
 /// <summary>
 /// Constructor
 /// </summary>
 public MaterialDefinition(Rcol parent) : base(parent)
 {
     properties = new MaterialDefinitionProperty[0];
     listing    = new String[0];
     sgres      = new SGResource(null);
     BlockID    = 0x49596978;
     fldsc      = "";
     mattype    = "";
 }
示例#4
0
        //Rcol parent;

        /*public Rcol Parent
         * {
         *      get { return parent; }
         * }*/

        /// <summary>
        /// Constructor
        /// </summary>
        public LevelInfo(Rcol parent) : base(parent)
        {
            texturesize = new Size(0, 0);
            zlevel      = 0;
            sgres       = new SGResource(null);
            BlockID     = 0xED534136;
            data        = new byte[0];
            datatype    = MipMapType.SimPE_PlainData;
        }
示例#5
0
 public AbstractRcolBlock(Rcol parent)
 {
     this.parent = (Rcol)parent;
     if (parent != null)
     {
         this.Register(Rcol.Tokens);
     }
     sgres   = null;
     blockid = 0;
     version = 0;
 }
示例#6
0
        /*public Rcol Parent
         * {
         *      get { return parent; }
         * }*/

        /// <summary>
        /// Constructor
        /// </summary>
        public Shape(Rcol parent) : base(parent)
        {
            sgres   = new SGResource(null);
            refnode = new ReferentNode(null);
            ogn     = new ObjectGraphNode(null);

            unknown = new uint[0];
            items   = new ShapeItem[0];
            parts   = new ShapePart[0];
            BlockID = 0xFC6EB1F7;
        }
示例#7
0
        /// <summary>
        /// Constructor
        /// </summary>
        public ResourceNode(Rcol parent) : base(parent)
        {
            sgres = new SGResource(null);
            ogn   = new ObjectGraphNode(null);
            ctn   = new CompositionTreeNode(null);
            items = new ResourceNodeItem[0];

            version  = 0x07;
            typecode = 0x01;
            BlockID  = 0xE519C933;
        }
示例#8
0
 /// <summary>
 /// Constructor
 /// </summary>
 public ImageData(Rcol parent) : base(parent)
 {
     texturesize     = new Size(1, 1);
     mipmapblocks    = new MipMapBlock[1];
     mipmapblocks[0] = new MipMapBlock(this);
     mipmaplevels    = 1;
     sgres           = new SGResource(null);
     BlockID         = 0x1c4a276c;
     filenamerep     = "";
     this.version    = 0x09;
     unknown_0       = (float)1.0;
     format          = SimPe.Plugin.ImageLoader.TxtrFormats.ExtRaw24Bit;
 }
示例#9
0
        /// <summary>
        /// Constructor
        /// </summary>
        public DirectionalLight(Rcol parent) : base(parent)
        {
            version = 1;
            BlockID = 0xC9C81BA3;

            slb   = new StandardLightBase(null);
            sgres = new SGResource(null);
            lt    = new LightT(null);
            rn    = new ReferentNode(null);
            ogn   = new ObjectGraphNode(null);

            unknown2 = "";
        }
示例#10
0
        /// <summary>
        /// Constructor
        /// </summary>
        public AnimResourceConst(Rcol parent) : base(parent)
        {
            sgres       = new SGResource(null);
            unknowndata = new byte[0];
            BlockID     = 0xfb00791e;

            headerb = new byte[6];
            headeri = new uint[4];
            headerf = new float[9];

            objname = "";
            objmod  = "";

            ab1 = new AnimBlock1[0];
            ab6 = new AnimBlock6[0];
        }
示例#11
0
        /// <summary>
        /// Constructor
        /// </summary>
        public GeometryDataContainer(Rcol parent) : base(parent)
        {
            sgres = new SGResource(null);

            version = 0x04;
            BlockID = 0xAC4F8687;

            elements = new GmdcElements();
            links    = new GmdcLinks();
            groups   = new GmdcGroups();

            model = new GmdcModel(this);

            joints = new GmdcJoints();
            tried  = false;
        }
示例#12
0
 public AbstractRcolBlock()
 {
     sgres   = null;
     blockid = 0;
     version = 0;
 }