Exemplo n.º 1
0
        public Player_V2A(ScummEngine scumm, IPlayerMod modPlayer)
        {
            _vm = scumm;

            _mod = modPlayer;
            _mod.SetUpdateProc(UpdateSound, 60);
        }
Exemplo n.º 2
0
        public Player_V2A(ScummEngine scumm, IPlayerMod modPlayer)
        {
            _vm = scumm;

            _mod = modPlayer;
            _mod.SetUpdateProc(UpdateSound, 60);
        }
Exemplo n.º 3
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);
        }
Exemplo n.º 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);
        }