World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Weather.h
См. документацию.
1 #pragma once
2 
3 #include <array>
4 
5 #include "Engine/Point.h"
6 
7 class Weather {
8  public:
9  Weather() : bNight(false), bRenderSnow(false) {}
10 
11  void DrawSnow();
12  void Initialize();
13  void Draw();
14  bool OnPlayerTurn(int dangle);
15 
16  std::array<Point, 1000> Screen_Coord;
17  bool bNight;
19 };
20 
21 extern Weather *pWeather;
Weather::bRenderSnow
bool bRenderSnow
Definition: Weather.h:18
Point.h
Weather::Weather
Weather()
Definition: Weather.h:9
Weather::Initialize
void Initialize()
Definition: Weather.cpp:41
Weather::Draw
void Draw()
Definition: Weather.cpp:50
pWeather
Weather * pWeather
Definition: Weather.cpp:8
Weather::bNight
bool bNight
Definition: Weather.h:17
Weather::OnPlayerTurn
bool OnPlayerTurn(int dangle)
Definition: Weather.cpp:56
Weather::DrawSnow
void DrawSnow()
Definition: Weather.cpp:10
Weather::Screen_Coord
std::array< Point, 1000 > Screen_Coord
Definition: Weather.h:16
Weather
Definition: Weather.h:7