// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef CL_SKY_OBJECT_SHEET_H
#define CL_SKY_OBJECT_SHEET_H
#include"nel/misc/stream.h"
#include"nel/misc/bitmap.h"
#include"nel/misc/uv.h"
//
#include"nel/georges/u_form_elm.h"
//
#include<string>
constuintSKY_MAX_NUM_STAGE=4;
constuintSKY_MAX_NUM_FX_USER_PARAMS=4;
enumTSkyRefColor{NoColorRef=0,DiffuseColorRef,ConstantColor0Ref,ConstantColorLastRef=ConstantColor0Ref+SKY_MAX_NUM_STAGE,ParticleEmittersColorRef=ConstantColorLastRef};// color serves as a reference to see if object must be hiden. This is the case when the alpha is 0
sint32TargetTextureStage;// the texture stage to which the gradient must be applied.
/** each bitmap in the following list gives the gradient depending on weather valuet level. The V coordinate gives the gradient values, and U is offseted by the weather value