nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
lands.cc File Reference
#include "terrain/lands.h"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  nanommo

Functions

int nanommo::LandNamed (std::string_view name)
 Its place in the list, or the first land's for a name that isn't there.
bool nanommo::IsLand (std::string_view name)
bool nanommo::InGate (const Gate &gate, float x, float z)
const Gate & nanommo::Twin (const Gate &gate)
 The gate in the land this one takes you to, which leads back.
const Gate & nanommo::WayOut (int dungeon)
 The dungeon's way out: its first gate.
Place nanommo::Arrival (const Gate &gate, float yaw)