PVS Studio fix: Make the logic responsible for sending the builtin rearm messages behave as intended.


git-svn-id: svn://svn.icculus.org/fs2open@10909 387891d4-d844-0410-90c0-e4c51a9137d3
Moving an assignment out of an if statement for better readability


git-svn-id: svn://svn.icculus.org/fs2open@10910 387891d4-d844-0410-90c0-e4c51a9137d3
Removes nonfunctional debug code left over from the :V: days


git-svn-id: svn://svn.icculus.org/fs2open@10911 387891d4-d844-0410-90c0-e4c51a9137d3
Trunk Sync - r10911

There are a lot of changes here that should probably be examined, namely the Debug Console (which had conflicts) and Yarn's "any resolution" mainhalls code (Which also had conflicts) but for the most part this should be fairly clean.

git-svn-id: svn://svn.icculus.org/fs2open@10912 387891d4-d844-0410-90c0-e4c51a9137d3
AP Builds will now compile (post r10912 cleanup)

Still need to validate behaviours.

git-svn-id: svn://svn.icculus.org/fs2open@10913 387891d4-d844-0410-90c0-e4c51a9137d3
Fix for Mantis 2882 by Mageking17 (change-team-color with None color results in error)

git-svn-id: svn://svn.icculus.org/fs2open@10914 387891d4-d844-0410-90c0-e4c51a9137d3
Trunk Sync r10914

git-svn-id: svn://svn.icculus.org/fs2open@10915 387891d4-d844-0410-90c0-e4c51a9137d3
From Axem: Add ba.getGameDifficulty() scripting function to get the current difficulty level.

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