示例#1
0
 public c0000a6 m0000c4(string p0)
 {
     c000128 c;
     c0000a6 ca = new c0000a6();
     ca.m000141(base.f000031);
     ca.m000142(base.f000033);
     ca.m000143(base.f000035);
     ca.m000025(base.f000037);
     ca.m000029(base.f0000a4);
     ca.m00002d(base.f0000a5);
     ca.f000067.X = base.f0000f0;
     ca.f000067.Y = base.f0000f1;
     ca.f000067.Z = base.f0000f2;
     ca.m000260(base.f0000f3);
     ca.m000261(base.f0000f4);
     ca.m000262(base.f0000f5);
     ca.m000080(base.f000006);
     ca.m00007f(base.f000007);
     ca.m000268(base.f0000a6);
     ca.m000267(base.f0000a7);
     ca.m000265(base.f0000a8);
     ca.m000140(base.f00010b);
     ca.m000051(base.f000001);
     ca.m000354(base.f00000a);
     ca.m0000c0(base.f000056);
     if (this.f00004f != null)
     {
         c = new c000128(this.f00004f, this.f000006);
         ca.m0000c2(c);
     }
     else if (!string.IsNullOrEmpty(base.f00002f))
     {
         c = new c000128(base.f00002f, base.f0000d7, p0);
         ca.m0000c2(c);
     }
     else
     {
         ca.m0000c2(c000073.m00009c());
     }
     c00015e.m000246(ca, base.f0000a9, base.f0000aa, base.f0000ef, base.f0000d8);
     return ca;
 }
示例#2
0
 public c00006a(c00006e p0, c000069 p1)
     : base(p0, p1)
 {
     this.f00000a = true;
     this.f000001 = enum0d7.f000043;
     this.f00008a = p0.m000099();
     this.f00008c = p0.m00009a();
     this.f000059 = c000073.m0000c5(this.m000092(), p0.m000099().f00008e);
     this.f000059.m000051(enum078.f000044);
     this.f000059.m000140(enum0e7.f000151);
     this.f000059.m00033f(base.f00002c, false);
     this.f000059.m00025c(-0.001f * c000076.f000066.Z);
     this.m0002e4(this.f00008a);
     this.m000375(1f);
     this.m000376(1f);
 }
示例#3
0
 public override void m0002a2(c00006e p0)
 {
     if (this.f000059 == null)
     {
         this.f000059 = c000073.m0000c4(this.f000006);
         base.m0002db(false);
     }
 }
示例#4
0
 public static void m0000d0(c0000a6 p0)
 {
     if (p0 != null)
     {
         p0.m000001();
         p0.m000031();
     }
 }
示例#5
0
 public static float m0000ce(c0000a6 p0)
 {
     if (p0 == null)
     {
         return 0f;
     }
     return m0000cc(p0.m000092(), p0.m00015d(), p0.m00009c());
 }
示例#6
0
 public static c0000a6 m0000c6(string p0, c000054 p1)
 {
     if (p1 == null)
     {
         return m0000c5(p0, m00009c());
     }
     if (m00009c() == null)
     {
         throw new InvalidOperationException("Cannot create Text object because the TextManager's DefaultFont has not been set.");
     }
     c0000a6 ca = new c0000a6(m00009c());
     ca.m000080(p0);
     if (p1.m00009f() != null)
     {
         ca.m00010b(p1.m00009f());
     }
     else
     {
         ca.m00010b(c000052.m00009f());
     }
     p1.m0000d0(ca);
     f00003a.Add(ca);
     return ca;
 }
示例#7
0
 public static c0000a6 m0000c5(string p0, c000128 p1)
 {
     c0000a6 ca = new c0000a6(p1);
     ca.m000080(p0);
     ca.m0002db(true);
     f000039.Add(ca);
     f00003a.Add(ca);
     ca.m00010b(c000052.m00009f());
     return ca;
 }
示例#8
0
 protected override void Initialize()
 {
     c000074.m0000d8(this, this.gdm);
     c000070.m00004c(false);
     Renderer.m00004c(false);
     c000052.m00009f().f000051 = Microsoft.Xna.Framework.Graphics.Color.Black;
     c000074.m00004c(false);
     c000052.m00009f().m000356(true);
     c000052.m00009f().m000268((float) c000074.m00000f());
     c000052.m00009f().m000269((float) c000074.m000010());
     f000030 = new Vector2(((float) c000074.m00000f()) / 2f, ((float) c000074.m000010()) / 2f);
     curRectangle = new Rectangle(0, 0, c000074.m00000f(), c000074.m000010());
     f00000b = f00000f = 0;
     this.f00002d = this.m00006f();
     this.m000031();
     this.curSpriteBatch = new SpriteBatch(base.GraphicsDevice);
     this.f00002d.m000001();
     if (ShowFpsType == ShowFpsTypeEnum.f000052)
     {
         this.f000059 = c000073.m0000c4("");
         this.f000059.m000143(20f);
         this.f000059.m000268(15f);
         this.f000059.m00038a(1f, 1f, 0f);
         this.f000059.m000267(15f);
     }
     base.Initialize();
 }
