Ejemplo n.º 1
0
 public static void m0000a2(Texture2D p0, c000069 p1)
 {
     Exception exception;
     try
     {
         f000091 = new ReadOnlyCollection<c000068>(f000090);
         f000031 = 2f;
         f000033 = 1f;
         f00000a = true;
         f000058 = new SpriteBatch(c000074.GetGraphicsDevice());
         f000098 = new VertexDeclaration(Renderer.m0000d4(), VertexPositionColorTexture.VertexElements);
         f00005b = new List<c000069>();
         f00005b.Add(p1);
         f00002b = new c00006b();
         f00008f = new ReadOnlyCollection<c000068>(f00002b);
         f000092 = new LinkedList<c000068>();
         f000052 = new c000068(m00006b());
         f000052.m000375(1f);
         f000052.m000376(1f);
         f000052.m0000c0(true);
     }
     catch (Exception exception1)
     {
         exception = exception1;
         MessageBox.Show("Error setting GuiManager engine object references");
     }
     try
     {
         f000099 = p0;
         m000031();
     }
     catch (Exception exception2)
     {
         MessageBox.Show("Error setting GuiManager textures.  If you are seeing this, one reason may be that you do not have the  correct Managed DirectX files on your computer.  To download them,  go to www.flatredball.com, click on Resources on the top bar  and click on the \"DirectX Web Installer\" link under FlatRedBall  Prerequisites.  If you have already done this and your problem is not  solved, please visit the forums on www.flatredball.com and post about your  problem.\n\nAdditional Information:\n" + exception2.ToString());
     }
     try
     {
         f000096 = new List<struct01d4>();
         f000094 = new List<VertexBuffer>();
         m0000af();
         f000097[0] = 3;
         f000097[1] = 0;
         f000097[2] = 1;
         f000097[3] = 3;
         f000097[4] = 1;
         f000097[5] = 2;
         f000093 = new NumberFormatInfo();
         f000056 = true;
         f00009a = new List<string>();
     }
     catch (Exception exception3)
     {
         exception = exception3;
         MessageBox.Show("Error wrapping up GuiManager creation");
     }
     m0000b2();
 }
Ejemplo n.º 2
0
 public static void m0000b5(c000068 p0, bool p1)
 {
     if (f00002b.Contains(p0))
     {
         f00002b.Remove(p0);
     }
     else if (f000090.Contains(p0))
     {
         p0.m0000c0(false);
         f000090.Remove(p0);
     }
     else if (f000092.Contains(p0))
     {
         f000092.Remove(p0);
     }
     p0.m0002da(p1);
     if (c000072.m0000be() == p0)
     {
         c000072.m0000bf(null);
     }
 }
Ejemplo n.º 3
0
 private void m0000b3(c000068 p0)
 {
     this.f000019.m0003b9("");
     List<string> list = ((c000113) p0).m00008a();
     if (list.Count != 0)
     {
         this.f00088e = this.f00000e;
         this.f000019.m0003b9(list[0]);
         this.f00000e = ((c000113) p0).m0003ce()[0];
     }
     if (this.f000059 != null)
     {
         this.f000059(this);
     }
     c000070.m0000b5(p0, true);
     p0.m0000c0(false);
 }