fix W4 warnings (unused param and type conversion mostly) This was SVN commit r3068.
to avoid conflicts with system header files. This was SVN commit r3054.
Performance impact: + Player color rendered models are batched like normal models - Transparent sorted models never use the vertex shader path This was SVN commit r3009.