Well this might give away what I am working on but, sigh, I am stuck. Luckily it doesn't seem to be that big of a problem.
So the problem is when displaying the lines, it starts in the top left which is understandable but when looping through the while loop the lines start drawing more and more to the right when they should be parallel with the first. I am stumped. Do any of you know what's going on?
Code:
The drawline is one of the drawline routines in one of the threads.
So the problem is when displaying the lines, it starts in the top left which is understandable but when looping through the while loop the lines start drawing more and more to the right when they should be parallel with the first. I am stumped. Do any of you know what's going on?
Code:
void disp_cards() {
int B=223;
int C=1;
int color=COLOR_BLACK;
while( C!=5) {
if (C==3) color=COLOR_RED;
drawLine( 1, 224-B, 45, 224-B, color);
C++;
B=B-47;
}
Bdisp_PutDisp_DD();
}
The drawline is one of the drawline routines in one of the threads.