Indeed, that fixed it.
I cant believe I missed that.
thanks
Type: Posts; User: eaane74
Indeed, that fixed it.
I cant believe I missed that.
thanks
void CString::Copy( const CString& string )
{
if( this != &string )
{
if( string.IsValid() )
{
const TCHAR* data = NULL;
int len =...
I'm passing a int* by reference, so I am not sure on the syntax.
( void** )&buffer
HDC pDC;
HBITMAP old;
HBITMAP ourBitmap;
int* buffer;
void RenderEffect( int iTick, int* pBuffer )
{
int i, j, k;
iTick /= 4;
this link has some good info. http://www.moosader.com/Tutorials.html
Thats funny, cuz it sounded like blatant disrespect to the original poster, who was only looking for a little input on his/her program.
But of course thats just me.
WOW you guys are priceless.
You can also check out this video on creating a data logger.
You can try this site: www.freetechbooks.com
char arrays are compared using the strcmp function. Like so:
if(strcmp(input, "Left"))
// Do stuff
The way you are tying to do it, you would have to declare a string.
Heres a link to some videos on algorithms
http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-046JFall-2005/LectureNotes/index.htm
You need to go to settings->compiler and debugger
and choose which ever compiler you downloaded with code::blocks and then click "set as default"
that should take care of the problem.
...
All of this:
if (Column == 0 && Row == 0)
{
selection =1;
}
else if (Column ==0 && Row == 1)
{
...
void Board::Place()
{
int selection=-1;
int matrix[3][3]={1,2,3,4,5,6,7,8,9};
cin >> Column;
cin >> Row;
You should probably tell the user which one they are inputting. As...
thanks...that worked
Can I use the original x and y values that were passed in to the PrintString function?
by that I mean is to use those values to recalculate the screen position in the first for loop.
...
like this:
font.PrintString(0, 0, "!!!!!!!!!");
the second line is printed at 2/3 white and is supposed to be superimposed over the first line, which is printed at full white.
I want to be...
ok I have started my anti aliasing font project and have already run into a slight problem.
In the screen shot I am printing out a bunch of exclamation points, unfortunately they are
printed out...
Here's what it looks like. My next step is to anti alias them
thanks that fixed it though I am not sure why.
the y variable was a little off after that fix...but I fixed that my doing my screen calculation inside the if statement. Something I probably should...
So instead i should
if(factor == width)
{
factor = 0;
// Move screen postion along y axis to print the next line in the array
y++;
I decided to make my own fonts with SDL and am almost finished. Unfortunately I have a small problem and dont really know how to describe it.
This is supposed to be a two but for some reason is...
thanks....I was beating my head against the wall trying to figure that one out. It had me completely stumped.
I was going to as about the enumeration warnings. I thought it was because I was...
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.7.50.20071127
Child process PID: 2780
Program received signal SIGSEGV, Segmentation fault.
In...
http://www.idsoftware.com/business/techdownloads/
They say it is the full source. (Quake II)
Your right about Quake III its just the game source for modding.