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; //} }
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; } }
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); } }
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; //} }
private void StandardSystemSetup() { rb = new RogueBase(); rb.SetupSystem(); //Minimum debug if(Game.Config.DebugMode) LogFile.Log.DebugLevel = 4; else LogFile.Log.DebugLevel = 1; }
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; }