예제 #1
0
 static int Main(string [] args)
 {
     //try
     //{
         using (RogueBase d = new RogueBase())
         {
             return d.Run(args);
         }
        // }
     //catch (Exception e)
     //{
      //   MessageBox.Show("Error occurred, please check the log file. Terminating. Error: " + e.Message);
      //   return 1;
     //}
 }
예제 #2
0
 static int Main(string [] args)
 {
     try
     {
         using (RogueBase d = new RogueBase())
         {
             return d.Run(args);
         }
     }
     catch (Exception e)
     {
         MessageBox.Show("Error occurred: " + e.Message);
         return 1;
     }
 }
예제 #3
0
파일: Program.cs 프로젝트: vrum/roguelike
 static int Main(string [] args)
 {
     try
     {
         using (RogueBase d = new RogueBase())
         {
             return(d.Run(args));
         }
     }
     catch (Exception e)
     {
         MessageBox.Show("Error occurred: " + e.Message);
         return(1);
     }
 }
예제 #4
0
파일: Program.cs 프로젝트: vrum/roguelike
 static int Main(string [] args)
 {
     //try
     //{
     using (RogueBase d = new RogueBase())
     {
         return(d.Run(args));
     }
     // }
     //catch (Exception e)
     //{
     //   MessageBox.Show("Error occurred, please check the log file. Terminating. Error: " + e.Message);
     //   return 1;
     //}
 }
예제 #5
0
        private void StandardSystemSetup()
        {
            rb = new RogueBase();
            rb.SetupSystem();

            //Minimum debug
            if(Game.Config.DebugMode)
                LogFile.Log.DebugLevel = 4;
            else
                LogFile.Log.DebugLevel = 1;
        }
예제 #6
0
        private void StandardGameSetup()
        {
            rb = new RogueBase();
            rb.SetupSystem();

            Game.Dungeon = new Dungeon();

            Game.Dungeon.Player.LocationLevel = 0;

            Screen.Instance.SeeAllMonsters = true;
            Screen.Instance.SeeAllMap = true;
        }