- #ifndef WEATHER_CONTROL_H
- #define WEATHER_CONTROL_H
- #include "comman.h"
- enum weathercondition
- {
- FINE = 1,
- CLOUDY,
- DAY,
- NIGHT,
- SNOWING
- };
- class CWeatherControl
- {
- public:
- CWeatherControl(LPDIRECT3DDEVICE9 device, CConfiguration *config);
- bool Init();
- bool Update();
- bool Render();
- void set(int i);
- float process;
- int status;
- float level;
- float currentlevel;
- CConfiguration *config;
- LPDIRECT3DDEVICE9 device;
- };
- #endif