Like when using an IM, such as MSN, and someone sends you a message when the window is inactive?
Type: Posts; User: HQSneaker
Like when using an IM, such as MSN, and someone sends you a message when the window is inactive?
#include <iomanip>
setprecision(n); // Where n is the number of digits it's rounded to
Got it working.. Thanks guys, especially anonytmouse and Bubba :)
It's a dark spectrum, but you're able to see the texture throught it :confused:
Same result as in the screenie... I guess it's just my code :mad:
So that would be:
for (imageidx = 0; imageidx < bmpinfo->biSizeImage; imageidx+=3) {
swaprgb = bmpimage[imageidx];
bmpimage[imageidx] = bmpimage[imageidx + 2];
bmpimage[imageidx + 2] =...
lol
Magos, that's not working. Here's my code, hope you guys can help me out:
unsigned char *loadbmp(char *filename, BITMAPINFOHEADER *bmpinfo)
{
FILE *fileptr;
BITMAPFILEHEADER...
I'm using this code:
for (imageidx = 0; imageidx < bmpinfo->biSizeImage; imageidx+=1)
{
swaprgb = bmpimage[imageidx];
bmpimage[imageidx] = bmpimage[imageidx + 1];
bmpimage[imageidx + 1]...
Maybe you could ask for the pw and then convert the user input to binary.
>if ( Password == *some binary number* )
He'd have to convert it to ascii first
This is how I always do it:
while (GetMessage (&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return msg.wParam;
Targa files huh? That's great, I've got this file converter and it handles BMP -> TGA
Thanks for the help :)
Header:
//-----------------------------------------------------------------
// Bitmap Object
// C++ Header - Bitmap.h
//-----------------------------------------------------------------
...
Actually, I was wondering why their glaux replacement code doesn't work for me
Ok, I need a little help here.. .How do I convert a bitmap to a texture?
This doesn't work:
glGenTextures(1, &_pSlides[0]);
Error:
No, I did it the good way, not the easy one ;)
After ~5hrs of coding I managed to make one :)
Don't get this wrong, I'm not too lazy to read it... I just learn better/faster from examples. So, got any? :)
How do I load a bitmap without using glaux?
Why me? :(
Well, if there's a way to turn pre-compiled headers off, or there is adjusted code around I don't really mind ;)
It's not there: MSVS .NET 2002 :(
That's an empty search, but it started me looking. Only thing I found is for MSVS 6.0, though
Huh? I can't find where to edit my project settings :eek:
I'm learning Win32 programming, and I'm using some of the examples from this site. When I compile my code an error occurs: stdafx.h could not be found. I use MSVS .NET.
Thanks :)
Wait.... As you can see, the errors come from the header files.. :confused:
The entire sentence:
/MACHINE:I386 opengl.lib glu32.lib glaux.lib kernel32.lib
Anything I forgot, ´cause it sure looks like it
I asked because there already is something in the Additional options-box:
/MACHINE:I386
Also, this code is downloaded and I've got an .exe of it too. Shouldn't the developers have included...