Advertisement Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

127 Neutral

About Qoy

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks for the info, I'll use that option now. Skizz, I believe the standard says that the order of initialization will match the order of declaration in the class declaration, regardless of what order you type the members in the initializer list.
  2. I'm moving a project from VC7 to GCC under Mac OSX, and I'm getting a bunch of the warning that says some variable will be initialized after some other... caused when you have a constructor initializer list with variables in a different order from that in which they're declared in the class declaration, ie: class A { public: A(); int mX; int mY; }; A::A() : mY(0), mX(0) { } The above is the type of situation that causes the warning. Is there a flag to disable this warning? I couldn't see anything in the gcc man file or the Xcode build options. I could just switch around the initializations so they're in the right order, but that's a little annoying since there's kind of a lot of code, and I know the order in which the initializations will be run with or without the warning.
  3. I'm in the process of transitioning development on a project of mine from Visual Studio.Net to XCode under OSX. One thing that's confusing me: Does XCode have an equivalent feature to solutions in VS.Net (workspaces in VC6)? I can't find a way to group projects logically and make them dependent on one another, but I know there has to be a way somehow.
  4. Qoy

    Debugger breakpoint interrupt

    Good call, I should have thought of that sooner :)
  5. I know the debugger breakpoint interrupt on x86 (at least for windows? I'm assuming it's OS-agnostic) is 3. Is there a similar interrupt for the mac processors?
  6. Qoy

    X11 on Mac OSX

    Thanks. As far as I can tell SDL provides no support for font rendering, although it looks like there are some extensions to that end. I'll look into those.
  7. Qoy

    X11 on Mac OSX

    Hey guys.. I'm considering porting a game project of mine from Windows to OSX for educational (and recreational) purposes. I don't yet have access to a mac but I'm trying to look through the possibilities. The game's already using OpenGL so that's not an issue. I'm looking at the various available cross-platform APIs that allow you to create windows and provide basic keyboard input access and stuff like that. If possible I'd really like to use one that provides font rendering, but most of the obvious ones (GLUT and its clones) seem to support X11 but not OSX. I know OSX is an X server.. does that mean that any library that's written to X11 will actually built and run on OSX?
  8. Qoy

    ODE: running out of stack space

    Endless recursion?
  9. Qoy

    why people use C++

    Quote:Original post by Anonymous Poster C++? Maybe in the long run no,you are talking bollocks. Less than 10 years ago people were saying the same thing about C++ overtaking C in game development. Don't fall into the trap of thinking that our technology won't evolve past where it is today, this is a very fast moving field, and there's no reason why eventually a managed language couldn't overtake a natively compiled one, given machines fast enough to run the managed code at breakneck speeds. Developer time is more expensive than computer time, and development houses are businesses after all.
  10. Except replace 'virtual' with 'abstract' in the Java code samples, and 'static' does essentially the same thing with member functions in Java as it does in C++.
  11. Or you could always use named constants for the powers.. although I guess that could become annoying.
  12. Quote:Original post by GreenToad I will look around in my IDE's menus to see if I can get the two as close as possible though. I'm not sure if this was what you're planning to do, but it'll be much better for you (and your code) if you don't just tweak the project settings until it works and leave it at that. (Of course tweaking them so that it crashes but you can debug as a means to find the solution is just fine). In The Professional World(tm) you'll come across situations with some frequency where simple/hack solutions will suffice for the moment, but might not come through in the diverse environments where customers will run your programs (both apps and games), so it's very important that you actually track the problem to its core and fully understand what was causing it. As far as the problem at hand goes, a pointer that is not NULL isn't necessarily valid. It's possible that you're using something after its been deleted, and it's very possible that in debug mode this could be overlooked, but in release mode it could trample on a newly allocated object at the same location as the old one. The heap structure differs between Debug and Release modes.
  13. Qoy

    I need a log file class

    The most important part of programming is pushing forward and solving problems even when they're confusing to you. Wait a little while, look at your code again with a fresh eye, and before long you'll have it working and have a bigger feeling of accomplishment than you would if the solution had come easily. Hang in there, it's like this for all of us at times :)
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!