1#ifndef NANOMMO_CLIENT_FOLEY_H_
2#define NANOMMO_CLIENT_FOLEY_H_
8#include "content/skills.pb.h"
38 .chord = {523.25f, 659.26f, 783.99f}},
43 .chord = {220.0f, 261.63f, 329.63f}},
48 .chord = {196.0f, 233.08f, 277.18f}},
53Ground GroundAt(
const Terrain& terrain,
int land,
float x,
float z);
std::vector< float > Samples
One channel of sound, at kRate.
Samples FxSound(const skills::Fx &fx, uint32_t seed)
The sound of one of a skill's fx, from when it starts.
Ground 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 SkillSound(const skills::Look &look, uint32_t seed, bool target)
Place Arrival(const Gate &gate, float yaw)
constexpr std::array< Land, 3 > kLands
Ground
What a foot comes down on, which is how the step sounds.
Samples Step(Ground ground, uint32_t seed)
constexpr std::array< Ground, 7 > kGrounds
float Coldness(uint32_t color)
constexpr std::array< LandSound, 3 > kLandSounds
Samples Departure(uint32_t seed)
Going through a gate: a rush up, as the screen covers the world.
std::array< float, 3 > chord