LoadHitlist() public method

public LoadHitlist ( uint id ) : void
id uint
return void
コード例 #1
0
        /// <summary>
        /// Choose a global hitlist, or 0 for the one local to the track (source: defaultsyms.txt).
        /// </summary>
        public static HITResult SmartSetList(HITThread thread)
        { //sets the hitlist
            var src = thread.ReadByte();

            thread.LoadHitlist((uint)thread.ReadVar(src));

            return(HITResult.CONTINUE);
        }
コード例 #2
0
        /// <summary>
        /// Load a track ("index" variable) from a hitlist ("table" variable).
        /// </summary>
        public static HITResult SmartIndex(HITThread thread)
        {
            var dest  = thread.ReadVar(thread.ReadByte());
            var index = thread.ReadVar(thread.ReadByte());

            thread.LoadHitlist((byte)index);
            int TrackID = (int)thread.LoadTrack(index);

            thread.WriteVar(dest, TrackID);

            return(HITResult.CONTINUE); //Appears to be unused.
        }
コード例 #3
0
        /// <summary>
        /// Load a track ("index" variable) from a hitlist ("table" variable).
        /// </summary>
        public static HITResult SmartIndex(HITThread thread)
        {
            var dest  = thread.ReadVar(thread.ReadByte());
            var index = thread.ReadVar(thread.ReadByte());

            thread.LoadHitlist((byte)index);
            //Converting this to an int is a hack because WriteVar only takes an int... o_O
            int TrackID = (int)thread.LoadTrack(index);

            thread.WriteVar(dest, TrackID);

            return(HITResult.CONTINUE); //Appears to be unused.
        }
コード例 #4
0
ファイル: HITInterpreter.cs プロジェクト: RHY3756547/FreeSO
        /// <summary>
        /// Choose a global hitlist, or 0 for the one local to the track (source: defaultsyms.txt).
        /// </summary>
        public static HITResult SmartSetList(HITThread thread)
        {
            //sets the hitlist
            var src = thread.ReadByte();
            thread.LoadHitlist((uint)thread.ReadVar(src));

            return HITResult.CONTINUE;
        }
コード例 #5
0
ファイル: HITInterpreter.cs プロジェクト: RHY3756547/FreeSO
        /// <summary>
        /// Load a track ("index" variable) from a hitlist ("table" variable).
        /// </summary>
        public static HITResult SmartIndex(HITThread thread)
        {
            var dest = thread.ReadVar(thread.ReadByte());
            var index = thread.ReadVar(thread.ReadByte());

            thread.LoadHitlist((byte)index);
            //Converting this to an int is a hack because WriteVar only takes an int... o_O
            int TrackID = (int)thread.LoadTrack(index);

            thread.WriteVar(dest, TrackID);

            return HITResult.CONTINUE; //Appears to be unused.
        }