Ejemplo n.º 1
0
        public MiswGame2008(bool fullscreen, int startLevel)
        {
            FileArchiverZip zip = new FileArchiverZip();

            zip.ZipExtName = ".bin";
            FileSys.AddArchiver(zip);
            window = new SDLWindow();
            window.SetCaption("DTF");
            window.BeginScreenTest();
            if (fullscreen)
            {
                window.TestVideoMode(640, 480, 32);
                window.TestVideoMode(640, 480, 16);
            }
            else
            {
                window.TestVideoMode(640, 480, 0);
            }
            window.EndScreenTest();
            graphics = new SdlGraphics(window);
            audio    = new SdlAudio();
            input    = new SdlInput(fullscreen);

            this.startLevel = startLevel;
        }
Ejemplo n.º 2
0
 public void CreateWindow(bool fullscreen)
 {
     window = new SDLWindow();
     window.SetCaption("混沌物語");
     window.BeginScreenTest();
     if (fullscreen)
     {
         window.TestVideoMode(Settings.SCREEN_WIDTH, Settings.SCREEN_HEIGHT, 32);
         window.TestVideoMode(Settings.SCREEN_WIDTH, Settings.SCREEN_HEIGHT, 16);
     }
     window.TestVideoMode(Settings.SCREEN_WIDTH, Settings.SCREEN_HEIGHT, 0);
     window.EndScreenTest();
 }
Ejemplo n.º 3
0
        public MiswGame2008(bool fullscreen, int startLevel)
        {
            FileArchiverZip zip = new FileArchiverZip();
            zip.ZipExtName = ".bin";
            FileSys.AddArchiver(zip);
            window = new SDLWindow();
            window.SetCaption("DTF");
            window.BeginScreenTest();
            if (fullscreen)
            {
                window.TestVideoMode(640, 480, 32);
                window.TestVideoMode(640, 480, 16);
            }
            else
            {
                window.TestVideoMode(640, 480, 0);
            }
            window.EndScreenTest();
            graphics = new SdlGraphics(window);
            audio = new SdlAudio();
            input = new SdlInput(fullscreen);

            this.startLevel = startLevel;
        }
Ejemplo n.º 4
0
 public void CreateWindow(bool fullscreen)
 {
     window = new SDLWindow();
     window.SetCaption("���ו���");
     window.BeginScreenTest();
     if (fullscreen)
     {
         window.TestVideoMode(Settings.SCREEN_WIDTH, Settings.SCREEN_HEIGHT, 32);
         window.TestVideoMode(Settings.SCREEN_WIDTH, Settings.SCREEN_HEIGHT, 16);
     }
     window.TestVideoMode(Settings.SCREEN_WIDTH, Settings.SCREEN_HEIGHT, 0);
     window.EndScreenTest();
 }