Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Robin Varley on January 29, 2004, 05:17:38 pm

Title: How do I compile using the INF_Build in M$ Visual C++
Post by: Robin Varley on January 29, 2004, 05:17:38 pm
Call me stupid, (yeah, I know I'm asking for trouble with that) but how do I compile using the INF_Build in M$ Visual C++?

And while I'm here;  the ambient light settings given in the code, e.g. the D3D one is:
const D3DCOLOR ambient_light = D3DCOLOR_ARGB(255,128,128,128);

I'm guessing that the RGB values couldn't be changed on a per mission basis, since they are used from the moment the game loads up? or am I totally wrong.

Thanks in advance,

Robin
Title: How do I compile using the INF_Build in M$ Visual C++
Post by: redmenace on January 29, 2004, 05:29:02 pm
It has to be placed into the pre-processor Definitions.
Title: How do I compile using the INF_Build in M$ Visual C++
Post by: Robin Varley on January 29, 2004, 05:40:38 pm
Hurrah, it works.

Thank you very much

Robin.