Search:

Type: Posts; User: pdstatha

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,214

    +ve = POSITIVE -ve = NEGATIVE or just read...

    +ve = POSITIVE
    -ve = NEGATIVE

    or just read previous thread
  2. Replies
    8
    Views
    1,214

    std::vector that one

    std::vector that one
  3. Replies
    8
    Views
    1,214

    +ve = positive -ve = negative

    +ve = positive
    -ve = negative
  4. Replies
    8
    Views
    1,214

    me can't think

    Say you had a vector with some +ve ints and some -ve ints, how do you return the one which is closest to 0???
  5. Thread: Key colour

    by pdstatha
    Replies
    4
    Views
    1,232

    Heres the intialisation code for the panel...

    Heres the intialisation code for the panel texture.




    bool CHardball::InitGame()
    {
    //Setup panels for 2D
    m_pPanel1 = new...
  6. Thread: Key colour

    by pdstatha
    Replies
    4
    Views
    1,232

    the ball texture

    the ball texture
  7. Thread: Key colour

    by pdstatha
    Replies
    4
    Views
    1,232

    Key colour

    I've set the background colour of my D3D app to white, i've also loaded a texture (ball.bmp) onto a set of vertices, and set the key colour to white also. Why is it then with the white pixels on the...
  8. Replies
    1
    Views
    1,130

    DirectX Dilemma

    I keep get an annoying error, now its probably really easy to solve but its late and I can't think.


    d:\hardball\projectfiles\hardball\hardball.h(29) : error C2143: syntax error : missing ';'...
  9. Replies
    3
    Views
    5,093

    I'm not really too sure how to go about this,...

    I'm not really too sure how to go about this, basically I'm trying to program a breakout clone. I've already made a series of bitmaps for the game to use, i.e. the blocks, paddle and the ball.
    ...
  10. Replies
    3
    Views
    5,093

    Drawing circles in DirectX 8

    Umm this is probably a very dumb question, but how do you draw a circle??

    I know how to draw things like triangles and rectangles, but I haven't come across a circle as of yet.
  11. *bump* Someone must have this book!!!!!

    *bump*

    Someone must have this book!!!!!
  12. Anyone with Peter Walsh's Advanced 3-D Game Programming using DX8

    On page 24 he uses the following piece of code in his cGameError class


    DP1("***\n*** [ERROR] cGameError thrown1 text: [%s]\n***\n
    ",errorText);

    Where does DP1 come from as the throws up...
  13. Replies
    5
    Views
    1,344

    Just a side note, I plan on trying to get to...

    Just a side note, I plan on trying to get to grips with the DirectX API, pretty heavy stuff these API's. How the hell did you guys get to grips with it.

    I have to admit its quite daunting at the...
  14. Replies
    5
    Views
    1,344

    Small update, I changed the display slightly so...

    Small update, I changed the display slightly so that the user can now see all the numbers in hard. I've also included the source code and VC workspace files.

    Get it here:...
  15. Replies
    4
    Views
    1,361

    Ok i'll show u my problem, i have two cpp files...

    Ok i'll show u my problem, i have two cpp files and two header files.

    definitions.h :


    #ifndef DEFINITIONS_H
    #define DEFINITIONS_H
    #define OK 1
    #define FAILED 0
  16. Replies
    4
    Views
    1,361

    Organisiing code

    Currently I have two files a header file and the main cpp file, I do however want to split these into seperate files aswell. I'm slightly confused cos i've never done this before, what happens with...
  17. Replies
    5
    Views
    1,344

    I've gotten rid of a few bugs and added a move...

    I've gotten rid of a few bugs and added a move counter, go to the same URL to download it.
  18. Replies
    5
    Views
    1,344

    My First Game!!!!!!!

    Hi peeps, i've "completed" my first game its a DOS based version of the towers of hanoi. There are three pegs A,B+C to start with Peg A has a series of rings the smallest on top and the largest on...
  19. Replies
    5
    Views
    1,871

    This is after choosing option 1

    This is after choosing option 1
  20. Replies
    5
    Views
    1,871

    This is it normal running

    This is it normal running
  21. Replies
    5
    Views
    1,871

    Yeah I did have it set as an int before (gets the...

    Yeah I did have it set as an int before (gets the number of rings) that was really just set up for testing purposes, any ideas why this is being such a *****!!!!!

    I've attached the zipped VC++...
  22. Just a couple of things i spotted ...

    Just a couple of things i spotted



    if(checkarea(&rect) != 0);
    {
    return 0;
    }

    Change this to
  23. Replies
    5
    Views
    1,871

    Game difficulty

    Ok now i'm getting slightly confused, I've defined a difficulty class which should change a few settings of my game.



    class CDifficulty{
    public:
    CDifficulty(const char* itsSetting = "",const...
  24. Replies
    6
    Views
    1,377

    Why do you use the switch statement only once???

    Why do you use the switch statement only once???
  25. Replies
    1
    Views
    1,447

    Ah never mind, I got the answer, I was given the...

    Ah never mind, I got the answer, I was given the idea of putting the pointers into a struct and passing the struct instead. Heres the update.


    struct menuStruct{
    CMenu* mainMenu;
    CMenu*...
Results 1 to 25 of 87
Page 1 of 4 1 2 3 4