1 2 3 4 5 6 7 8 9 10 11 12 13
|
char faces[52][25] = { "images\\h2.bmp", "images\\h3.bmp", "images\\h4.bmp", "images\\h5.bmp", "images\\h6.bmp", "images\\h7.bmp",
"images\\h8.bmp", "images\\h9.bmp", "images\\h10.bmp", "images\\hJ.bmp", "images\\hQ.bmp", "images\\hK.bmp", "images\\hA.bmp",
"images\\d2.bmp","images\\d3.bmp","images\\d4.bmp","images\\d5.bmp","images\\d6.bmp","images\\d7.bmp","images\\d8.bmp",
"images\\d9.bmp","images\\d10.bmp","images\\dJ.bmp","images\\dQ.bmp","images\\dK.bmp","images\\dA.bmp","images\\s2.bmp",
"images\\s3.bmp","images\\s4.bmp","images\\s5.bmp","images\\s6.bmp","images\\s7.bmp","images\\s8.bmp","images\\s9.bmp",
"images\\s10.bmp","images\\sJ.bmp","images\\sQ.bmp","images\\sK.bmp","images\\sA.bmp", "images\\c2.bmp","images\\c3.bmp",
"images\\c4.bmp","images\\c5.bmp","images\\c6.bmp","images\\c7.bmp","images\\c8.bmp","images\\c9.bmp","images\\c10.bmp",
"images\\cJ.bmp","images\\cQ.bmp","images\\cK.bmp","images\\cA.bmp"};
cards = new Texture *[52];
for (int f = 0; f < 52; f++)
{
cards[f] = new Texture(faces[f], 100+f);
}
|