Implement new NETCODE version coding.
See: http://developer.wz2100.net/wiki/ReleaseChecklist for explanation.
<bugfixes> NOTE: the tag bugfixes_base was made prior to this commit,…
… in case you need a "clean" copy of the prior state of bugfixes. Cleaned up with astyle with these options: --suffix=none --style=allman --indent=tab --indent-cases --indent-namespaces --pad-oper --pad-header --unpad-paren --add-brackets --align-pointer=name --min-conditional-indent=0 --indent-preprocessor --keep-one-line-statements
<src> astyle with: --suffix=none --style=allman --indent=tab --indent…
…-cases --indent-namespaces --pad-oper --pad-header --unpad-paren --add-brackets --align-pointer=name --min-conditional-indent=0 --indent-preprocessor --keep-one-line-statements
astyle with: --suffix=none --style=allman --indent=tab --indent-cases --indent-namespaces --pad-oper --pad-header --unpad-paren --add-brackets --align-pointer=name --min-conditional-indent=0 --indent-preprocessor --keep-one-line-statements
astyle with: --suffix=none --style=allman --indent=tab --indent-cases --indent-namespaces --pad-oper --pad-header --unpad-paren --add-brackets --align-pointer=name --min-conditional-indent=0 --indent-preprocessor --keep-one-line-statements
astyle with: --suffix=none --style=allman --indent=tab --indent-cases --indent-namespaces --pad-oper --pad-header --unpad-paren --add-brackets --align-pointer=name --min-conditional-indent=0 --indent-preprocessor --keep-one-line-statements
astyle with: --suffix=none --style=allman --indent=tab --indent-cases --indent-namespaces --pad-oper --pad-header --unpad-paren --add-brackets --align-pointer=name --min-conditional-indent=0 --indent-preprocessor --keep-one-line-statements
astyle with: --suffix=none --style=allman --indent=tab --indent-cases --indent-namespaces --pad-oper --pad-header --unpad-paren --add-brackets --align-pointer=name --min-conditional-indent=0 --indent-preprocessor --keep-one-line-statements
astyle with: --suffix=none --style=allman --indent=tab --indent-cases --indent-namespaces --pad-oper --pad-header --unpad-paren --add-brackets --align-pointer=name --min-conditional-indent=0 --indent-preprocessor --keep-one-line-statements
astyle with: --suffix=none --style=allman --indent=tab --indent-cases --indent-namespaces --pad-oper --pad-header --unpad-paren --add-brackets --align-pointer=name --min-conditional-indent=0 --indent-preprocessor --keep-one-line-statements
astyle with: --suffix=none --style=allman --indent=tab --indent-cases --indent-namespaces --pad-oper --pad-header --unpad-paren --add-brackets --align-pointer=name --min-conditional-indent=0 --indent-preprocessor --keep-one-line-statements
astyle with: --suffix=none --style=allman --indent=tab --indent-cases --indent-namespaces --pad-oper --pad-header --unpad-paren --add-brackets --align-pointer=name --min-conditional-indent=0 --indent-preprocessor --keep-one-line-statements
astyle with: --suffix=none --style=allman --indent=tab --indent-cases --indent-namespaces --pad-oper --pad-header --unpad-paren --add-brackets --align-pointer=name --min-conditional-indent=0 --indent-preprocessor --keep-one-line-statements
astyle with: --suffix=none --style=allman --indent=tab --indent-cases --indent-namespaces --pad-oper --pad-header --unpad-paren --add-brackets --align-pointer=name --min-conditional-indent=0 --indent-preprocessor --keep-one-line-statements
3.1: Remove hack to support some pre-OpenGL-2.0 systems that made
assumptions about internals in GLEW that breaks with GLEW 1.12. See ticket:4300 reported by pabs
Change broken --savegame command line option into two new options tha…
…t work. The new ones are called --loadskirmish and --loadcampaign, since savegames for these are now split. Bug that broke loading was that, and missing game state initializations.
Fix assert failure when Nexus AI tries to build a sensor tower.
The problem is that it attempts to build the sensor tower even though it has not researched it yet.
Make sure it is a research facility that we are dealing with.
(cherry picked from commit 491ca206ec39ce8ac706c75154b2268c3a4621a5)
When StructureIsManufacturingPending() make sure we are a factory ins…
…tead of assuming we are.