#include "camera.h"#include "debug.h"#include "client.h"#include "config.h"#include "map.h"#include "clientmap.h"#include "player.h"#include <cmath>#include "client/renderingengine.h"#include "client/content_cao.h"#include "settings.h"#include "wieldmesh.h"#include "noise.h"#include "mtevent.h"#include "nodedef.h"#include "util/numeric.h"#include "constants.h"#include "fontengine.h"#include "script/scripting_client.h"#include "gettext.h"#include <SViewFrustum.h>#include <IGUIFont.h>#include <IVideoDriver.h>
 Include dependency graph for camera.cpp:Macros | |
| #define | WIELDMESH_OFFSET_X 55.0f | 
| #define | WIELDMESH_OFFSET_Y -35.0f | 
| #define | WIELDMESH_AMPLITUDE_X 7.0f | 
| #define | WIELDMESH_AMPLITUDE_Y 10.0f | 
Functions | |
| f32 | my_modf (f32 x) | 
| static v2f | dir (const v2f &pos_dist) | 
Variables | |
| static constexpr f32 | CAMERA_OFFSET_STEP = 200 | 
| static const char * | setting_names [] | 
| #define WIELDMESH_AMPLITUDE_X 7.0f | 
Referenced by Camera::addArmInertia().
| #define WIELDMESH_AMPLITUDE_Y 10.0f | 
Referenced by Camera::addArmInertia().
| #define WIELDMESH_OFFSET_X 55.0f | 
Referenced by Camera::addArmInertia(), and dir().
| #define WIELDMESH_OFFSET_Y -35.0f | 
Referenced by Camera::addArmInertia(), and dir().
References WIELDMESH_OFFSET_X, WIELDMESH_OFFSET_Y, x, and y.
Referenced by Camera::addArmInertia(), ServerMap::addNodeAndUpdate(), boxLineCollision(), boxLineCollision(), Pathfinder::calcCost(), ChatPrompt::cursorOperation(), MapblockMeshGenerator::drawGlasslikeFramedNode(), MapblockMeshGenerator::drawGlasslikeNode(), Hud::drawHotbar(), MapblockMeshGenerator::drawLiquidTop(), MapblockMeshGenerator::drawNodeboxNode(), MapblockMeshGenerator::drawRaillikeNode(), client::ActiveObjectMgr::getActiveSelectableObjects(), ClientMap::getBackgroundBrightness(), PathGridnode::getCost(), getNodeTile(), fs::GetRecursiveDirs(), fs::GetRecursiveDirs(), getVisibleBrightness(), Game::handleClientEvent_HudChange(), Client::handleCommand_HudAdd(), Server::handleCommand_Interact(), Game::handlePointingAtObject(), Map::isBlockOccluded(), MapblockMeshGenerator::isSameRail(), ObjectRef::l_punch(), ScriptApiEntity::luaentity_Punch(), treegen::make_ltree(), DungeonGen::makeCorridor(), Game::nodePlacement(), ScriptApiPlayer::on_punchplayer(), GUIChatConsole::OnEvent(), GUITable::OnEvent(), Game::processItemSelection(), LuaEntitySAO::punch(), PlayerSAO::punch(), rand_ortho_dir(), random_turn(), PathGridnode::setCost(), DirectionalLight::setDirection(), ParticleSpawner::spawnParticle(), Mapgen::spreadLight(), voxalgo::step_rel_block_pos(), GUITable::toggleVisibleTree(), transformNodeBox(), TouchControls::translateEvent(), turn_xz(), ClientMap::updateCamera(), Game::updatePointedThing(), and GenericCAO::updateTexturePos().
      
  | 
  inline | 
References x.
Referenced by Camera::step(), and Camera::update().
 Here is the caller graph for this function:
      
  | 
  staticconstexpr | 
Referenced by Camera::updateOffset().
      
  | 
  static | 
Referenced by Camera::Camera(), and TouchControls::TouchControls().