Search:

Type: Posts; User: TonyP

Search: Search took 0.00 seconds.

  1. Thread: Mouse question

    by TonyP
    Replies
    3
    Views
    1,259

    Ok, thanks :)

    Ok, thanks :)
  2. Thread: Mouse question

    by TonyP
    Replies
    3
    Views
    1,259

    Mouse question

    Is it possible to make the mouse cursor move for example 32 pixels at a time inside a window when you move it?
  3. Thread: Calculator

    by TonyP
    Replies
    6
    Views
    1,803

    Calculator

    Hi

    Im supposed to make a molecular weight calculator program for school.

    The user inputs a formula for example: Ca(OH)2.
    Then the program calculates the weight and displays it

    Ca(OH)2 ->...
  4. Replies
    7
    Views
    1,885

    Yes, it does.

    Yes, it does.
  5. Replies
    7
    Views
    1,885

    passing `const CObject' as `this' argument of...

    passing `const CObject' as `this' argument of `bool CObject::operator<(const CObject&)' discards qualifiers

    stl_algo.h:2118: instantiated from `void std::__introsort_loop(_RandomAccessIter,...
  6. Replies
    7
    Views
    1,885

    Sorting STL vector

    How do I sort a STL vector containing my own class.

    I have a class called CObject and a vector
    vector<CObject> Objects

    In CObject is a function called GetYPos().
    I need to sort the vector so...
  7. Thread: Memory leaks...

    by TonyP
    Replies
    1
    Views
    993

    Memory leaks...

    Hi

    Is it possible to get memory leaks without using dynamic memory?
  8. Replies
    4
    Views
    4,752

    Xpos and Ypos are the planes position so they...

    Xpos and Ypos are the planes position so
    they are updated or the plane don't move :)

    Like I said before the bullets gets the planes position once it's fired and then the bullets Ypos increases...
  9. Replies
    4
    Views
    4,752

    The bullet gets the planes position when you fire...

    The bullet gets the planes position when you fire it.


    void fireBullet()

    {

    int i = getBullet();

    if (i != -1)
  10. Replies
    4
    Views
    4,752

    Help with 2d OpenGL top-down shooter.

    Hi, I'm trying to make top-down shooter game with
    C/SDL/OpenGL

    http://w1.853.telia.com/~u85324201/game.zip

    The problem is that when you shoot, the bullets don't come from the plane but from...
Results 1 to 10 of 10