|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include <array>#include <cstdint>#include "client/synth.h"#include "content/skills.pb.h"#include "terrain/lands.h"#include "terrain/terrain.h"Go to the source code of this file.
Classes | |
| struct | nanommo::LandSound |
Namespaces | |
| namespace | nanommo |
Enumerations | |
| enum class | nanommo::Ground { nanommo::kGrass , nanommo::kSand , nanommo::kRock , nanommo::kSnow , nanommo::kAsh , nanommo::kStone , nanommo::kWater } |
| What a foot comes down on, which is how the step sounds. More... | |
Functions | |
| Ground | nanommo::GroundAt (const Terrain &terrain, int land, float x, float z) |
| What's underfoot there: the water we wade in, or the land's surface. | |
| Samples | nanommo::Step (Ground ground, uint32_t seed) |
| float | nanommo::Coldness (uint32_t color) |
| Samples | nanommo::FxSound (const skills::Fx &fx, uint32_t seed) |
| The sound of one of a skill's fx, from when it starts. | |
| Samples | nanommo::SkillSound (const skills::Look &look, uint32_t seed, bool target) |
| Samples | nanommo::Departure (uint32_t seed) |
| Going through a gate: a rush up, as the screen covers the world. | |
| Samples | nanommo::Arrival (int land) |
| Coming out into a land: its chord, struck like bells. | |
Variables | |
| constexpr std::array< Ground, 7 > | nanommo::kGrounds |
| constexpr std::array< LandSound, 3 > | nanommo::kLandSounds |