nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
nanommo::cinema Namespace Reference

Classes

class  Clock
class  Stage

Functions

absl::StatusOr< Film > ReadFilm (const std::string &path)
 The shots in a text file, as the content files are written.
int LandOf (const Shot &shot)
 The land a shot is in, by its place in kLands.
Terrain TerrainOf (int land)
 The land's terrain, as the server builds it for the first world.
float SpeedAt (const Shot &shot, float seconds)
 How fast the game runs at that second of the shot.
Vector3 Place (const Point &point, const Terrain &terrain)
Camera3D CameraAt (const Shot &shot, float seconds, bool tall, const Terrain &terrain)

Function Documentation

◆ CameraAt()

Camera3D nanommo::cinema::CameraAt ( const Shot & shot,
float seconds,
bool tall,
const Terrain & terrain )

Where the camera is at that second of the shot, and what it looks at: the tall camera's, for a tall picture.

Definition at line 253 of file film.cc.

◆ LandOf()

int nanommo::cinema::LandOf ( const Shot & shot)

The land a shot is in, by its place in kLands.

Definition at line 174 of file film.cc.

◆ Place()

Vector3 nanommo::cinema::Place ( const Point & point,
const Terrain & terrain )

The point in the land, with its height worked out from the ground or the sea.

Definition at line 212 of file film.cc.

◆ ReadFilm()

absl::StatusOr< Film > nanommo::cinema::ReadFilm ( const std::string & path)

The shots in a text file, as the content files are written.

Definition at line 143 of file film.cc.

◆ SpeedAt()

float nanommo::cinema::SpeedAt ( const Shot & shot,
float seconds )

How fast the game runs at that second of the shot.

Definition at line 180 of file film.cc.

◆ TerrainOf()

Terrain nanommo::cinema::TerrainOf ( int land)

The land's terrain, as the server builds it for the first world.

Definition at line 176 of file film.cc.