示例#9
0
 public override void m000001()
 {
     base.m000047();
     this.f00008a = new c000221(this, this.f000017);
     this.f00008a.m000001();
     this.f000063 = DateTime.Now;
     this.f000258 = new List<TimeSpan>(7);
     if (c00027b.m00009f().m000018() == enum0279.f000019)
     {
         this.f000258.Add(TimeSpan.FromMilliseconds(100.0));
         this.f000258.Add(TimeSpan.FromMilliseconds(300.0));
         this.f000258.Add(TimeSpan.FromMilliseconds(500.0));
         this.f000258.Add(TimeSpan.FromMilliseconds(600.0));
         this.f000258.Add(TimeSpan.FromMilliseconds(700.0));
         this.f000258.Add(TimeSpan.FromMilliseconds(700.0));
         this.f000258.Add(TimeSpan.FromMilliseconds(700.0));
     }
     else
     {
         this.f000258.Add(TimeSpan.FromMilliseconds(100.0));
         this.f000258.Add(TimeSpan.FromMilliseconds(300.0));
         this.f000258.Add(TimeSpan.FromMilliseconds(300.0));
         this.f000258.Add(TimeSpan.FromMilliseconds(300.0));
         this.f000258.Add(TimeSpan.FromMilliseconds(300.0));
         this.f000258.Add(TimeSpan.FromMilliseconds(300.0));
         this.f000258.Add(TimeSpan.FromMilliseconds(300.0));
     }
     this.f000034 = this.f00002c.m000035(this.f00008a.m000022() + new Vector2(0f, 260f));
     this.m0000b1();
     this.m0000b0();
     this.f00010b = new c000219(this.f000017, this);
     this.f00010b.m000001();
     this.f00002b = new c00024a(this);
     this.f00002b.m000001();
     this.f000039 = new c000238(this);
     this.f000039.m000001();
     this.f00008e = new struct0207(this.f00002c.m00029f().m000319());
     if (c000037.f000028 == enum036.f000053)
     {
         this.f000059 = c000073.m0000c4("");
         this.f000059.m00002d(-this.f00002c.m000036(0f));
         Vector2 vector = new Vector2(360f, 260f);
         vector = this.f00002c.m000035(vector);
         this.f000059.f000066 = new Vector3(c000029.m000035(vector), 20f);
         this.f000059.m000268(8f);
         this.f000059.m00038a(1f, 1f, 0f);
         this.f000059.m000267(12f);
         if (this.f00002c.m00013c() == enum0214.f00009e)
         {
             this.f00005b = new List<c0000a6>();
             for (int i = 0; i < 9; i++)
             {
                 this.f00005b.Add(c000073.m0000c4(""));
                 vector = new Vector2(280f, (float) (0x14e + (20 * i)));
                 this.f00005b[i].f000066 = new Vector3(c000029.m000035(vector), 20f);
                 this.f00005b[i].m000268(8f);
                 this.f00005b[i].m00038a(1f, 1f, 0f);
                 this.f00005b[i].m000267(12f);
             }
         }
     }
     if (f00003e == null)
     {
         if (c00027b.m00009f().m00009d() == enum0276.f000001)
         {
             f00003e = c000031.m000059(@"Image\timeInfo");
         }
         else
         {
             f00003e = c000031.m000059(@"Image\EImage\timeInfo");
         }
     }
     this.f00013c = new c000029(this.f00002c);
     this.f0001ab = new c000029(this.f00002c);
     this.f00013c.m000023(new Vector2(this.f00008a.m000022().X + 200f, this.f00008a.m000022().Y - 100f));
     this.f00013c.m000030(c000031.m000053(f00003e[10]));
     this.f00013c.m00002f().m000143(2.8f);
     this.f0001ab.m000023(new Vector2((this.f00008a.m000022().X + 290f) - 33f, (this.f00008a.m000022().Y - 100f) + 14f));
     this.f0001ab.m000030(c000031.m000053(f00003e[0]));
     this.f0001ab.m00002f().m000143(2.8f);
 }
示例#10
0
 public bool m000235(c0000a6 p0)
 {
     return ((((p0.m00009c().m000064() != this.m000064()) || (p0.m0003b4() != this.f00002b)) || (p0.m0000a3() != this.f00002c)) || (this.f0000d5 != TextureAddressMode.Clamp));
 }