You can also play Dark Warriors on
Back to post list
Back a step


FlUfFy6969
Posts: 309
Status: Viscount

Karma: +123
[+1] [-1]

Offline

Subject: well here is the function im deguggin right now...
void game_type::clear_slots(int start)
{
QPtrListIterator<graph_element_type> git(ge_group->ge_list);
graph_element_type *ge,*ge1,*ge2,*ge3,*ge4,*ge5,*ge6,*ge7,*ge8,*ge9,*ge10,*ge11,*ge12,*ge13,*ge14,*ge15,*ge16,*ge17,*ge18,*ge19,*ge20;
QPainter p;
QRect region,region1,region2,region3,region4,region5;
QRect eraseRegion,eraseRect,eraseRect1,eraseRect2,eraseRect3,eraseRect4,eraseRect5;
QString str;


ge15=ge_group->findE(ANIM_BG_REEL);
ge15->draw=true;

ge15->pm=ge15->px_list.first();
ge15->pmr=*ge15->pm;


region=region.unite(ge15->rect);




ge=ge_group->findE(reel1[num1[0]-1]);
ge->pm=ge->px_list.first();
ge1=ge_group->findE(reel1[num1[0]]);
ge1->pm=ge1->px_list.first();
ge2=ge_group->findE(reel1[num1[0]+1]);
ge2->pm=ge2->px_list.first();
ge3=ge_group->findE(reel2[num2[0]-1]);
ge3->pm=ge3->px_list.first();
ge4=ge_group->findE(reel2[num2[0]]);
ge4->pm=ge4->px_list.first();
ge5=ge_group->findE(reel2[num2[0]+1]);
ge5->pm=ge5->px_list.first();
ge6=ge_group->findE(reel3[num3[0]-1]);
ge6->pm=ge6->px_list.first();
ge7=ge_group->findE(reel3[num3[0]]);
ge7->pm=ge7->px_list.first();
ge8=ge_group->findE(reel3[num3[0]+1]);
ge8->pm=ge8->px_list.first();
ge9=ge_group->findE(reel4[num4[0]-1]);
ge9->pm=ge9->px_list.first();
ge10=ge_group->findE(reel4[num4[0]]);
ge10->pm=ge10->px_list.first();
ge11=ge_group->findE(reel4[num4[0]+1]);
ge11->pm=ge11->px_list.first();
ge12=ge_group->findE(reel5[num5[0]-1]);
ge12->pm=ge12->px_list.first();
ge13=ge_group->findE(reel5[num5[0]]);
ge13->pm=ge13->px_list.first();
ge14=ge_group->findE(reel5[num5[0]+1]);
ge14->pm=ge14->px_list.first();

p.begin(&ge15->pmr);
p.drawPixmap(60,167-165,*ge2->pm,0,0,-1,-1);
p.drawPixmap(60,336-165,*ge1->pm,0,0,-1,-1);
p.drawPixmap(60,506-165,*ge->pm,0,0,-1,-1);
p.drawPixmap(244,167-165,*ge5->pm,0,0,-1,-1);
p.drawPixmap(244,336-165,*ge4->pm,0,0,-1,-1);
p.drawPixmap(244,506-165,*ge3->pm,0,0,-1,-1);
p.drawPixmap(428,167-165,*ge8->pm,0,0,-1,-1);
p.drawPixmap(428,336-165,*ge7->pm,0,0,-1,-1);
p.drawPixmap(428,506-165,*ge6->pm,0,0,-1,-1);
p.drawPixmap(613,167-165,*ge11->pm,0,0,-1,-1);
p.drawPixmap(613,336-165,*ge10->pm,0,0,-1,-1);
p.drawPixmap(613,506-165,*ge9->pm,0,0,-1,-1);
p.drawPixmap(796,167-165,*ge14->pm,0,0,-1,-1);
p.drawPixmap(796,336-165,*ge13->pm,0,0,-1,-1);
p.drawPixmap(796,506-165,*ge12->pm,0,0,-1,-1);
p.end();

if(start==1)
{

p.begin(&ge15->pmr);

for(a=0;a<cardson;a++)
{
ge14=ge_group->findE(line[a]);
ge14->draw=false;
ge14->pm=ge14->px_list.first();

region=region.unite(ge14->rect);

p.drawPixmap(ge14->po,*ge14->pm);

}

p.end();
}


p.begin(&ge_group->gPixmap);
ge_group->paintGroupPix(&p,&region);
p.end();

repaint(region,false);


}
void game_type::markHits()
{
QPtrListIterator<graph_element_type> git(ge_group->ge_list);
graph_element_type *ge,*ge1,*ge2,*ge3,*ge4,*ge5,*ge6,*ge7,*ge8,*ge9,*ge10,*ge11,*ge12,*ge13,*ge14,*ge15,*ge16,*ge17,*ge18,*ge19,*ge20;
QPainter p;
QRect region,region1,region2,region3,region4,region5;
QRect eraseRegion,eraseRect,eraseRect1,eraseRect2,eraseRect3,eraseRect4,eraseRect5;
QString str;

DPRINTFGAME("start of markhits markHits_counter=%d\n",markHits_counter);

++markHits_counter;

if(markHits_counter<10)
{

for(a=0;a<25;a++)
{

DPRINTFGAME("prize[%d]==%d\n",a,prize[a]);

if(prize[a]>-1)
{

ge=ge_group->findE(line[prize[a]]);

ge->pm=ge->px_list.next();

if(!ge->pm)
{
ge->pm=ge->px_list.first();
}

p.begin(this);
QPoint po=ge->po;
po.setY(ge->po.y()+165);
p.drawPixmap(po,*ge->pm);
p.end();

}
}
}
if(markHits_counter==10)
{
clear_slots(0);

}

if(markHits_counter>11 && markHits_counter<211)
{

DPRINTFGAME("start of mark hit counter >11 && <62\n";


if(markHits_counter==12 || markHits_counter==20 || markHits_counter==28 || markHits_counter==36 || markHits_counter==44 || markHits_counter==52 || markHits_counter==60 || markHits_counter==68 || markHits_counter==76 || markHits_counter==84 || markHits_counter==92 || markHits_counter==100 || markHits_counter==108 || markHits_counter==116 || markHits_counter==124 || markHits_counter==132 || markHits_counter==140 || markHits_counter==148 || markHits_counter==156 || markHits_counter==164 || markHits_counter==172 || markHits_counter==180 || markHits_counter==188 || markHits_counter==196 || markHits_counter==204)
{
DPRINTFGAME("in 1st if mark hits counter==%d\n",markHits_counter);

++markHits_counter1;

DPRINTFGAME("in 1st if markHits_counter1=%d\n",markHits_counter1);

DPRINTFGAME("prize[%d]==%d, markHits_counter1==%d\n",markHits_counter1,prize[markHits_counter1],markHits_counter1);


if(prize[markHits_counter1]>(-1) && markHits_counter1>(-1))
{
DPRINTFGAME("prize[%d]==%d\n",markHits_counter1,prize[markHits_counter1]);

ge10=ge_group->findE(line[prize[markHits_counter1]]);

ge10->pm=ge10->px_list.first();

p.begin(this);
QPoint po=ge10->po;
po.setY(ge10->po.y()+165);
// p.drawPixmap(po,*ge->pm);
p.drawPixmap(po,*ge10->pm);
p.end();
}
}



if(prize[markHits_counter1]>-1)
{

DPRINTFGAME("if prize[%d]==%d\n",markHits_counter1,prize[markHits_counter1]);

if(L2R[markHits_counter1]==0)
{

DPRINTFGAME("if L2R[%d]==%d\n",markHits_counter1,L2R[markHits_counter1]);

ge=ge_group->findE(ANIM_HIGHLIGHT);
ge1=ge_group->findE(ANIM_HIGHLIGHT);
ge2=ge_group->findE(ANIM_HIGHLIGHT);
ge3=ge_group->findE(ANIM_HIGHLIGHT);
ge4=ge_group->findE(ANIM_HIGHLIGHT);


if(lines[prize[markHits_counter1]][0]==1)
{


if(a1[markHits_counter1]==3)
{
ge20=ge_group->findE(ANIM_BULLET);

ge20->rect=QRect(60,167,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,167,*ge20->pm);
p.end();

}
if(a1[markHits_counter1]==5)
{
ge20=ge_group->findE(ANIM_CARDS);

ge20->rect=QRect(60,167,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,167,*ge20->pm);
p.end();
}

if(a1[markHits_counter1]==6)
{
ge20=ge_group->findE(ANIM_HAT);

ge20->rect=QRect(60,167,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,167,*ge20->pm);
p.end();
}



ge->rect=QRect(60,167,ge->pm->width(),ge->pm->height());
ge->pm=ge->px_list.first();


p.begin(this);
p.drawPixmap(60,167,*ge->pm);
p.end();

DPRINTFGAME("mark L2R=0, lines[%d][0]==1\n",prize[markHits_counter1]);

}
else if(lines[prize[markHits_counter1]][0]==6)
{
if(a1[markHits_counter1]==3)
{
ge20=ge_group->findE(ANIM_BULLET);

ge20->rect=QRect(60,336,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,336,*ge20->pm);
p.end();

}
if(a1[markHits_counter1]==5)
{
ge20=ge_group->findE(ANIM_CARDS);

ge20->rect=QRect(60,336,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,336,*ge20->pm);
p.end();
}

if(a1[markHits_counter1]==6)
{

ge20=ge_group->findE(ANIM_HAT);

ge20->rect=QRect(60,336,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,336,*ge20->pm);
p.end();

}

ge->rect=QRect(60,336,ge->pm->width(),ge->pm->height());
ge->pm=ge->px_list.first();


p.begin(this);
p.drawPixmap(60,336,*ge->pm);
p.end();


DPRINTFGAME("mark L2R=0, lines[%d][0]==6\n",prize[markHits_counter1]);
}
else if(lines[prize[markHits_counter1]][0]==11)
{
if(a1[markHits_counter1]==3)
{
ge20=ge_group->findE(ANIM_BULLET);

ge20->rect=QRect(60,506,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,506,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{

ge20=ge_group->findE(ANIM_CARDS);

ge20->rect=QRect(60,506,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,506,*ge20->pm);
p.end();

}
if(a1[markHits_counter1]==6)
{

ge20=ge_group->findE(ANIM_HAT);

ge20->rect=QRect(60,506,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,506,*ge20->pm);
p.end();


}

ge->rect=QRect(60,506,ge->pm->width(),ge->pm->height());
ge->pm=ge->px_list.first();


p.begin(this);
p.drawPixmap(60,506,*ge->pm);
p.end();

DPRINTFGAME("mark L2R=0, lines[%d][0]==11\n",prize[markHits_counter]);
}
if(lines[prize[markHits_counter1]][1]==2)
{

if(a1[markHits_counter1]==3)
{

ge19=ge_group->findE(ANIM_BULLET);

ge19->rect=QRect(244,167,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,167,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge19=ge_group->findE(ANIM_CARDS);

ge19->rect=QRect(244,167,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,167,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge19=ge_group->findE(ANIM_HAT);

ge19->rect=QRect(244,167,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,167,*ge19->pm);
p.end();

}

ge1->rect=QRect(244,167,ge1->pm->width(),ge1->pm->height());
ge1->pm=ge1->px_list.first();


p.begin(this);
p.drawPixmap(244,167,*ge1->pm);
p.end();

DPRINTFGAME("mark L2R=0, lines[%d][1]==2\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][1]==7)
{

if(a1[markHits_counter1]==3)
{
ge19=ge_group->findE(ANIM_BULLET);

ge19->rect=QRect(244,336,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,336,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge19=ge_group->findE(ANIM_CARDS);

ge19->rect=QRect(244,336,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,336,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge19=ge_group->findE(ANIM_HAT);

ge19->rect=QRect(244,336,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,336,*ge19->pm);
p.end();

}


ge1->rect=QRect(244,336,ge1->pm->width(),ge1->pm->height());
ge1->pm=ge1->px_list.first();


p.begin(this);
p.drawPixmap(244,336,*ge1->pm);
p.end();

DPRINTFGAME("mark L2R=0, lines[%d][1]==7\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][1]==12)
{

if(a1[markHits_counter1]==3)
{
ge19=ge_group->findE(ANIM_BULLET);

ge19->rect=QRect(244,506,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,506,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge19=ge_group->findE(ANIM_CARDS);

ge19->rect=QRect(244,506,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,506,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge19=ge_group->findE(ANIM_HAT);

ge19->rect=QRect(244,506,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,506,*ge19->pm);
p.end();

}

ge1->rect=QRect(244,506,ge1->pm->width(),ge1->pm->height());
ge1->pm=ge1->px_list.first();

p.begin(this);
p.drawPixmap(244,506,*ge1->pm);
p.end();

DPRINTFGAME("mark L2R=0, lines[%d][1]==12\n",prize[markHits_counter]);
}
if(lines[prize[markHits_counter1]][2]==3)
{

if(a1[markHits_counter1]==3)
{
ge18=ge_group->findE(ANIM_BULLET);

ge18->rect=QRect(428,167,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(428,167,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge18=ge_group->findE(ANIM_CARDS);

ge18->rect=QRect(428,167,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(428,167,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge18=ge_group->findE(ANIM_HAT);

ge18->rect=QRect(428,167,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(428,167,*ge18->pm);
p.end();

}


ge2->rect=QRect(428,167,ge2->pm->width(),ge2->pm->height());
// ge2->pm=ge2->px_list.first();


p.begin(this);
p.drawPixmap(428,167,*ge2->pm);
p.end();


DPRINTFGAME("mark L2R=0, lines[%d][2]==3\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][2]==
{

if(a1[markHits_counter1]==3)
{
ge18=ge_group->findE(ANIM_BULLET);

ge18->rect=QRect(428,336,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(428,336,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge18=ge_group->findE(ANIM_CARDS);

ge18->rect=QRect(428,336,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(428,336,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge18=ge_group->findE(ANIM_HAT);

ge18->rect=QRect(428,336,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(428,336,*ge18->pm);
p.end();

}

ge2->rect=QRect(428,336,ge2->pm->width(),ge2->pm->height());
ge2->pm=ge2->px_list.first();

p.begin(this);
p.drawPixmap(428,336,*ge2->pm);
p.end();

DPRINTFGAME("mark L2R=0, lines[%d][2]==8\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][2]==13)
{

if(a1[markHits_counter1]==3)
{
ge18=ge_group->findE(ANIM_BULLET);

ge18->rect=QRect(428,506,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(428,506,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge18=ge_group->findE(ANIM_CARDS);

ge18->rect=QRect(428,506,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(428,506,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge18=ge_group->findE(ANIM_HAT);

ge18->rect=QRect(428,506,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(428,506,*ge18->pm);
p.end();

}

ge2->rect=QRect(428,506,ge2->pm->width(),ge2->pm->height());
ge2->pm=ge2->px_list.first();

p.begin(this);
p.drawPixmap(428,506,*ge2->pm);
p.end();

DPRINTFGAME("mark L2R=0, lines[%d][2]==13\n",prize[markHits_counter]);
}
}
if(L2R[markHits_counter1]==1)
{

ge=ge_group->findE(ANIM_HIGHLIGHT);
ge1=ge_group->findE(ANIM_HIGHLIGHT);
ge2=ge_group->findE(ANIM_HIGHLIGHT);
ge3=ge_group->findE(ANIM_HIGHLIGHT);
ge4=ge_group->findE(ANIM_HIGHLIGHT);



if(lines[prize[markHits_counter1]][1]==2)
{

if(a1[markHits_counter1]==3)
{
ge20=ge_group->findE(ANIM_BULLET);

ge20->rect=QRect(244,167,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(244,167,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge20=ge_group->findE(ANIM_CARDS);

ge20->rect=QRect(244,167,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(244,167,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge20=ge_group->findE(ANIM_HAT);

ge20->rect=QRect(244,167,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(244,167,*ge20->pm);
p.end();

}

ge1->rect=QRect(244,167,ge1->pm->width(),ge1->pm->height());
ge1->pm=ge1->px_list.first();

p.begin(this);
p.drawPixmap(244,167,*ge1->pm);
p.end();

DPRINTFGAME("mark L2R=1, lines[%d][1]==2\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][1]==7)
{

if(a1[markHits_counter1]==3)
{
ge20=ge_group->findE(ANIM_BULLET);

ge20->rect=QRect(244,336,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(244,336,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge20=ge_group->findE(ANIM_CARDS);

ge20->rect=QRect(244,336,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(244,336,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge20=ge_group->findE(ANIM_HAT);

ge20->rect=QRect(244,336,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(244,336,*ge20->pm);
p.end();

}

ge1->rect=QRect(244,336,ge1->pm->width(),ge1->pm->height());
ge1->pm=ge1->px_list.first();

p.begin(this);
p.drawPixmap(244,336,*ge1->pm);
p.end();

DPRINTFGAME("mark L2R=1, lines[%d][1]==6\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][1]==12)
{

if(a1[markHits_counter1]==3)
{
ge20=ge_group->findE(ANIM_BULLET);

ge20->rect=QRect(244,506,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(244,506,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge20=ge_group->findE(ANIM_CARDS);

ge20->rect=QRect(244,506,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(244,506,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge20=ge_group->findE(ANIM_HAT);

ge20->rect=QRect(244,506,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(244,506,*ge20->pm);
p.end();

}

ge1->rect=QRect(244,506,ge1->pm->width(),ge1->pm->height());
ge1->pm=ge1->px_list.first();

p.begin(this);
p.drawPixmap(244,506,*ge1->pm);
p.end();

DPRINTFGAME("mark L2R=1, lines[%d][1]==12\n",prize[markHits_counter]);
}
if(lines[prize[markHits_counter1]][2]==3)
{

if(a1[markHits_counter1]==3)
{
ge19=ge_group->findE(ANIM_BULLET);

ge19->rect=QRect(428,167,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(428,167,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge19=ge_group->findE(ANIM_CARDS);

ge19->rect=QRect(428,167,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(428,167,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge19=ge_group->findE(ANIM_HAT);

ge19->rect=QRect(428,167,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(428,167,*ge19->pm);
p.end();

}

ge2->rect=QRect(428,167,ge2->pm->width(),ge2->pm->height());
ge2->pm=ge2->px_list.first();

p.begin(this);
p.drawPixmap(428,167,*ge2->pm);
p.end();

DPRINTFGAME("mark L2R=1, lines[%d][2]==3\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][2]==
{

if(a1[markHits_counter1]==3)
{
ge19=ge_group->findE(ANIM_BULLET);

ge19->rect=QRect(428,336,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(428,336,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge19=ge_group->findE(ANIM_CARDS);

ge19->rect=QRect(428,336,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(428,336,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge19=ge_group->findE(ANIM_HAT);

ge19->rect=QRect(428,336,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(428,336,*ge19->pm);
p.end();

}

ge2->rect=QRect(428,336,ge2->pm->width(),ge2->pm->height());
ge2->pm=ge2->px_list.first();

p.begin(this);
p.drawPixmap(428,336,*ge2->pm);
p.end();

DPRINTFGAME("mark L2R=1, lines[%d][2]==8\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][2]==13)
{

if(a1[markHits_counter1]==3)
{
ge19=ge_group->findE(ANIM_BULLET);

ge19->rect=QRect(428,506,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(428,506,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge19=ge_group->findE(ANIM_CARDS);

ge19->rect=QRect(428,506,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(428,506,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge19=ge_group->findE(ANIM_HAT);

ge19->rect=QRect(428,506,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(428,506,*ge19->pm);
p.end();

}

ge2->rect=QRect(428,506,ge2->pm->width(),ge2->pm->height());
ge2->pm=ge2->px_list.first();

p.begin(this);
p.drawPixmap(428,506,*ge2->pm);
p.end();

DPRINTFGAME("mark L2R=1, lines[%d][2]==13\n",prize[markHits_counter]);
}
if(lines[prize[markHits_counter1]][3]==4)
{

if(a1[markHits_counter1]==3)
{
ge18=ge_group->findE(ANIM_BULLET);

ge18->rect=QRect(613,167,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(613,167,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge18=ge_group->findE(ANIM_CARDS);

ge18->rect=QRect(613,167,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(613,167,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge18=ge_group->findE(ANIM_HAT);

ge18->rect=QRect(613,167,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(613,167,*ge18->pm);
p.end();

}

ge3->rect=QRect(613,167,ge3->pm->width(),ge3->pm->height());
ge3->pm=ge3->px_list.first();

p.begin(this);
p.drawPixmap(613,167,*ge3->pm);
p.end();

DPRINTFGAME("mark L2R=1, lines[%d][3]==4\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][3]==9)
{

if(a1[markHits_counter1]==3)
{
ge18=ge_group->findE(ANIM_BULLET);

ge18->rect=QRect(613,336,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(613,336,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge18=ge_group->findE(ANIM_CARDS);

ge18->rect=QRect(613,336,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(613,336,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge18=ge_group->findE(ANIM_HAT);

ge18->rect=QRect(613,336,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(613,336,*ge18->pm);
p.end();

}

ge3->rect=QRect(613,336,ge3->pm->width(),ge3->pm->height());
ge3->pm=ge3->px_list.first();

p.begin(this);
p.drawPixmap(613,336,*ge3->pm);
p.end();

DPRINTFGAME("mark L2R=1, lines[%d][3]==9\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][3]==14)
{

if(a1[markHits_counter1]==3)
{
ge18=ge_group->findE(ANIM_BULLET);

ge18->rect=QRect(613,506,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(613,506,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge18=ge_group->findE(ANIM_CARDS);

ge18->rect=QRect(613,506,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(613,506,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge18=ge_group->findE(ANIM_HAT);

ge18->rect=QRect(613,506,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(613,506,*ge18->pm);
p.end();

}

ge3->rect=QRect(613,506,ge3->pm->width(),ge3->pm->height());
ge3->pm=ge3->px_list.first();

p.begin(this);
p.drawPixmap(613,506,*ge3->pm);
p.end();

DPRINTFGAME("mark L2R=1, lines[%d][3]==14\n",prize[markHits_counter]);
}
}
if(L2R[markHits_counter1]==2)
{

ge=ge_group->findE(ANIM_HIGHLIGHT);
ge1=ge_group->findE(ANIM_HIGHLIGHT);
ge2=ge_group->findE(ANIM_HIGHLIGHT);
ge3=ge_group->findE(ANIM_HIGHLIGHT);
ge4=ge_group->findE(ANIM_HIGHLIGHT);


if(lines[prize[markHits_counter1]][2]==3)
{
if(a1[markHits_counter1]==3)
{
ge20=ge_group->findE(ANIM_BULLET);

ge20->rect=QRect(428,167,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(428,167,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge20=ge_group->findE(ANIM_CARDS);

ge20->rect=QRect(428,167,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(428,167,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge20=ge_group->findE(ANIM_HAT);

ge20->rect=QRect(428,167,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(428,167,*ge20->pm);
p.end();

}


ge2->rect=QRect(428,167,ge2->pm->width(),ge2->pm->height());
ge2->pm=ge2->px_list.first();

p.begin(this);
p.drawPixmap(428,167,*ge2->pm);
p.end();


DPRINTFGAME("mark L2R=2, lines[%d][2]==3\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][2]==
{

if(a1[markHits_counter1]==3)
{
ge20=ge_group->findE(ANIM_BULLET);

ge20->rect=QRect(428,336,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(428,336,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge20=ge_group->findE(ANIM_CARDS);

ge20->rect=QRect(428,336,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(428,336,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge20=ge_group->findE(ANIM_HAT);

ge20->rect=QRect(428,336,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(428,336,*ge20->pm);
p.end();

}

ge2->rect=QRect(428,336,ge2->pm->width(),ge2->pm->height());
ge2->pm=ge2->px_list.first();

p.begin(this);
p.drawPixmap(428,336,*ge2->pm);
p.end();

DPRINTFGAME("mark L2R=2, lines[%d][2]==8\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][2]==13)
{
if(a1[markHits_counter1]==3)
{
ge20=ge_group->findE(ANIM_BULLET);

ge20->rect=QRect(428,506,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(428,506,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge20=ge_group->findE(ANIM_CARDS);

ge20->rect=QRect(428,506,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(428,506,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge20=ge_group->findE(ANIM_HAT);

ge20->rect=QRect(428,506,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(428,506,*ge20->pm);
p.end();

}

ge2->rect=QRect(428,506,ge2->pm->width(),ge2->pm->height());
ge2->pm=ge2->px_list.first();

p.begin(this);
p.drawPixmap(428,506,*ge2->pm);
p.end();

DPRINTFGAME("mark L2R=2, lines[%d][2]==13\n",prize[markHits_counter]);
}
if(lines[prize[markHits_counter1]][3]==4)
{
if(a1[markHits_counter1]==3)
{
ge19=ge_group->findE(ANIM_BULLET);

ge19->rect=QRect(613,167,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(613,167,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge19=ge_group->findE(ANIM_CARDS);

ge19->rect=QRect(613,167,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(613,167,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge19=ge_group->findE(ANIM_HAT);

ge19->rect=QRect(613,167,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(613,167,*ge19->pm);
p.end();

}

ge3->rect=QRect(613,167,ge3->pm->width(),ge3->pm->height());
ge3->pm=ge3->px_list.first();

p.begin(this);
p.drawPixmap(613,167,*ge3->pm);
p.end();

DPRINTFGAME("mark L2R=2, lines[%d][3]==4\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][3]==9)
{

if(a1[markHits_counter1]==3)
{
ge19=ge_group->findE(ANIM_BULLET);

ge19->rect=QRect(613,336,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(613,336,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge19=ge_group->findE(ANIM_CARDS);

ge19->rect=QRect(613,336,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(613,336,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge19=ge_group->findE(ANIM_HAT);

ge19->rect=QRect(613,336,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(613,336,*ge19->pm);
p.end();

}

ge3->rect=QRect(613,336,ge3->pm->width(),ge3->pm->height());
ge3->pm=ge3->px_list.first();

p.begin(this);
p.drawPixmap(613,336,*ge3->pm);
p.end();

DPRINTFGAME("mark L2R=2, lines[%d][3]==9\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][3]==14)
{
if(a1[markHits_counter1]==3)
{
ge19=ge_group->findE(ANIM_BULLET);

ge19->rect=QRect(613,506,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(613,506,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge19=ge_group->findE(ANIM_CARDS);

ge19->rect=QRect(613,506,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(613,506,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge19=ge_group->findE(ANIM_HAT);

ge19->rect=QRect(613,506,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(613,506,*ge19->pm);
p.end();

}

ge3->rect=QRect(613,506,ge3->pm->width(),ge3->pm->height());
ge3->pm=ge3->px_list.first();

p.begin(this);
p.drawPixmap(613,506,*ge3->pm);
p.end();

DPRINTFGAME("mark L2R=2, lines[%d][3]==14\n",prize[markHits_counter]);
}
if(lines[prize[markHits_counter1]][4]==5)
{
if(a1[markHits_counter1]==3)
{
ge18=ge_group->findE(ANIM_BULLET);

ge18->rect=QRect(797,167,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(797,167,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge18=ge_group->findE(ANIM_CARDS);

ge18->rect=QRect(797,167,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(797,167,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge18=ge_group->findE(ANIM_HAT);

ge18->rect=QRect(797,167,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(797,167,*ge18->pm);
p.end();

}

ge1->rect=QRect(797,167,ge1->pm->width(),ge1->pm->height());
ge1->pm=ge1->px_list.first();

p.begin(this);
p.drawPixmap(797,167,*ge1->pm);
p.end();

DPRINTFGAME("mark L2R=2, lines[%d][4]==5\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][4]==10)
{
if(a1[markHits_counter1]==3)
{
ge18=ge_group->findE(ANIM_BULLET);

ge18->rect=QRect(797,336,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(797,336,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge18=ge_group->findE(ANIM_CARDS);

ge18->rect=QRect(797,336,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(797,336,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge18=ge_group->findE(ANIM_HAT);

ge18->rect=QRect(797,336,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(797,336,*ge18->pm);
p.end();

}

ge1->rect=QRect(797,336,ge1->pm->width(),ge1->pm->height());
ge1->pm=ge1->px_list.first();

p.begin(this);
p.drawPixmap(797,336,*ge1->pm);
p.end();

DPRINTFGAME("mark L2R=2, lines[%d][4]==10\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][4]==15)
{
if(a1[markHits_counter1]==3)
{
ge18=ge_group->findE(ANIM_BULLET);

ge18->rect=QRect(797,506,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(797,506,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge18=ge_group->findE(ANIM_CARDS);

ge18->rect=QRect(797,506,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(797,506,*ge18->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge18=ge_group->findE(ANIM_HAT);

ge18->rect=QRect(797,506,ge18->pm->width(),ge18->pm->height());
// ge18->pm=ge18->px_list.next();

if(!ge18->pm)
{

ge18->pm=ge18->px_list.first();


}

p.begin(this);
p.drawPixmap(797,506,*ge18->pm);
p.end();

}

ge1->rect=QRect(797,506,ge1->pm->width(),ge1->pm->height());
ge1->pm=ge1->px_list.first();

p.begin(this);
p.drawPixmap(797,506,*ge1->pm);
p.end();

DPRINTFGAME("mark L2R=2, lines[%d][4]==15\n",prize[markHits_counter]);
}

}
if(L2R[markHits_counter1]==3)
{
ge=ge_group->findE(ANIM_HIGHLIGHT);
ge1=ge_group->findE(ANIM_HIGHLIGHT);
ge2=ge_group->findE(ANIM_HIGHLIGHT);
ge3=ge_group->findE(ANIM_HIGHLIGHT);
ge4=ge_group->findE(ANIM_HIGHLIGHT);

if(lines[prize[markHits_counter1]][0]==1)
{
if(a1[markHits_counter1]==3)
{
ge20=ge_group->findE(ANIM_BULLET);

ge20->rect=QRect(60,167,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,167,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge20=ge_group->findE(ANIM_CARDS);

ge20->rect=QRect(60,167,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,167,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge20=ge_group->findE(ANIM_HAT);

ge20->rect=QRect(60,167,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,167,*ge20->pm);
p.end();

}

ge->rect=QRect(60,167,ge->pm->width(),ge->pm->height());
ge->pm=ge->px_list.first();

p.begin(this);
p.drawPixmap(60,167,*ge->pm);
p.end();

DPRINTFGAME("mark L2R=3, lines[%d][0]==1\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][0]==6)
{
if(a1[markHits_counter1]==3)
{
ge20=ge_group->findE(ANIM_BULLET);

ge20->rect=QRect(60,336,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,336,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge20=ge_group->findE(ANIM_CARDS);

ge20->rect=QRect(60,336,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,336,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge20=ge_group->findE(ANIM_HAT);

ge20->rect=QRect(60,336,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,336,*ge20->pm);
p.end();

}

ge->rect=QRect(60,336,ge->pm->width(),ge->pm->height());
ge->pm=ge->px_list.first();

p.begin(this);
p.drawPixmap(60,336,*ge->pm);
p.end();

DPRINTFGAME("mark L2R=3, lines[%d][0]==6\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][0]==11)
{
if(a1[markHits_counter1]==3)
{
ge20=ge_group->findE(ANIM_BULLET);

ge20->rect=QRect(60,506,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,506,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge20=ge_group->findE(ANIM_CARDS);

ge20->rect=QRect(60,506,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,506,*ge20->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge20=ge_group->findE(ANIM_HAT);

ge20->rect=QRect(60,506,ge20->pm->width(),ge20->pm->height());
ge20->pm=ge20->px_list.next();

if(!ge20->pm)
{

ge20->pm=ge20->px_list.first();


}

p.begin(this);
p.drawPixmap(60,506,*ge20->pm);
p.end();

}

ge->rect=QRect(60,506,ge->pm->width(),ge->pm->height());
ge->pm=ge->px_list.first();

p.begin(this);
p.drawPixmap(60,506,*ge->pm,0,0,-1,-1);
p.end();

DPRINTFGAME("mark L2R=3, lines[%d][0]==11\n",prize[markHits_counter]);
}
if(lines[prize[markHits_counter1]][1]==2)
{
if(a1[markHits_counter1]==3)
{
ge19=ge_group->findE(ANIM_BULLET);

ge19->rect=QRect(244,167,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,167,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge19=ge_group->findE(ANIM_CARDS);

ge19->rect=QRect(244,167,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,167,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge19=ge_group->findE(ANIM_HAT);

ge19->rect=QRect(244,167,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,167,*ge19->pm);
p.end();

}

ge1->rect=QRect(244,167,ge1->pm->width(),ge1->pm->height());
ge1->pm=ge1->px_list.first();

p.begin(this);
p.drawPixmap(244,167,*ge1->pm);
p.end();

DPRINTFGAME("mark L2R=3, lines[%d][1]==2\n",prize[markHits_counter]);
}
else if(lines[prize[markHits_counter1]][1]==7)
{
if(a1[markHits_counter1]==3)
{
ge19=ge_group->findE(ANIM_BULLET);

ge19->rect=QRect(244,336,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,336,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==5)
{
ge19=ge_group->findE(ANIM_CARDS);

ge19->rect=QRect(244,336,ge19->pm->width(),ge19->pm->height());
// ge19->pm=ge19->px_list.next();

if(!ge19->pm)
{

ge19->pm=ge19->px_list.first();


}

p.begin(this);
p.drawPixmap(244,336,*ge19->pm);
p.end();

}

if(a1[markHits_counter1]==6)
{
ge19=ge_group->findE(ANIM_HAT);

ge19->rect=QRect(244,336,ge19->pm->width(),ge19->pm->height());
// ge19->


No Signature

Time Posted: December 4 2009 03:03 pm EST
Last updated: December 4 2009 05:19 pm EST


Replies:

Add reply:
Subject:
Body: