----------------------
How to use LIGHTS.INI:
----------------------

[LIGHTS] section
++++++++++++++++
The [LIGHTS] section lists all the dynamic lights definitions.
Example:
Nb= 52							<-- There are 52 lights definitions in the section
LIGHT1= 0.0 0.4 1.0 0.0 0.6 0.1	<-- Parameters are <Red> <Green> <Blue> <Radius> <Height offset>
LIGHT2= 1.0 0.9 0.1 1.0
LIGHT3= 1.0 0.9 0.1 +1.0		<-- The + before the radius means that the current radius of the light will be increased by one unit.
LIGHT4= 1.0 0.9 0.1 -0.7		<-- The - before the radius means that the current radius of the light will be decreased by 0.8 unit.
...
LIGHT13= 1.0 0.9 0.1 +2.2
LIGHT14= 1.0 0.9 0.1 -1.2
LIGHT15= 1.0 0.9 0.1 -0.8

Red, green & blue parameter are between 0.0 (dark) & 1.0 (bright).
...
[CORONAS] section
+++++++++++++++++
The [CORONAS] section lists all the coronas & lens flares definitions.
[CORONAS]
Nb=16													<-- There are 16 coronas definitions in the section
CORONA1= CORONA 1.0 0.90 0.50 0.3 -1 17 0.5 10.0 10.00
....
CORONA6= FLARE2 0.25 1.00 0.25 0.5 0 57 1.0
...
CORONA7= FLARE1 1.0 0.45 0.13 0.5 0 57 1.5

The first parameters is the type: CORONA or FLARE1 or FLARE2
Then the parameters are:
for CORONA: <Red> <Green> <Blue> <Alpha> <OffsetX> <OffsetY> <MinDist> <MedDist> <MaxDist>
for FLARE1 or FLARE2: <Red> <Green> <Blue> <Alpha> <OffsetX> <OffsetY> <Scale> <MedDist> <MaxDist>

[LIGHTING] section
++++++++++++++++++
This section lists ALL the states present in the game.
If you know C language see the "state_t states[NUMSTATES]" table in info.c of the Doom/heretic/Hexen sources.
You CAN'T delete any line of this section, nor switching them.

You can attach any previously defined light or corona to any state.

Example:
S_ROCKET= LIGHT1
...
S_EXPLODE1= LIGHT13
S_EXPLODE2= LIGHT14
S_EXPLODE3= LIGHT15

When you will launch a rocket, a light (r=1.0, g=0.9, b=0.1, radius= 1.0) will be spawned.
When this rocket will explode, its light radius will be increased by 2.2 units then decreased by 1.2 and 0.8 units.

Example 2:
S_REDTORCH= light(LIGHT65) corona(1,CORONA7)
The red torch has the 65 & one corona: CORONA7

Example 3:
S_CANDELABRA= light(LIGHT80) corona(3,CORONA2,CORONA3,CORONA4)
The candelabra has the light LIGHT80 & 3 coronas: CORONA2,CORONA3 & CORONA4.

[FLAT_TEX_LIGHTS] section
+++++++++++++++++++++++++
This section lists the floor textures which generate light (usefull for lava / toxic / water, etc. floors).
Example:
Nb= 18
NUKAGE1= 0.0 0.7 0.0 150
...
Syntax is:
<Flat texture Name>= <Red> <Green> <Blue> <Size>
The larger the <Size> parameter is, the higher the walls will be lighted.