Ejemplo n.º 1
0
        public void DumpTexture()
        {
            Debug.WriteLine("");
            Debug.WriteLine("Name: {0} ({1})", this.name, this.GetHashCode());

            if (this.poAzulTexture == null)
            {
                Debug.WriteLine("Texture: null \n");
            }
            else
            {
                Debug.WriteLine("Texture: {0} \n", this.poAzulTexture.GetHashCode());
            }

            if (this.pPrev == null)
            {
                Debug.WriteLine("previous: null");
            }
            else
            {
                Texture pTemp = (Texture)this.pPrev;
                Debug.WriteLine("previous: {0}, {1}", pTemp.name, pTemp.GetHashCode());
            }

            if (this.pNext == null)
            {
                Debug.WriteLine("next: null");
            }
            else
            {
                Texture pTemp = (Texture)this.pNext;
                Debug.WriteLine("next: {0}, {1}", pTemp.name, pTemp.GetHashCode());
            }
        }
        public void Dump()
        {
            Debug.WriteLine("    ID:     " + this.GetHashCode());
            Debug.WriteLine("    Name:   " + this.name);

            if (this.pAzulTexture != null)
            {
                Debug.WriteLine("    Texture: " + this.pAzulTexture.GetHashCode());
            }
            else
            {
                Debug.WriteLine("    Texture: null ");
            }

            if (this.pPrev == null)
            {
                Debug.WriteLine("    pPrev: null");
            }
            else
            {
                Texture pTmp = (Texture)this.pPrev;
                Debug.WriteLine("    pPrev: {0} ({1})", pTmp.name, pTmp.GetHashCode());
            }

            if (this.pNext == null)
            {
                Debug.WriteLine("    PNext: null");
            }
            else
            {
                Texture pTmp = (Texture)this.pNext;
                Debug.WriteLine("    pNext: {0} ({1})", pTmp.name, pTmp.GetHashCode());
            }
        }
Ejemplo n.º 3
0
        public void Dump()
        {
            // we are using HASH code as its unique identifier
            Debug.WriteLine("   {0} ({1})", this.name, this.GetHashCode());

            // Prev Node
            if (this.pPrev == null)
            {
                Debug.WriteLine("      prev: null");
            }
            else
            {
                Texture pTmp = (Texture)this.pPrev;
                Debug.WriteLine("      prev: {0} ({1})", pTmp.name, pTmp.GetHashCode());
            }

            // Next Node
            if (this.pNext == null)
            {
                Debug.WriteLine("      next: null");
            }
            else
            {
                Texture pTmp = (Texture)this.pNext;
                Debug.WriteLine("      next: {0} ({1})", pTmp.name, pTmp.GetHashCode());
            }
        }
Ejemplo n.º 4
0
        public void DumpNodeData()
        {
            // we are using HASH code as its unique identifier
            //this.MLinkDump();

            Debug.WriteLine("Texture: {0}, hashcode: ({1})", this.name, this.GetHashCode());
            if (this.pMNext == null)
            {
                Debug.WriteLine("      next: null");
            }
            else
            {
                Texture pTmp = (Texture)this.pMNext;
                Debug.WriteLine("      next: {0}, hashcode: ({1})", pTmp.name, pTmp.GetHashCode());
            }

            if (this.pMPrev == null)
            {
                Debug.WriteLine("      prev: null");
            }
            else
            {
                Texture pTmp = (Texture)this.pMPrev;
                Debug.WriteLine("      prev: {0}, hashcode: ({1})", pTmp.name, pTmp.GetHashCode());
            }

            // Print Unique Node Data:
            Debug.WriteLine("");
            Debug.WriteLine("------------------------");
        }
Ejemplo n.º 5
0
        protected override void DumpNode(DLink node)
        {
            Debug.Assert(node != null);
            Texture tex = (Texture)node;

            Debug.WriteLine(String.Format("\tTexture:{0}({1})", tex.name, tex.GetHashCode()));
            Debug.WriteLine(String.Format("\tAzulTex:{0}({1})", tex.assetName, tex.pAzulTexture.GetHashCode()));
            Debug.WriteLine(String.Format("\tstatus:{0}", tex.status));
        }
Ejemplo n.º 6
0
        public void Dump()
        {
            // Dump - Print contents to the debug output window
            //        Using HASH code as its unique identifier
            Debug.WriteLine("   Name: {0} ({1})", this.name, this.GetHashCode());

            if (this.poTexture != null)
            {
                Debug.WriteLine("   Texture: {0} ", this.poTexture.GetHashCode());
            }
            else
            {
                Debug.WriteLine("   Texture: null ");
            }


            if (this.pNext == null)
            {
                Debug.WriteLine("      next: null");
            }
            else
            {
                Texture pTmp = (Texture)this.pNext;
                Debug.WriteLine("      next: {0} ({1})", pTmp.name, pTmp.GetHashCode());
            }

            if (this.pPrev == null)
            {
                Debug.WriteLine("      prev: null");
            }
            else
            {
                Texture pTmp = (Texture)this.pPrev;
                Debug.WriteLine("      prev: {0} ({1})", pTmp.name, pTmp.GetHashCode());
            }
        }
Ejemplo n.º 7
0
        public void Dump()
        {
            Debug.WriteLine("   {0} ({1})", this.name, this.GetHashCode());

            if (this.pPrev == null)
            {
                Debug.WriteLine("      prev: null");
            }
            else
            {
                Texture pTmp = (Texture)this.pPrev;
                Debug.WriteLine("      prev: {0} ({1})", pTmp.name, pTmp.GetHashCode());
            }

            if (this.pNext == null)
            {
                Debug.WriteLine("      next: null");
            }
            else
            {
                Texture pTmp = (Texture)this.pNext;
                Debug.WriteLine("      next: {0} ({1})", pTmp.name, pTmp.GetHashCode());
            }
        }