#include "client/renderingengine.h"
#include "client/shader.h"
#include "clouds.h"
#include "constants.h"
#include "debug.h"
#include "irrlicht_changes/printing.h"
#include "noise.h"
#include "profiler.h"
#include "settings.h"
#include <cmath>
Macros | |
#define | GETINDEX(x, z, radius) (((z)+(radius))*(radius)*2 + (x)+(radius)) |
#define | INAREA(x, z, radius) ((x) >= -(radius) && (x) < (radius) && (z) >= -(radius) && (z) < (radius)) |
Functions | |
static void | cloud_3d_setting_changed (const std::string &settingname, void *data) |
Variables | |
scene::ISceneManager * | g_menucloudsmgr = nullptr |
Clouds * | g_menuclouds = nullptr |
static constexpr const float | cloud_size = BS * 64.0f |
#define GETINDEX | ( | x, | |
z, | |||
radius ) (((z)+(radius))*(radius)*2 + (x)+(radius)) |
Referenced by Clouds::updateMesh().
#define INAREA | ( | x, | |
z, | |||
radius ) ((x) >= -(radius) && (x) < (radius) && (z) >= -(radius) && (z) < (radius)) |
Referenced by Clouds::updateMesh().
|
static |
References Clouds::readSettings().
Referenced by Clouds::Clouds().
|
staticconstexpr |
Referenced by Clouds::gridFilled(), Clouds::render(), Clouds::update(), and Clouds::updateMesh().
Clouds* g_menuclouds = nullptr |
Referenced by RenderingEngine::draw_load_screen(), GUIEngine::drawClouds(), and ClientLauncher::run().
scene::ISceneManager* g_menucloudsmgr = nullptr |
Referenced by RenderingEngine::draw_load_screen(), GUIEngine::drawClouds(), and ClientLauncher::run().