World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
EngineConfig.cpp
См. документацию.
1
#include "
Engine/EngineConfig.h
"
2
3
using
Engine_::EngineConfig
;
4
5
6
void
EngineConfig::SetSaturateFaces(
bool
saturate) {
7
if
(saturate)
8
flags2
|= GAME_FLAGS_2_SATURATE_LIGHTMAPS;
9
else
10
flags2
&= ~GAME_FLAGS_2_SATURATE_LIGHTMAPS;
11
}
12
13
void
EngineConfig::SetForceRedraw
(
bool
redraw) {
14
if
(redraw)
15
flags2
|= GAME_FLAGS_2_FORCE_REDRAW;
16
else
17
flags2
&= ~GAME_FLAGS_2_FORCE_REDRAW;
18
}
Engine_::EngineConfig
Definition:
EngineConfig.h:35
Engine_::EngineConfig::flags2
int flags2
Definition:
EngineConfig.h:94
EngineConfig.h
Engine_::EngineConfig::SetForceRedraw
void SetForceRedraw(bool redraw)
Definition:
EngineConfig.cpp:13
Engine
EngineConfig.cpp
Документация по World of Might and Magic. Последние изменения: Вт 7 Апр 2020 22:03:27. Создано системой
1.8.17