FIRE DOC
---------

int new_fire (int x, int y)
Creates a fire of the specified dimensions. Returns the fire ID.

start_fire (int fireid, int z)
Starts drawing the fire. z is the depth where it will be drawn.

stop_fire (int fireid)
Stops drawing the fire.

delete_fire (int fireid)
Frees the memory used by the fire.

update_fire (int fireid)
Calculates next frame.

pos_fire (int fireid, int x, int y)
Specifies where will be the fire drawn.

cooling_fire (int fireid, int cooling)
Specifies the fire's cooling amount. The greater the cooling is, the lower the flames will be.

coolmap_fire (int fireid, int fpg, int map)
Selects the cooling map.
Instead of using cooling_fire it takes this value from the map's pixels.
The map must be the same size as the fire.

cooltype_fire (int fireid, int type)
Selects the cooling type: 0 for cooling_fire, 1 for coolmap_fire.

fueling_fire (int fireid, int starp, int fuelp, int spacep, int intmin, int intmax)
Configures how will we add fuel to the fire.
starp is the amount of pixels we won't fuel at the start.
fuelp is the amount of pixels we will fuel.
spacep is the amount of pixels we won't fuel until the next fueling.
intmin is the minimum fuel intensity.
intmax is the maximum fuel intensity.

fuelmap_fire (int fireid, int fpg, int map)
Selects the fuel map.
This map will be used instead of fueling_fire.
The map must be the same size as the fire.

fueltype_fire (int fireid, int type).
Selects the fuel type. 0 for fueling_fire, 1 for fuelmap_fire.

flag_fire (int fireid, int flag)
Specifies the blitting flag.

int graph_fire(int fireid)
Returns the the graph code.
