#include "client/renderingengine.h"
#include "clouds.h"
#include "noise.h"
#include "constants.h"
#include "debug.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 | |
Clouds * | g_menuclouds = NULL |
irr::scene::ISceneManager * | g_menucloudsmgr = NULL |
static constexpr const float | cloud_size = BS * 64.0f |
#define GETINDEX | ( | x, | |
z, | |||
radius | |||
) | (((z)+(radius))*(radius)*2 + (x)+(radius)) |
#define INAREA | ( | x, | |
z, | |||
radius | |||
) | ((x) >= -(radius) && (x) < (radius) && (z) >= -(radius) && (z) < (radius)) |
|
static |
|
staticconstexpr |
Referenced by Clouds::gridFilled(), Clouds::render(), and Clouds::update().
Clouds* g_menuclouds = NULL |
Referenced by RenderingEngine::_draw_load_screen(), RenderingEngine::_draw_menu_scene(), and ClientLauncher::run().
irr::scene::ISceneManager* g_menucloudsmgr = NULL |
Referenced by RenderingEngine::_draw_load_screen(), RenderingEngine::_draw_menu_scene(), and ClientLauncher::run().