Merge pull request #520 from RobertBColton/master

Fixes Ton of Warnings
Merge pull request #521 from RobertBColton/master

Fixed Direct3D 9
Merge pull request #522 from RobertBColton/master

Fixed CD Functions
Merge pull request #523 from RobertBColton/master

Cleanup of DirectSound
Merge pull request #524 from RobertBColton/master

Fixed Projection Functions
Whoops
Removed return I added to show_error to fix project mario.