xt branch: minor optimizations in beam.cpp

git-svn-id: svn://svn.icculus.org/fs2open/trunk@11141 387891d4-d844-0410-90c0-e4c51a9137d3
xt branch:
"Nothing major here, just added the same basic stuff from the nebula code to make beam glows fade out depending on how close to the eye they are. The primary reason for this was for beams on fighters, since the muzzle glows tend to block your view when they show up. Having them fade out still gives you the visual effect, but allows you to see through them as well."

git-svn-id: svn://svn.icculus.org/fs2open/trunk@11142 387891d4-d844-0410-90c0-e4c51a9137d3
xt branch: minor ship.cpp fixes

git-svn-id: svn://svn.icculus.org/fs2open/trunk@11143 387891d4-d844-0410-90c0-e4c51a9137d3
refine the calculation of effective_primary_banks...
1) optimization from xt branch: don't calculate if we only actually have one bank on our ship
2) make sure to count the current bank that we're firing, to avoid an edge case where we might have a negative fire penalty
3) make the condition logic a little clearer

git-svn-id: svn://svn.icculus.org/fs2open/trunk@11144 387891d4-d844-0410-90c0-e4c51a9137d3
xt branch:
1) the number of beam firing points should be the same as the number of ship firing points, because that's how we're calculating the expenditure of weapon energy
2) clear out Ship_type information when we exit the game

git-svn-id: svn://svn.icculus.org/fs2open/trunk@11145 387891d4-d844-0410-90c0-e4c51a9137d3
xt branch: minor tweaks

git-svn-id: svn://svn.icculus.org/fs2open/trunk@11146 387891d4-d844-0410-90c0-e4c51a9137d3
xt branch: WIF_MFLASH is unnecessary because we can check whether there is a muzzle flash index

git-svn-id: svn://svn.icculus.org/fs2open/trunk@11147 387891d4-d844-0410-90c0-e4c51a9137d3
xt branch: memset a bunch of weapons strings

git-svn-id: svn://svn.icculus.org/fs2open/trunk@11148 387891d4-d844-0410-90c0-e4c51a9137d3
xt branch: load stuff from the correct location

git-svn-id: svn://svn.icculus.org/fs2open/trunk@11149 387891d4-d844-0410-90c0-e4c51a9137d3
MageKing17 has done yeoman's work in fixing the version-specific commenting system.  Thanks, MageKing17!

git-svn-id: svn://svn.icculus.org/fs2open/trunk@11150 387891d4-d844-0410-90c0-e4c51a9137d3