コード例 #1
0
        public void init()
        {
            keys   = new savekey[4];
            screen = new int[2];

            compatibleversion = 0x00033747;
            gamma             = 0;
            brightness        = 0;
            usejoy            = 1;
            showtitles        = 0;
            logo       = 0;
            mode       = 1;
            windowpos  = 0;
            soundvol   = 15;
            musicvol   = 100;
            effectvol  = 120;
            debuginfo  = 0;
            usemusic   = 1;
            uselog     = 1;
            stretch    = 0;
            videoNTSC  = 0;
            fullscreen = 1;
            usegl      = new int[2];
            usegl[0]   = 1;
            usegl[1]   = 1;
            usesound   = 1;
            soundrate  = 44100;
            soundbits  = 16;
            glscale    = 2.000000f;
            glfilter   = new int[2];
        }
コード例 #2
0
        public void init()
        {
            keys      = new savekey[4];
            joyrumble = new int[4];
            screen    = new int[2];

            compatibleversion = 0x00033748;
            gamma             = 0;
            brightness        = 0;
            usejoy            = 1;
            showtitles        = 0;
            logo       = 0;
            mode       = 1;
            windowpos  = 0;
            soundvol   = 15;
            musicvol   = 100;
            effectvol  = 120;
            debuginfo  = 0;
            usemusic   = 1;
            uselog     = 1;
            stretch    = 0;
            hwscale    = 2.0f;
            hwfilter   = 1;
            videoNTSC  = 0;
            swfilter   = 0;
            fullscreen = 1;
            vsync      = 1;
            usegl      = 1;
        }