group2
0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
PlayerNicknames.hpp
Go to the documentation of this file.
1
16
17
#pragma once
18
19
#include <array>
20
21
namespace
player_nicknames
22
{
23
24
// `const char*` rather than `std::string_view` — the assigner reaches
25
// into `PlayerName::set(const char*)` which expects a NUL-terminated
26
// source; `string_view::data()` doesn't promise that.
27
inline
constexpr
std::array<const char*, 24>
k_nicknames
= {
28
// Earth predators / raptors — instantly recognisable.
29
"WOLF"
,
30
"FOX"
,
31
"HAWK"
,
32
"OWL"
,
33
"RAVEN"
,
34
"LYNX"
,
35
"OTTER"
,
36
"SHARK"
,
37
"ORCA"
,
38
"EAGLE"
,
39
"TIGER"
,
40
"COBRA"
,
41
"VIPER"
,
42
"MANTIS"
,
43
"JAGUAR"
,
44
"PANTHER"
,
45
"KESTREL"
,
46
"BADGER"
,
47
"FALCON"
,
48
"MOOSE"
,
49
"BISON"
,
50
// Mythological apex picks — round out the pool past the realistic ones.
51
"KRAKEN"
,
52
"PHOENIX"
,
53
"GRYPHON"
,
54
};
55
56
inline
constexpr
int
k_nicknameCount
=
static_cast<
int
>
(
k_nicknames
.size());
57
58
}
// namespace player_nicknames
player_nicknames
Definition
PlayerNicknames.hpp:22
player_nicknames::k_nicknameCount
constexpr int k_nicknameCount
Definition
PlayerNicknames.hpp:56
player_nicknames::k_nicknames
constexpr std::array< const char *, 24 > k_nicknames
Definition
PlayerNicknames.hpp:27
src
ecs
components
PlayerNicknames.hpp
Generated by
1.16.1