Ok, I have spent a great deal of time on a tile based engine for the computer (while working on my LA project). I am using directX 7.0 and I have a very big problem (at least for the nature of this game).
in order to display text, I am using this line of code
ExtTextOut(hdc, 1, 1, 0, NULL, Sscript, strlen(Sscript), NULL);
Now, sometimes the text appears, and sometimes it doesn't. In order to insure it doesn't redraw the screen after the text is draw, I set a variable called Status to 12. Then, when the user presses another key, it is reset back to 1 and the drawing continues. Now, all animation stops when status is set to 12, so I know that the program is not recording two presses.
For the love of God (or what ever you believe in) could someone please help me by telling me how to draw and make it stay there. On the ppc, that method works just fine, but it isn't on my comp. My project is due on friday, so if one of you god like programmers could give me some code that would get the job done, that would be great.
in order to display text, I am using this line of code
ExtTextOut(hdc, 1, 1, 0, NULL, Sscript, strlen(Sscript), NULL);
Now, sometimes the text appears, and sometimes it doesn't. In order to insure it doesn't redraw the screen after the text is draw, I set a variable called Status to 12. Then, when the user presses another key, it is reset back to 1 and the drawing continues. Now, all animation stops when status is set to 12, so I know that the program is not recording two presses.
For the love of God (or what ever you believe in) could someone please help me by telling me how to draw and make it stay there. On the ppc, that method works just fine, but it isn't on my comp. My project is due on friday, so if one of you god like programmers could give me some code that would get the job done, that would be great.