Search:

Type: Posts; User: HQSneaker

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    3,339

    Like when using an IM, such as MSN, and someone...

    Like when using an IM, such as MSN, and someone sends you a message when the window is inactive?
  2. Replies
    15
    Views
    2,135

    #include setprecision(n); //...

    #include <iomanip>
    setprecision(n); // Where n is the number of digits it's rounded to
  3. Replies
    20
    Views
    4,853

    Got it working.. Thanks guys, especially...

    Got it working.. Thanks guys, especially anonytmouse and Bubba :)
  4. Replies
    20
    Views
    4,853

    It's a dark spectrum, but you're able to see the...

    It's a dark spectrum, but you're able to see the texture throught it :confused:
  5. Replies
    20
    Views
    4,853

    Same result as in the screenie... I guess it's...

    Same result as in the screenie... I guess it's just my code :mad:
  6. Replies
    20
    Views
    4,853

    So that would be: for (imageidx = 0;...

    So that would be:



    for (imageidx = 0; imageidx < bmpinfo->biSizeImage; imageidx+=3) {
    swaprgb = bmpimage[imageidx];
    bmpimage[imageidx] = bmpimage[imageidx + 2];
    bmpimage[imageidx + 2] =...
  7. Replies
    20
    Views
    4,853

    lol Magos, that's not working. Here's my code,...

    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...
  8. Replies
    20
    Views
    4,853

    Switching to RGB from GRB

    I'm using this code:



    for (imageidx = 0; imageidx < bmpinfo->biSizeImage; imageidx+=1)
    {
    swaprgb = bmpimage[imageidx];
    bmpimage[imageidx] = bmpimage[imageidx + 1];
    bmpimage[imageidx + 1]...
  9. Replies
    24
    Views
    3,691

    Maybe you could ask for the pw and then convert...

    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
  10. Replies
    4
    Views
    1,120

    This is how I always do it: while...

    This is how I always do it:



    while (GetMessage (&msg, NULL, 0, 0))
    {
    TranslateMessage(&msg);
    DispatchMessage(&msg);
    }
    return msg.wParam;
  11. Replies
    14
    Views
    5,404

    Targa files huh? That's great, I've got this file...

    Targa files huh? That's great, I've got this file converter and it handles BMP -> TGA

    Thanks for the help :)
  12. Replies
    14
    Views
    5,404

    Header: ...

    Header:



    //-----------------------------------------------------------------
    // Bitmap Object
    // C++ Header - Bitmap.h
    //-----------------------------------------------------------------
    ...
  13. Replies
    14
    Views
    5,404

    Actually, I was wondering why their glaux...

    Actually, I was wondering why their glaux replacement code doesn't work for me
  14. Replies
    14
    Views
    5,404

    Ok, I need a little help here.. .How do I convert...

    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:
  15. Replies
    14
    Views
    5,404

    No, I did it the good way, not the easy one ;) ...

    No, I did it the good way, not the easy one ;)
    After ~5hrs of coding I managed to make one :)
  16. Replies
    14
    Views
    5,404

    Don't get this wrong, I'm not too lazy to read...

    Don't get this wrong, I'm not too lazy to read it... I just learn better/faster from examples. So, got any? :)
  17. Replies
    14
    Views
    5,404

    OpenGL -- Bitmaps

    How do I load a bitmap without using glaux?
  18. Thread: stdafx.h

    by HQSneaker
    Replies
    10
    Views
    1,928

    Why me? :( Well, if there's a way to turn...

    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 ;)
  19. Thread: stdafx.h

    by HQSneaker
    Replies
    10
    Views
    1,928

    It's not there: MSVS .NET 2002 :(

    It's not there: MSVS .NET 2002 :(
  20. Thread: stdafx.h

    by HQSneaker
    Replies
    10
    Views
    1,928

    That's an empty search, but it started me...

    That's an empty search, but it started me looking. Only thing I found is for MSVS 6.0, though
  21. Thread: stdafx.h

    by HQSneaker
    Replies
    10
    Views
    1,928

    Huh? I can't find where to edit my project...

    Huh? I can't find where to edit my project settings :eek:
  22. Thread: stdafx.h

    by HQSneaker
    Replies
    10
    Views
    1,928

    stdafx.h

    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 :)
  23. Thread: OpenGL prob

    by HQSneaker
    Replies
    18
    Views
    4,411

    Wait.... As you can see, the errors come from the...

    Wait.... As you can see, the errors come from the header files.. :confused:
  24. Thread: OpenGL prob

    by HQSneaker
    Replies
    18
    Views
    4,411

    The entire sentence: /MACHINE:I386...

    The entire sentence:


    /MACHINE:I386 opengl.lib glu32.lib glaux.lib kernel32.lib

    Anything I forgot, ´cause it sure looks like it
  25. Thread: OpenGL prob

    by HQSneaker
    Replies
    18
    Views
    4,411

    I asked because there already is something in the...

    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...
Results 1 to 25 of 35
Page 1 of 2 1 2