Inheritance: Microsoft.Xna.Framework.Content.Pipeline.ContentBuildLogger
Exemple #1
0
        public Builder()
        {
            InitializeComponent();

            //Setup other components
            viewDeviceTypeClick(windowsToolStripMenuItem, null);

            //Prepare for game system
            log = new ContentPipelineFake.FakeContentLogger(1);
            games = new List<GameData>();
        }
Exemple #2
0
 static void Main()
 {
     FakeContentLogger logger = new FakeContentLogger(0);
     logger.LogMessage("Starting SGDeB");
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     if (Process.GetProcessesByName("SGDeB").Length > 1)
     {
         logger.LogMessage("SGDeB is already running");
         MessageBox.Show("SGDeB is already running", "Already Running", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
     else
     {
         logger.LogMessage("Opening SGDeB");
         Application.Run(new Builder());
     }
     logger.LogMessage("Closing SGDeB");
 }
Exemple #3
0
 private void LoadGame(string file)
 {
     FakeContentLogger logger = new FakeContentLogger(2);
     //TODO: Take into account the other target platforms
     Game gameContent = (Game)DataUtil.LoadContent(file, logger, ContentTypes.Game);
     DataUtil.SaveContent(@"C:\Users\Class2014\Documents\Visual Studio\C#\XNA\Stevens Game Dev Club\Projects\Demos\TestDemo\TestDemo\Bla.sgde", gameContent);
     //Load the game content
     this.width = gameContent.Width;
     this.height = gameContent.Height;
     //TODO
     this.title = gameContent.Title;
     //TODO
 }
Exemple #4
0
 private void SaveGame(string file)
 {
     FakeContentLogger logger = new FakeContentLogger(2);
     //TODO
 }