nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
moves.h File Reference
#include <raylib.h>
#include <array>
#include "content/skills.pb.h"

Go to the source code of this file.

Classes

struct  nanommo::Bend

Namespaces

namespace  nanommo

Typedefs

using nanommo::Joints = std::array<int, kJointBones.size()>
 Where a model's bones are, by joint, or -1 for one it doesn't have.

Functions

Joints nanommo::FindJoints (const Model &model)
Bend nanommo::BendAt (const skills::Move &move, float ms)
 The move, ms into it, between the keys either side.
void nanommo::Turn (const Bend &bend, const Joints &joints, float metre, const ModelSkeleton &skeleton, Transform *pose)
void nanommo::Apply (const Bend &bend, const Joints &joints, float metre, Model &model)

Variables

constexpr std::array< const char *, 13 > nanommo::kJointBones
 Each joint's bone in the rig, in the order of the joints.