public override void Draw2() { spriteBatch.Draw(SK.texture_background_slotmachine1, SK.Position_DisplayEdge() + new Vector2(SK.Get_GridSize().X / 2 - SK.texture_background_slotmachine1.Width / 2, 0), Color.White); if (active_spin) { spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(8, 0 - 120 * 4 - pos_wheel1), new Rectangle(1 + (116 * grid[0, 0]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(8, 0 - 120 * 3 - pos_wheel1), new Rectangle(1 + (116 * grid[1, 0]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(8, 0 - 120 * 2 - pos_wheel1), new Rectangle(1 + (116 * grid[2, 0]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(8, 0 - 120 * 1 - pos_wheel1), new Rectangle(1 + (116 * grid[3, 0]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(8, 0 - pos_wheel1), new Rectangle(1 + (116 * grid[4, 0]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(8, 0 + 120 * 1 - pos_wheel1), new Rectangle(1 + (116 * grid[5, 0]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(8, 0 + 120 * 2 - pos_wheel1), new Rectangle(1 + (116 * grid[6, 0]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(8, 0 + 120 * 3 - pos_wheel1), new Rectangle(1 + (116 * grid[7, 0]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(8, 0 + 120 * 4 - pos_wheel1), new Rectangle(1 + (116 * grid[8, 0]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row2() + new Vector2(8, 0 - 120 * 4 - pos_wheel2), new Rectangle(1 + (116 * grid[0, 1]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row2() + new Vector2(8, 0 - 120 * 3 - pos_wheel2), new Rectangle(1 + (116 * grid[1, 1]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row2() + new Vector2(8, 0 - 120 * 2 - pos_wheel2), new Rectangle(1 + (116 * grid[2, 1]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row2() + new Vector2(8, 0 - 120 * 1 - pos_wheel2), new Rectangle(1 + (116 * grid[3, 1]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row2() + new Vector2(8, 0 - pos_wheel2), new Rectangle(1 + (116 * grid[4, 1]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row2() + new Vector2(8, 0 + 120 * 1 - pos_wheel2), new Rectangle(1 + (116 * grid[5, 1]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row2() + new Vector2(8, 0 + 120 * 2 - pos_wheel2), new Rectangle(1 + (116 * grid[6, 1]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row2() + new Vector2(8, 0 + 120 * 3 - pos_wheel2), new Rectangle(1 + (116 * grid[7, 1]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row2() + new Vector2(8, 0 + 120 * 4 - pos_wheel2), new Rectangle(1 + (116 * grid[8, 1]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row3() + new Vector2(8, 0 - 120 * 4 - pos_wheel3), new Rectangle(1 + (116 * grid[0, 2]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row3() + new Vector2(8, 0 - 120 * 3 - pos_wheel3), new Rectangle(1 + (116 * grid[1, 2]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row3() + new Vector2(8, 0 - 120 * 2 - pos_wheel3), new Rectangle(1 + (116 * grid[2, 2]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row3() + new Vector2(8, 0 - 120 * 1 - pos_wheel3), new Rectangle(1 + (116 * grid[3, 2]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row3() + new Vector2(8, 0 - pos_wheel3), new Rectangle(1 + (116 * grid[4, 2]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row3() + new Vector2(8, 0 + 120 * 1 - pos_wheel3), new Rectangle(1 + (116 * grid[5, 2]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row3() + new Vector2(8, 0 + 120 * 2 - pos_wheel3), new Rectangle(1 + (116 * grid[6, 2]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row3() + new Vector2(8, 0 + 120 * 3 - pos_wheel3), new Rectangle(1 + (116 * grid[7, 2]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); spriteBatch.Draw(SK.texture_spritesheet_slotmachine, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row3() + new Vector2(8, 0 + 120 * 4 - pos_wheel3), new Rectangle(1 + (116 * grid[8, 2]), 1, 115, 115), Color.White, 0.0f, new Vector2(0, 0), 1, SpriteEffects.None, 0.0f); } if (end) { if (active_line1) { spriteBatch.Draw(SK.texture_static_slotmachine_line1, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(0, 40 - SK.Position_SlotMachine_Row1().Y), Color.White); } if (active_line2) { spriteBatch.Draw(SK.texture_static_slotmachine_line2, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(0, 40 - SK.Position_SlotMachine_Row1().Y), Color.White); } if (active_line3) { spriteBatch.Draw(SK.texture_static_slotmachine_line3, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(0, 40 - SK.Position_SlotMachine_Row1().Y), Color.White); } if (active_line4) { spriteBatch.Draw(SK.texture_static_slotmachine_line4, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(0, 40 - SK.Position_SlotMachine_Row1().Y), Color.White); } if (active_line5) { spriteBatch.Draw(SK.texture_static_slotmachine_line5, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(0, 40 - SK.Position_SlotMachine_Row1().Y), Color.White); } } if (SK.orientation <= 2) { spriteBatch.Draw(SK.texture_background_slotmachine2, new Vector2(SK.Position_DisplayEdge().X, SK.Position_DisplayEdge().Y - 5), Color.White); } else { spriteBatch.Draw(SK.texture_background_slotmachine2, new Vector2(SK.Position_DisplayEdge().X - 80, SK.Position_DisplayEdge().Y - 5), Color.White); } if (multi >= 1) { spriteBatch.Draw(SK.texture_static_slotmachine_point1, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(0, 243 - SK.Position_SlotMachine_Row1().Y), Color.White); } if (multi >= 2) { spriteBatch.Draw(SK.texture_static_slotmachine_point2, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(0, 142 - SK.Position_SlotMachine_Row1().Y), Color.White); } if (multi >= 3) { spriteBatch.Draw(SK.texture_static_slotmachine_point3, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(0, 346 - SK.Position_SlotMachine_Row1().Y), Color.White); } if (multi >= 4) { spriteBatch.Draw(SK.texture_static_slotmachine_point4, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(0, 35 - SK.Position_SlotMachine_Row1().Y), Color.White); } if (multi >= 5) { spriteBatch.Draw(SK.texture_static_slotmachine_point5, SK.Position_DisplayEdge() + SK.Position_SlotMachine_Row1() + new Vector2(0, 455 - SK.Position_SlotMachine_Row1().Y), Color.White); } if (!active_spin && !end) { spriteBatch.Draw(SK.texture_casino_bet_grid, SK.Position_DisplayEdge() + SK.Position_Bet_Grid(), Color.White); spriteBatch.Draw(SK.texture_menu_grid_full, SK.Position_DisplayEdge() + SK.Position_Bet_Minus(), Color.White); spriteBatch.Draw(SK.texture_menu_grid_full, SK.Position_DisplayEdge() + SK.Position_Bet_Plus(), Color.White); spriteBatch.Draw(SK.texture_casino_bet_minus, SK.Position_DisplayEdge() + SK.Position_Bet_Minus() + Get_PMVario(0), Color.White); if (betmulti >= 1) { spriteBatch.Draw(SK.texture_casino_bet_minus, SK.Position_DisplayEdge() + SK.Position_Bet_Minus() + Get_PMVario(1), Color.White); } if (betmulti >= 2) { spriteBatch.Draw(SK.texture_casino_bet_minus, SK.Position_DisplayEdge() + SK.Position_Bet_Minus() + Get_PMVario(2), Color.White); } if (betmulti >= 3) { spriteBatch.Draw(SK.texture_casino_bet_minus, SK.Position_DisplayEdge() + SK.Position_Bet_Minus() + Get_PMVario(3), Color.White); } if (betmulti >= 4) { spriteBatch.Draw(SK.texture_casino_bet_minus, SK.Position_DisplayEdge() + SK.Position_Bet_Minus() + Get_PMVario(4), Color.White); } spriteBatch.Draw(SK.texture_casino_bet_plus, SK.Position_DisplayEdge() + SK.Position_Bet_Plus() + Get_PMVario(0), Color.White); if (betmulti >= 1) { spriteBatch.Draw(SK.texture_casino_bet_plus, SK.Position_DisplayEdge() + SK.Position_Bet_Plus() + Get_PMVario(1), Color.White); } if (betmulti >= 2) { spriteBatch.Draw(SK.texture_casino_bet_plus, SK.Position_DisplayEdge() + SK.Position_Bet_Plus() + Get_PMVario(2), Color.White); } if (betmulti >= 3) { spriteBatch.Draw(SK.texture_casino_bet_plus, SK.Position_DisplayEdge() + SK.Position_Bet_Plus() + Get_PMVario(3), Color.White); } if (betmulti >= 4) { spriteBatch.Draw(SK.texture_casino_bet_plus, SK.Position_DisplayEdge() + SK.Position_Bet_Plus() + Get_PMVario(4), Color.White); } spriteBatch.Draw(SK.texture_casino_bet_up, SK.Position_DisplayEdge() + SK.Position_Bet_Up1(), Color.White); spriteBatch.Draw(SK.texture_casino_bet_up, SK.Position_DisplayEdge() + SK.Position_Bet_Up2(), Color.White); spriteBatch.Draw(SK.texture_casino_bet_down, SK.Position_DisplayEdge() + SK.Position_Bet_Down1(), Color.White); spriteBatch.Draw(SK.texture_casino_bet_down, SK.Position_DisplayEdge() + SK.Position_Bet_Down2(), Color.White); spriteBatch.Draw(SK.texture_casino_bet_left, SK.Position_DisplayEdge() + SK.Position_Bet_Left(), Color.White); spriteBatch.Draw(SK.texture_casino_bet_right, SK.Position_DisplayEdge() + SK.Position_Bet_Right(), Color.White); if (selector_bet == 0) { spriteBatch.Draw(SK.texture_menu_grid_full, SK.Position_DisplayEdge() + SK.Position_Bet_Minus(), Color.Red * 0.50f); } if (selector_bet == 1) { spriteBatch.Draw(SK.texture_menu_grid_full, SK.Position_DisplayEdge() + SK.Position_Bet_Plus(), Color.Red * 0.50f); } spriteBatch.DrawString(SK.font_score, "BET:", SK.Position_DisplayEdge() + SK.Position_Bet_Grid() + new Vector2(50, 45), Color.Black); spriteBatch.DrawString(SK.font_score, "COIN:", SK.Position_DisplayEdge() + SK.Position_Bet_Grid() + new Vector2(50, 120 - SK.font_score.MeasureString("COIN:").Y), Color.DarkGoldenrod); spriteBatch.DrawString(SK.font_score, multi + "x" + bet, SK.Position_DisplayEdge() + SK.Position_Bet_Grid() + new Vector2(235 - SK.font_score.MeasureString(multi + "x" + bet).X, 45), Color.Black); spriteBatch.DrawString(SK.font_score, "" + coins_old, SK.Position_DisplayEdge() + SK.Position_Bet_Grid() + new Vector2(235, 120) - SK.font_score.MeasureString("" + coins_old), Color.DarkGoldenrod); } if (active_spin || end) { spriteBatch.Draw(SK.texture_casino_bet_grid, SK.Position_DisplayEdge() + SK.Position_Bet_Grid3(), Color.White); } if (active_spin && !end) { spriteBatch.DrawString(SK.font_score, multi + "x" + bet, SK.Position_DisplayEdge() + SK.Position_Bet_Grid3() + new Vector2(235 - SK.font_score.MeasureString(multi + "x" + bet).X, 45), Color.Black); spriteBatch.DrawString(SK.font_score, "" + coins_old, SK.Position_DisplayEdge() + SK.Position_Bet_Grid3() + new Vector2(235, 120) - SK.font_score.MeasureString("" + coins_old), Color.DarkGoldenrod); } if (end) { if (coins_plus > 0) { spriteBatch.DrawString(SK.font_score, "+" + coins_plus, SK.Position_DisplayEdge() + SK.Position_Bet_Grid3() + new Vector2(235 - SK.font_score.MeasureString("+" + coins_plus).X, 45), Color.LimeGreen); } if (coins_plus < 0) { spriteBatch.DrawString(SK.font_score, "" + coins_plus, SK.Position_DisplayEdge() + SK.Position_Bet_Grid3() + new Vector2(235 - SK.font_score.MeasureString("" + coins_plus).X, 45), Color.IndianRed); } spriteBatch.DrawString(SK.font_score, "" + FM.coins, SK.Position_DisplayEdge() + SK.Position_Bet_Grid3() + new Vector2(235, 120) - SK.font_score.MeasureString("" + FM.coins), Color.DarkGoldenrod); } }