nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
weather.h File Reference
#include <cstdint>
#include "protocol/nanommo.pb.h"

Go to the source code of this file.

Namespaces

namespace  nanommo

Functions

protocol::Sky nanommo::SkyAt (int land, int64_t unix_ms)
int64_t nanommo::UnixMs ()
 Now, by the wall clock, in milliseconds since 1970.

Variables

constexpr int64_t nanommo::kDayMs = 40 * 60 * 1000
 From one midnight to the next, in milliseconds of the wall clock.
constexpr int64_t nanommo::kSlotMs = 15 * 60 * 1000
constexpr int64_t nanommo::kShortestSpellMs = 6 * 60 * 1000
constexpr int64_t nanommo::kRampMs = 90 * 1000
 How long a spell takes to come, and to go, in milliseconds.