Fix for Coverity 1107329: Improper use of negative value

git-svn-id: svn://svn.icculus.org/fs2open@10392 387891d4-d844-0410-90c0-e4c51a9137d3
Fix for Coverity 1147623: Out-of-bounds access

git-svn-id: svn://svn.icculus.org/fs2open@10393 387891d4-d844-0410-90c0-e4c51a9137d3
Trunk sync r10393.

git-svn-id: svn://svn.icculus.org/fs2open@10394 387891d4-d844-0410-90c0-e4c51a9137d3
Made the Shields handle support non-quadrant shields.

git-svn-id: svn://svn.icculus.org/fs2open@10395 387891d4-d844-0410-90c0-e4c51a9137d3
test file writing in the right spot!

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