nanoMMO 0.97.8Test coverage / Every file / client/graphics.h

Created: 2026-11-26 01:25

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/client/graphics.h
Line
Count
Source
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
18
  bool operator==(const GraphicsSettings&) const = default;
23
};
24
25
}  // namespace nanommo
26
27
#endif  // NANOMMO_CLIENT_GRAPHICS_H_