Search:

Type: Posts; User: Highland Laddie

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,393

    OpenGL is hardware accelerated, meaning that it's...

    OpenGL is hardware accelerated, meaning that it's faster on most of the machines out there than SDL, which uses software for rendering. Also, SDL can't to 3D rendering natively either, without going...
  2. Do you need to set the path to the linker? Do you...

    Do you need to set the path to the linker? Do you have ilink32.exe?
  3. Replies
    25
    Views
    3,330

    Make sure you are including all the proper SDL...

    Make sure you are including all the proper SDL headers, and linking with the SDL library.
  4. Replies
    5
    Views
    1,117

    Well, I've boiled my problem down to a more...

    Well, I've boiled my problem down to a more simple one. I can't make a std::map with a stringstream as I want to, it won't compile. I'm thinking of making a setting class with methods to get, set,...
  5. Replies
    5
    Views
    1,117

    Yeah, a lot of the code I'm using is based on the...

    Yeah, a lot of the code I'm using is based on the enginuity tutorials at gamedev, but I'm just trying to use the ideas from those articles, not the actual code.

    I did define those functions in a...
  6. Replies
    5
    Views
    1,117

    Templated member functions

    Hi, I'm trying to create a settings registry for a project I'm working on, and I've come into a problem. First, my code:

    CSettingManager header


    #ifndef __CSETTINGMANAGER
    #define...
  7. Replies
    13
    Views
    1,989

    I started learning C++ from this site a few years...

    I started learning C++ from this site a few years ago. I didn't actually start understanding stuff like classes, templates, pointers, etc, until a year or so ago. I have two books, Beginning OpenGL...
  8. Replies
    63
    Views
    8,998

    Exactly, most of the people here, including me,...

    Exactly, most of the people here, including me, are hobbists. We program in our spare time because we like programming games, and the engines and other wrappers we use let us do so in the least...
  9. Replies
    8
    Views
    3,670

    Do a check after you load anything into memory,...

    Do a check after you load anything into memory, for example:



    // Load the ship
    IAnimatedMesh* Ship1 = scenemgr->getMesh("...GFX/Crafts/Small/Civilian/Shuttle.3ds");

    // Check for existance...
  10. Replies
    8
    Views
    3,670

    When that happens, I use a debugger and step...

    When that happens, I use a debugger and step through the code untill the program crashes, then I know exactly where the problem is.

    If you're loading anything externally, make sure the paths are...
  11. Replies
    1
    Views
    1,821

    I'm sure it's in one of the tutorials on the main...

    I'm sure it's in one of the tutorials on the main page, but here's what I'd do:



    char inputChar;
    cin >> inputChar;
    if (inputChar == 'i')
    {
    displayInventory();
    }
  12. Replies
    5
    Views
    1,081

    Put every line into a vector, then find and...

    Put every line into a vector, then find and remove the line you wish to delete, then iterate through the vector and place the lines back into the file.
  13. Replies
    63
    Views
    8,998

    You should join a team that's making an MMO as a...

    You should join a team that's making an MMO as a team, then you'll see how everything is done effeciently and as a group. If not, I would suggest against using WinSock, use RakNet, it is made for...
  14. Replies
    132
    Views
    721,368

    Sticky: My Final Project This is basically an endless...

    My Final Project

    This is basically an endless hi-tech corridor, with obstruction billboards blocking the way. It's time based, and you can control how fast the camera moves through the world. Use...
  15. Replies
    9
    Views
    1,837

    Look into a pre-made 3D engine, such as Irrlicht,...

    Look into a pre-made 3D engine, such as Irrlicht, or Ogre, to spare yourself the pain of learning C++, a graphics API, and a sound library at the same time. As far as sound goes, there are a lot of...
  16. Irrlicht 3D Engine http://irrlicht.sf.net ...

    Irrlicht 3D Engine

    http://irrlicht.sf.net

    Irrlicht and RakNet networking tutorial
    http://www.daveandrews.org/articles/irrlicht_raknet/

    If you don't want to spend money on a compiler, you...
  17. Replies
    13
    Views
    5,845

    Well, I think I got something figured out. I have...

    Well, I think I got something figured out. I have yet to test it and debug it, but I'll get around to it later. Anyways, heres the code.



    // Get the slope of the lines
    double slope1 =...
  18. Replies
    13
    Views
    5,845

    Yeah, I guess it would. I totally ran into that...

    Yeah, I guess it would. I totally ran into that one.
  19. Replies
    13
    Views
    5,845

    Line Intersection

    How would one go about finding if two 2D line segments intersect? I know how to do it on paper, but I'm totally baffled how to do it in code. Any suggestions?
  20. Replies
    3
    Views
    985

    I'm afraid not, for the program to do something...

    I'm afraid not, for the program to do something you've got in mind, the program must have the whole file in memory. Then again, I'm not an expert, and never tried this, so I could be wrong..
  21. Replies
    10
    Views
    1,775

    I'm currently working a particle system editor,...

    I'm currently working a particle system editor, for use with 3D games, you can do basically anything with the system, change the emitters, add gravity, stuff like that. Then, to top it off, you can...
  22. A really good engine that I've used, and would...

    A really good engine that I've used, and would reccommend for beginners is Irrlicht (http://irrlicht.sourceforge.net). It's capable of 2D, and 3D graphics, XML parsing, has loads of other features,...
  23. Replies
    12
    Views
    2,548

    Look at some articles at http://www.gamedev.net,...

    Look at some articles at http://www.gamedev.net, they have a bunch or resources there, I use it often.
  24. Replies
    9
    Views
    1,485

    I have figured out a solution. Seeing as I can't...

    I have figured out a solution. Seeing as I can't get the thing to work with strings, I'll just use a char array. You see, what I'm doing is, instead of assigning the string value found using sscanf()...
  25. Replies
    9
    Views
    1,485

    Thank you, I tried what you said, but the error...

    Thank you, I tried what you said, but the error still popped up. Then, instead of passing the name value to a string, I tried it with a char array, and it worked fine. I really don't like using char...
Results 1 to 25 of 44
Page 1 of 2 1 2