Antkeeper  0.0.1
Namespaces | Functions
world.cpp File Reference
#include "game/world.hpp"
#include <engine/color/color.hpp>
#include <engine/config.hpp>
#include <engine/debug/log.hpp>
#include <engine/entity/archetype.hpp>
#include "game/commands/commands.hpp"
#include "game/components/atmosphere-component.hpp"
#include "game/components/blackbody-component.hpp"
#include "game/components/celestial-body-component.hpp"
#include "game/components/observer-component.hpp"
#include "game/components/orbit-component.hpp"
#include "game/components/terrain-component.hpp"
#include "game/components/transform-component.hpp"
#include "game/systems/astronomy-system.hpp"
#include "game/systems/atmosphere-system.hpp"
#include "game/systems/orbit-system.hpp"
#include "game/systems/terrain-system.hpp"
#include <engine/geom/solid-angle.hpp>
#include <engine/gl/vertex-array.hpp>
#include <engine/gl/vertex-buffer.hpp>
#include <engine/i18n/string-table.hpp>
#include <engine/math/hash/hash.hpp>
#include <engine/math/noise/noise.hpp>
#include <engine/math/angles.hpp>
#include <engine/physics/light/photometry.hpp>
#include <engine/physics/light/vmag.hpp>
#include <engine/physics/orbit/ephemeris.hpp>
#include <engine/physics/orbit/orbit.hpp>
#include <engine/physics/time/constants.hpp>
#include <engine/physics/time/gregorian.hpp>
#include <engine/physics/time/utc.hpp>
#include <engine/render/material-flags.hpp>
#include <engine/render/material.hpp>
#include <engine/render/model.hpp>
#include <engine/render/passes/sky-pass.hpp>
#include <engine/render/vertex-attribute-location.hpp>
#include <engine/utility/json.hpp>
#include <engine/resources/resource-manager.hpp>
#include <engine/scene/directional-light.hpp>
#include <engine/scene/text.hpp>
#include <algorithm>
#include <execution>
#include <fstream>
#include <engine/animation/screen-transition.hpp>
#include <engine/animation/ease.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)