Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (Properities.Beatmap.CurrentIndex - (Properities.Mouse.ScrollState / 120) * -1 <= Properities.BeatmapCount.BeatmapDictionariesAvailable && Properities.Beatmap.CurrentIndex - (Properities.Mouse.ScrollState / 120) * -1 >= 1)
- {
- FOCUS = Properities.Beatmap.CurrentIndex - (Properities.Mouse.ScrollState / 120) * -1;
- }
- zaehler = 0;
- foreach (Properities.Beatmap bm in Properities.Beatmap.dictionaries)
- {
- if (bm.DictionaryId >= FOCUS && zaehler < MAX_BUTTONS)
- {
- Properities.TextureRectangles.songbutton[bm.DictionaryId] = new Rectangle(400, 90 + (94*zaehler), 712, 114);
- spriteBatch.Draw(Textures.InitializeTextures.songbutton, Properities.TextureRectangles.songbutton[bm.DictionaryId], Color.White);
- zaehler = zaehler + 1;
- if (bm.DictionaryId == Properities.Beatmap.CurrentIndex)
- {
- foreach (Properities.Beatmap bms in Properities.Beatmap.beatmaps)
- {
- if (bms.DictionaryId == bm.DictionaryId && zaehler < MAX_BUTTONS)
- {
- Properities.TextureRectangles.songbuttonsub[bms.BeatmapId] = new Rectangle(420, 90 + (94 * zaehler), 712, 114);
- spriteBatch.Draw(Textures.InitializeTextures.songbuttonsub, Properities.TextureRectangles.songbuttonsub[bms.BeatmapId], Color.White);
- zaehler = zaehler + 1;
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement