erickd00sway
December 9th, 2005, 10:13 AM
Hi, i have the following couple of lines of code to draw a rectangle on the screen on my game, I am really new to this. I can see how I can change the image into another basic shape. But I want to draw something a little more complex than a basic shape, does anyone know how to do this, or where I could find a tutorial or something.
D3DRECT Rect = { GridTopLeftX+8 + row*20, GridTopLeftY+8 + column*20,GridTopLeftX+14 + row*20, GridTopLeftY+14 + column*20};
Rectangle32Fast( &Rect, D3DCOLOR_XRGB( 0, 0, 0 ), g_pDevice );
Thanks
Erick
D3DRECT Rect = { GridTopLeftX+8 + row*20, GridTopLeftY+8 + column*20,GridTopLeftX+14 + row*20, GridTopLeftY+14 + column*20};
Rectangle32Fast( &Rect, D3DCOLOR_XRGB( 0, 0, 0 ), g_pDevice );
Thanks
Erick