nanoMMO
0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
scene.h
Go to the documentation of this file.
1
#ifndef NANOMMO_CLIENT_SCENE_H_
2
#define NANOMMO_CLIENT_SCENE_H_
3
4
#include <raylib.h>
5
6
#include <cstdint>
7
8
namespace
nanommo
{
9
10
/// How many colours there are to dye a player's clothes in.
11
inline
constexpr
int
kShirtColors
= 6;
12
13
/// The colour a player chose for their clothes, the shirt-th of the players'
14
/// colours, wrapped round to what there is.
15
Color
ShirtColor
(uint32_t shirt);
16
17
/// The colour a player's id picks for their clothes, when they didn't choose
18
/// one: a character from before there was a colour to choose.
19
Color
PlayerColor
(uint32_t
id
);
20
21
}
// namespace nanommo
22
23
#endif
// NANOMMO_CLIENT_SCENE_H_
nanommo
Definition
chat.cc:9
nanommo::kShirtColors
constexpr int kShirtColors
How many colours there are to dye a player's clothes in.
Definition
scene.h:11
nanommo::ShirtColor
Color ShirtColor(uint32_t shirt)
Definition
scene.cc:20
nanommo::PlayerColor
Color PlayerColor(uint32_t id)
Definition
scene.cc:24
client
scene.h
Generated by
1.15.0