Search:

Type: Posts; User: Snip

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    3,879

    This tutorial...

    This tutorial explains collision detection between various 2D shapes, including a square and a circle (Section 3). It's a nice tutorial, the Flash animations make it easier to understand.
  2. Replies
    10
    Views
    1,194

    But then I'll lose everything? Or is it possible...

    But then I'll lose everything? Or is it possible to install Windows without formatting my C:\ partition?
  3. Replies
    10
    Views
    1,194

    But I can't even get into Safe Mode. When I...

    But I can't even get into Safe Mode. When I select that option (or any other option, like "Most recent hardware configuration that worked") it shows the Windows XP loading screen, then the screen...
  4. Replies
    10
    Views
    1,194

    Accessing "Documents and Settings" before boot

    Windows is giving me problems... Again. It says something about not being able to boot, maybe because of recent changes in hardware (which there aren't). I've tried all options it gives me (Safe mode...
  5. Thread: New PC

    by Snip
    Replies
    4
    Views
    1,680

    New PC

    So I'm looking for a new PC and this one looked nice:

    Desktop Computer Compaq Presario SR2079

    Intel Pentium D Processor 915 dual-core (2 x 2.8 Ghz)
    Intel Viiv Technologie
    1 GB DDR2 Memory...
  6. Replies
    4
    Views
    1,778

    This tutorial...

    This tutorial might be useful. It shows how to do a collision test for some common shapes.
  7. Thread: DVD-RW problem

    by Snip
    Replies
    7
    Views
    1,072

    Doesn't work either. I tried opening it in Linux,...

    Doesn't work either. I tried opening it in Linux, but I still get an error. This one might be of more use solving this problem:

    When opening the file from the File Browser, it says:

    Cannot open...
  8. Thread: DVD-RW problem

    by Snip
    Replies
    7
    Views
    1,072

    I don't know how to get in DOS mode (is that even...

    I don't know how to get in DOS mode (is that even possible with XP?). I tried to copy files using the short dir name (which is "PAUL&M~8"), but I get the same error as mentioned above: "Invalid...
  9. Thread: DVD-RW problem

    by Snip
    Replies
    7
    Views
    1,072

    That doesn't work either: > copy "F:\Paul...

    That doesn't work either:



    > copy "F:\Paul & Monique\<filename>" "C:\<filename>"
    Invalid parameter
    copied 0 file(s)


    When doing the exact same for a file in directory "Wouter",...
  10. Thread: DVD-RW problem

    by Snip
    Replies
    7
    Views
    1,072

    DVD-RW problem

    I have a backup of my files on a DVD-RW, but when I try to copy certain files back to my hard disk I get an error:

    Can't copy <filename>. Can not read data from source file or source disk

    This...
  11. Replies
    117
    Views
    7,854

    The Boondock Saints - probably my favourite one ...

    The Boondock Saints - probably my favourite one

    Other ones I like are
    - Full Metal Jacket
    - Fight Club
    - Lock, Stock and Two Smoking Barrels
    - Batman Begins
  12. This...

    This might help you
  13. Replies
    55
    Views
    122,807

    Sticky: http://www.harveycartel.org/metanet/tutorials/tuto...

    http://www.harveycartel.org/metanet/tutorials/tutorialA.html
    Great explanation of the Separating Axis Theorem (2D Collision Detection).
  14. Replies
    3
    Views
    836

    class deleting itself

    #include <iostream>
    using namespace std;

    class Foo
    {
    public:
    void Destroy();
    } *global_foo;
  15. Thread: glDrawElements()

    by Snip
    Replies
    5
    Views
    7,045

    You're not using glDrawElements correctly. It...

    You're not using glDrawElements correctly. It should be used like this:



    glEnableClientState(GL_VERTEX_ARRAY);
    glVertexPointer(3, GL_DOUBLE, 0, mix);

    unsigned int...
  16. Replies
    6
    Views
    1,171

    Try pressing Ctrl+F11 to force it to recompile...

    Try pressing Ctrl+F11 to force it to recompile everything, then press Ctrl+F10 to run the program
  17. Replies
    7
    Views
    1,616

    But I want to access Child_B's value from within...

    But I want to access Child_B's value from within a method of Child_A (both are derived from Parent)
  18. Replies
    7
    Views
    1,616

    Accessing members of parent class

    If I have two different classes that are both derived from the same parent class, is it possible for one class to access the parent members of the other class? Example:



    #include <iostream>...
  19. Replies
    3
    Views
    6,390

    Try something like this: bool...

    Try something like this:



    bool key_state[256] = { false };

    void update_func()
    {
    if(key_state['a'] == true) {
    // move left
  20. Thread: Collision Design

    by Snip
    Replies
    4
    Views
    1,036

    Collision Design

    In my game I have a base class "Object", from which other objects are derived (Asteroid, Player, Bullet). All game objects are stored in a std::list<Object *>. Every frame, something like this...
  21. Thread: POST: cgi string

    by Snip
    Replies
    1
    Views
    2,350

    Try this: or

    Try this:


    or
  22. Replies
    4
    Views
    2,145

    You can create an array using malloc() and resize...

    You can create an array using malloc() and resize it using realloc()



    struct Data
    {
    int foo;
    int bar;
    };
  23. Replies
    4
    Views
    1,104

    std::vector iterator problems

    I have this list which contains a couple of objects: ships and asteroids. To update all positions and process keys, I have this code:



    std::vector<SolidObject *>::iterator item =...
  24. Replies
    2
    Views
    1,988

    AMD Athlon 64 => i386 / i586 ?

    I was looking for a Mandriva torrent, and I found this one. However it says i586 in it's title and I have a AMD Athlon 64, so I was wondering if I should download it or not. I don't know the exact...
  25. Thread: Desktop handle

    by Snip
    Replies
    7
    Views
    4,936

    Actually I think there is another handle, I found...

    Actually I think there is another handle, I found it using WindowFromPos() with my cursor's position when moving my mouse on the desktop. When I use this value (0x120088) in CreateWindow() as the...
Results 1 to 25 of 90
Page 1 of 4 1 2 3 4