Antkeeper  0.0.1
Namespaces | Functions
world.hpp File Reference
#include "game/game.hpp"
#include "game/ecoregion.hpp"

Go to the source code of this file.

Namespaces

 world
 World creation and manipulation functions.
 

Functions

void world::cosmogenesis (::game &ctx)
 Creates the cosmos. More...
 
void world::create_observer (::game &ctx)
 Creates the observer. More...
 
void world::set_location (::game &ctx, double elevation, double latitude, double longitude)
 Sets the location of the observer. More...
 
void world::set_time (::game &ctx, double t)
 Sets the current time. More...
 
void world::set_time (::game &ctx, int year, int month, int day, int hour, int minute, double second)
 Sets the current time. More...
 
void world::set_time_scale (::game &ctx, double scale)
 Sets rate at which time passes. More...
 
void world::enter_ecoregion (::game &ctx, const ecoregion &ecoregion)
 Enters a ecoregion. More...
 
void world::switch_scene (::game &ctx)