コード例 #1
0
        public Player_V2A(ScummEngine scumm, IPlayerMod modPlayer)
        {
            _vm = scumm;

            _mod = modPlayer;
            _mod.SetUpdateProc(UpdateSound, 60);
        }
コード例 #2
0
ファイル: Player_V2A.cs プロジェクト: scemino/nscumm
        public Player_V2A(ScummEngine scumm, IPlayerMod modPlayer)
        {
            _vm = scumm;

            _mod = modPlayer;
            _mod.SetUpdateProc(UpdateSound, 60);
        }
コード例 #3
0
ファイル: Player_V3A.cs プロジェクト: scemino/nscumm
        public Player_V3A(ScummEngine scumm, IPlayerMod mod)
        {
            _vm = scumm;
            for (var i = 0; i < V3A_MAXMUS; i++)
            {
                _mus[i].id = 0;
                _mus[i].dur = 0;
            }
            for (var i = 0; i < V3A_MAXSFX; i++)
            {
                _sfx[i].id = 0;
                _sfx[i].dur = 0;
            }

            _curSong = 0;
            _songData = null;
            _songPtr = 0;
            _songDelay = 0;

            _music_timer = 0;

            _isinit = false;

            _mod = mod;
            _mod.SetUpdateProc(playMusic, 60);
        }
コード例 #4
0
        public Player_V3A(ScummEngine scumm, IPlayerMod mod)
        {
            _vm = scumm;
            for (var i = 0; i < V3A_MAXMUS; i++)
            {
                _mus[i].id  = 0;
                _mus[i].dur = 0;
            }
            for (var i = 0; i < V3A_MAXSFX; i++)
            {
                _sfx[i].id  = 0;
                _sfx[i].dur = 0;
            }

            _curSong   = 0;
            _songData  = null;
            _songPtr   = 0;
            _songDelay = 0;

            _music_timer = 0;

            _isinit = false;

            _mod = mod;
            _mod.SetUpdateProc(playMusic, 60);
        }