Open main menu

CDOT Wiki β

Changes

User:Akopytov

3 bytes added, 12:14, 9 April 2011
no edit summary
== Lighting ==
<p>*Instructions to incorporate advanced lighting into your game:
*Download the full working solution here:*OR*Download just the files that have changes relevant to lighting here:
*Copy from the files or manually code the following:
*Configuration.h*Increase the MAX_STR_ARRAYS macro by 1 (Line 46)*Add two more elements to the Integer enum: GF_NO_ALGS and GF_DF_ALGO (Lines 88, 89)*Add an element to the StrArray enum: GF_LITDESC (Line 127)*Create a macro called LIGHT_DESCRIPTIONS (Line 331)*Create an enum called LightAlgorithm (Line 389)
*Context.cpp</p>
************************ Lighting Documentation v1.00 ************************
1
edit