nanoMMO
0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
graphics.h
Go to the documentation of this file.
1
#ifndef NANOMMO_CLIENT_GRAPHICS_H_
2
#define NANOMMO_CLIENT_GRAPHICS_H_
3
4
namespace
nanommo
{
5
6
/// How the world looks on its way to the screen, as the player sets it in the
7
/// settings window.
8
struct
GraphicsSettings
{
9
bool
bloom
=
true
;
10
/// The sun's light in bands, and outlines, like a cartoon. A look like that
11
/// is the player's to choose, so it starts off.
12
bool
cel_shading
=
false
;
13
/// Smooths the world's edges, with FXAA.
14
bool
antialias
=
true
;
15
/// The sun across the sky and the night after it. Off, it's always the
16
/// land's day.
17
bool
day_night
=
true
;
18
/// The server's weather: rain, snow, fire and mist, the fireflies, and their
19
/// sounds. Off, the sky is always clear.
20
bool
weather
=
true
;
21
22
bool
operator==
(
const
GraphicsSettings
&)
const
=
default
;
23
};
24
25
}
// namespace nanommo
26
27
#endif
// NANOMMO_CLIENT_GRAPHICS_H_
nanommo
Definition
chat.cc:9
nanommo::GraphicsSettings
Definition
graphics.h:8
nanommo::GraphicsSettings::weather
bool weather
Definition
graphics.h:20
nanommo::GraphicsSettings::operator==
bool operator==(const GraphicsSettings &) const =default
nanommo::GraphicsSettings::cel_shading
bool cel_shading
Definition
graphics.h:12
nanommo::GraphicsSettings::antialias
bool antialias
Smooths the world's edges, with FXAA.
Definition
graphics.h:14
nanommo::GraphicsSettings::day_night
bool day_night
Definition
graphics.h:17
nanommo::GraphicsSettings::bloom
bool bloom
Definition
graphics.h:9
client
graphics.h
Generated by
1.15.0