void PrepareLoading()
    {
        loading = new SHGUIview();
        SHGUIsprite s = new SHGUIsprite();

        s.AddFrame("Loading |");
        s.AddFrame("Loading /");
        s.AddFrame("Loading -");
        s.AddFrame("Loading \\");

        s.loops          = true;
        s.animationSpeed = .1f;

        s.x = 32 - 5;
        s.y = 11;

        loading.AddSubView(s);

        //	loading.hidden = true;

        //AddSubView (loading);
    }
 public static void TreeDudeSequence(SHGUIsprite s, string sequence)
 {
     for (int i = 0; i < sequence.Length; ++i)
     {
         if (sequence[i] == '|')
         {
             s.AddFrame("");
         }
         else if (sequence[i] == 'T')
         {
             s.AddFrame("\n" + SHGUI.current.GetASCIIartFromFont("TREE"));
         }
         else if (sequence[i] == 'D')
         {
             s.AddFrame("\n" + SHGUI.current.GetASCIIartFromFont("DUDE"));
         }
         else if (sequence[i] == '%')
         {
             s.AddFrame("\n" + SHGUI.current.GetASCIIartFromFont("DEAD"));
         }
         else if (sequence[i] == '0')
         {
             s.AddSpecyficFrameFromFile("APPtreedudedude", 6, 0);
         }
         else if (sequence[i] == '1')
         {
             s.AddSpecyficFrameFromFile("APPtreedudedude", 6, 1);
         }
         else if (sequence[i] == '2')
         {
             s.AddSpecyficFrameFromFile("APPtreedudedude", 6, 2);
         }
         else if (sequence[i] == '3')
         {
             s.AddSpecyficFrameFromFile("APPtreedudedude", 6, 3);
         }
     }
 }