World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
IRenderConfig.h
См. документацию.
1 #pragma once
2 
3 #include <string>
4 
5 namespace Graphics {
6 
7 enum class RendererType {
9  OpenGl
10 };
11 
13  public:
14  inline bool IsFullscreen() const { return is_fullscreen; }
15 
16 
17  int render_width = 640;
18  int render_height = 480;
19 
20  bool is_fullscreen = false;
21  bool is_tinting = true;
22  bool is_using_specular = false;
24  bool is_using_fog = false;
25 
27 };
28 
29 } // namespace Graphics
Graphics::IRenderConfig::is_using_colored_lights
bool is_using_colored_lights
Definition: IRenderConfig.h:23
Graphics::IRenderConfig::render_width
int render_width
Definition: IRenderConfig.h:17
Graphics::IRenderConfig::is_using_specular
bool is_using_specular
Definition: IRenderConfig.h:22
Graphics::RendererType::OpenGl
@ OpenGl
Graphics::IRenderConfig::render_height
int render_height
Definition: IRenderConfig.h:18
Graphics
Definition: IRenderConfig.h:5
Graphics::RendererType
RendererType
Definition: IRenderConfig.h:7
Graphics::IRenderConfig::renderer_type
RendererType renderer_type
Definition: IRenderConfig.h:26
Graphics::IRenderConfig
Definition: IRenderConfig.h:12
Graphics::IRenderConfig::is_using_fog
bool is_using_fog
Definition: IRenderConfig.h:24
Graphics::IRenderConfig::is_fullscreen
bool is_fullscreen
Definition: IRenderConfig.h:20
Graphics::IRenderConfig::IsFullscreen
bool IsFullscreen() const
Definition: IRenderConfig.h:14
Graphics::IRenderConfig::is_tinting
bool is_tinting
Definition: IRenderConfig.h:21
Graphics::RendererType::DirectDraw
@ DirectDraw