Advertisement Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

140 Neutral

About onebeer

  • Rank
  1. onebeer

    What is your favorite antivirus program?

    bjle, Check out Sysinternal. Lots of good little OS type programs and source.
  2. Can't run the game. Message popup says that "jpeg62.dll" was not found.
  3. I have the full versions of Visual Studio 2003 and 2005 installed with no problem. Not sure if it the same as what you are doing.
  4. onebeer

    [SQL] Distinct

    I think the problem is that you assume DISTINCT is only working on the first column when actually it works on all the columns. If you have multiple c1.[Contact] but one of the other columns is different (probably c2.[latestlsapexpiredate]), you will get another row. If you understand while the DISTINCT is working like it is, it might help with a solution. For example, if the c2.[latestlsapexpiredate] is the column causing you to get duplicate rows, which c2.[latestlsapexpiredate] value would you want if DISTINCT worked like you expected?
  5. onebeer

    Terrain: Mesh vs heightmap

    Why not do both? I think it is World of Warcraft that uses a height map for the general terrain and then uses meshes for overhangs other terrain that can't be built using a height map. Just a thought.
  6. onebeer

    Multithreading Quesiton

    Winsock should be thread safe. At least I've never had a problem with it and our main app (non-game) is a service that opens many sockets on different threads. Since you are using UDP, you don't need to deal with one socket like you would with TCP. Your main thread should be able to send the message to the clients without any problem.
  7. onebeer

    Muzzle Flashes

    It seems to me that a muzzle flash could be part of the partcle system. It is a quad that is tied to the end of the gun (or whatever) that lives for a short period of time. It wouldn't be parented to the gun's muzzle, but it's initial location would be at the tip. It would also not be a billboard. You would want it to use the orientation of the gun not the camera. Are you talking about an algorithmic muzzle flash or just a texture that is displayed? Just my $0.02
  8. onebeer

    Code formater

    Try Google. It looks like there are several. I found this one on Source Forge.
  9. onebeer

    [.net] C# + mySQL

    Check out this
  10. I use Toroise. It adds an SVN shell extenion to Windows. You can update and commit right from explorer.
  11. onebeer

    Flipping Y Coordinate

    Are you doing this in 3d or 2d? This is what I do for 2d, the GUI: void oglCanvas::SetupOrthoMode(void) { // Setup projection matrix glMatrixMode(GL_PROJECTION); glLoadIdentity(); // Go into ortho mode with same dimensions as the frame // Reverse the bottom,top values so the coordinates are // 0,0 is upper left, not lower left. glOrtho(0, Frame->getFrameWidth(), Frame->getFrameHeight(), 0, -1, 1); // Go back to Model View mode glMatrixMode(GL_MODELVIEW); glLoadIdentity(); // Go into Scissor mode since we want to clip the windows glEnable(GL_SCISSOR_TEST); glScissor(0, 0, Frame->getFrameWidth(), Frame->getFrameHeight()); }
  12. onebeer

    syntax highlight

    Your best bet is to find an editor widget that does what you want. Our application is written in Delphi with a Basic-like scripting language. We found an editor component with source that allowed us to extend it as well as use the existing syntax hilighting. What language are you using?
  13. onebeer

    problems with file directories

    When you setup a shortcut under Windows, you can set the starting directory. If you run it from the command line, the current directory of the command line is the current directory of the application. Basically, you can't assume what your current directory is going to be. If you base it on the location of the executable, there should be a way to get the full path of the executable and you can strip off the directory. Sorry I couldn't be more help.
  14. onebeer


    Check out X Develop. I haven't used it but it might be worth looking at.
  • 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!