Created by: johncurley
Some preprocessor macros and functions weren't working correctly for the shadow code preventing it being compiled on MacOS and possibly Linux. This didn't fix the Mac green video issue though but it does allow the shadows to work.