Beispiel #1
0
        public override RomRange[] GetAllPatternOffsets()
        {
            var patternData = Rom.PatternGroupOffsets;

            RomRange[] result = new RomRange[patternData.Count];

            for (int i = 0; i < patternData.Count; i++)
            {
                result[i] = new RomRange(patternData[i].Offset, patternData[i].ByteCount);
            }

            return(result);
        }
Beispiel #2
0
        public override RomRange[] GetAllPatternOffsets()
        {
            RomRange[] Result = new RomRange[] {
                RomRangeFrom(ExpandoPatternOffsets.BrinstarBg),
                RomRangeFrom(ExpandoPatternOffsets.BrinstarSpr),
                RomRangeFrom(ExpandoPatternOffsets.NorfairBg),
                RomRangeFrom(ExpandoPatternOffsets.NorfairSpr),
                RomRangeFrom(ExpandoPatternOffsets.RidleyBg),
                RomRangeFrom(ExpandoPatternOffsets.RidleySpr),
                RomRangeFrom(ExpandoPatternOffsets.TourianBg),
                RomRangeFrom(ExpandoPatternOffsets.TourianSpr),
                RomRangeFrom(ExpandoPatternOffsets.KraidBg),
                RomRangeFrom(ExpandoPatternOffsets.KraidSpr),
                RomRangeFrom(ExpandoPatternOffsets.DigitSprites),
                RomRangeFrom(ExpandoPatternOffsets.GlobalGameplaySprites),
            };

            return(Result);
        }