Fixed BZFlag 2.0.8 for Intel Macs!

Make suggestions for improving one of the best games on the net!
Post Reply
User avatar
sherman
Private First Class
Private First Class
Posts: 15
Joined: Thu Oct 14, 2004 6:22 pm
Contact:

Fixed BZFlag 2.0.8 for Intel Macs!

Post by sherman » Thu Jul 05, 2007 10:07 pm

There's a slight bug on macbooks which causes bullets not to appear on the radar if smoothing is enabled, this is a very dumb fix but it works fine if you want to have smoothing enabled and still be able to see bullets on the radar

Code: Select all

    if (smooth) {
      glEnable(GL_BLEND);
      glEnable(GL_LINE_SMOOTH);
      glEnable(GL_POINT_SMOOTH);
    }
to

Code: Select all

    if (smooth) {
      glEnable(GL_BLEND);
      glEnable(GL_LINE_SMOOTH);
      //glEnable(GL_POINT_SMOOTH);
    }
That's it really, I challenge you to really notice the difference with point smoothing on anyways.

http://shermanikk.net/stuff/bzflag-intel.zip
nobody

quine
Private
Private
Posts: 3
Joined: Sun Jul 03, 2005 4:17 am

Post by quine » Thu Jul 05, 2007 10:11 pm

Just to clarify, this is only for those with Macbooks that can't see shots on radar. The fix is in RadarRenderer.cxx.

Thanks to Constitution for telling me to turn off smoothing so that I could figure out how to turn it off only for radar shots.

Post Reply