Search:

Type: Posts; User: MinatureCookie

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    1,626

    Cheers tabstop, that worked brilliantly. And...

    Cheers tabstop, that worked brilliantly.
    And yeah, Bubba - you're right; it's just I prefer to try and learn in doing things... Otherwise I just get bored out of my head. None of what I'm doing is...
  2. Replies
    10
    Views
    1,626

    So my class should actually just handle the...

    So my class should actually just handle the pointer to the array, rather than the array itself - do you mean?
  3. Replies
    10
    Views
    1,626

    Actually no, wait - problem. I can create the...

    Actually no, wait - problem. I can create the array to send to the class... But within the class, when I try and create an array using the heap, I get this error thrown:
    "only static const integral...
  4. Replies
    10
    Views
    1,626

    Yeah, I'd already done that - it was the mesh...

    Yeah, I'd already done that - it was the mesh that was holding the array of faces and vertices.
    Cheers :)
  5. Replies
    10
    Views
    1,626

    Ahhh... Right, sorry :rolleyes: - thank you Is...

    Ahhh... Right, sorry :rolleyes: - thank you

    Is this a good way to go about doing it though? Just having a large array?
  6. Replies
    10
    Views
    1,626

    3D Models

    Hey, I'm trying to hold a load of 3D models in my program... But I'm not sure how to go about doing it.
    At first, I tried an array of faces, containing an array of vertices, each being an array of...
  7. Replies
    30
    Views
    20,535

    #include "stdafx.h" #include ...

    #include "stdafx.h"
    #include <windows.h>
    #include <iostream>
    using namespace std;

    bool FindBestDisplayMode(DEVMODE &best, DWORD width, DWORD height, DWORD bpp)
    {
    DEVMODE dm = {0};
    ...
  8. Replies
    30
    Views
    20,535

    It has a value of... 8126592

    It has a value of...
    8126592
  9. Replies
    30
    Views
    20,535

    Yes.

    Yes.
  10. Replies
    30
    Views
    20,535

    60Hz I think. Although I can change it to 70 or...

    60Hz I think. Although I can change it to 70 or 75Hz at 800x600 and it still runs fine.
  11. Replies
    30
    Views
    20,535

    It changes to make itself 800x600.

    It changes to make itself 800x600.
  12. Replies
    30
    Views
    20,535

    There's nothing wrong with my drivers, I can play...

    There's nothing wrong with my drivers, I can play video games that are programmed in C++ full-screen all the time.
    Display comes up fine in "desk.cpl" - my monitor's just my TV, but the same thing...
  13. Replies
    30
    Views
    20,535

    Still black-screens. I even fiddled with it a...

    Still black-screens.
    I even fiddled with it a bit and made it just go Sleep and then ChangeDisplay(0, 0);
    It sleeps for 20 seconds... And then black-screens.
  14. Replies
    30
    Views
    20,535

    Which is why I can't pass what you suggested of...

    Which is why I can't pass what you suggested of "800, 600, 32" - as that's 3 parameters? What should I pass as my value for the first parameter?
  15. Replies
    30
    Views
    20,535

    That's what I would have guessed for the...

    That's what I would have guessed for the parameters, but Visual C++ throws back this error:

    error C2660: 'FindBestDisplayMode' : function does not take 3 arguments
  16. Replies
    30
    Views
    20,535

    @Sipher - done both of those things, neither...

    @Sipher - done both of those things, neither work.

    @Codeplug - What parameters am I meant to put into that function (FindBestDisplayMode)? And is it just the function I need to pay attention to?...
  17. Replies
    30
    Views
    20,535

    So what would the code for that be? EDIT: Okay...

    So what would the code for that be?

    EDIT: Okay so I've worked out the problem is almost definitely in bitsPerPel.
    I added in an error box, and if I have bitsPerPel = 64, it throws an error. If I...
  18. Replies
    30
    Views
    20,535

    Okay, right then... I do want a proper full...

    Okay, right then...

    I do want a proper full screen, so I've been trying to fiddle about with it. I've changed CreateWindow() to CreateWindowEx(), added in two variables dwStyle and dwExStyle which...
  19. Replies
    30
    Views
    20,535

    If I take out out the full-screen section of the...

    If I take out out the full-screen section of the code, it runs fine - so I don't think the error is within the TEXT macro.

    And I've tried changing the bit color from "32" to "64"... It doesn't...
  20. Replies
    30
    Views
    20,535

    C++ Full screen

    Hey, I'm trying to make a little window in C++ that goes full screen.
    I've been browsing the internet for a solution... And well, somewhere just said to change the bit in CreateWindow to...
Results 1 to 20 of 20