Go to the source code of this file.
Macros | |
#define | PEER_ID_INEXISTENT 0 |
#define | PEER_ID_SERVER 1 |
#define | INTERNET_SIMULATOR 0 |
#define | INTERNET_SIMULATOR_PACKET_LOSS 10 |
#define | CONNECTION_TIMEOUT 30 |
#define | LIMITED_MAX_SIMULTANEOUS_BLOCK_SENDS 0 |
#define | BLOCK_SEND_DISABLE_LIMITS_MAX_D 1 |
#define | DTIME_LIMIT 2.5f |
#define | MAX_MAP_GENERATION_LIMIT (31007) |
#define | BS 10.0f |
#define | MAP_BLOCKSIZE 16 |
#define | PLAYER_DEFAULT_STEPHEIGHT 0.6f |
#define | PLAYER_INVENTORY_SIZE (8 * 4) |
#define | PLAYER_MAX_HP_DEFAULT 20 |
#define | PLAYER_MAX_BREATH_DEFAULT 10 |
#define | PLAYER_FILE_ALTERNATE_TRIES 1000 |
#define | SCREENSHOT_MAX_SERIAL_TRIES 1000 |
#define | TTF_DEFAULT_FONT_SIZE (16) |
#define BLOCK_SEND_DISABLE_LIMITS_MAX_D 1 |
Referenced by RemoteClient::GetNextBlocks().
#define BS 10.0f |
Referenced by ClientMap::ClientMap(), MapBlockMesh::MapBlockMesh(), OffsetCameraStep::OffsetCameraStep(), Player::Player(), PlayerSAO::PlayerSAO(), RemotePlayer::RemotePlayer(), SmokePuffCSO::SmokePuffCSO(), ServerEnvironment::activateObjects(), add_area_node_boxes(), add_object_boxes(), ServerEnvironment::addActiveObjectRaw(), ParticleManager::addNodeParticle(), GenericCAO::addToScene(), TestCAO::addToScene(), LocalPlayer::applyControl(), MapblockMeshGenerator::blendLight(), MapBlockBspTree::buildTree(), Hud::calculateScreenPos(), checkFloatPos(), Server::checkInteractDistance(), collision_check_intersection(), collisionMoveSimple(), Environment::continueRaycast(), convertNodeboxesToMesh(), createSpecialNodeMesh(), DirectionalLight::createSplitMatrices(), Client::CSMClampPos(), Client::CSMClampRadius(), Client::CSMGetNode(), ServerEnvironment::deactivateFarObjects(), GenericCAO::directReportPunch(), MapblockMeshGenerator::drawAllfacesNode(), Hud::drawBlockBounds(), MapblockMeshGenerator::drawFencelikeNode(), MapblockMeshGenerator::drawFirelikeNode(), MapblockMeshGenerator::drawFirelikeQuad(), MapblockMeshGenerator::drawGlasslikeFramedNode(), MapblockMeshGenerator::drawGlasslikeNode(), MapblockMeshGenerator::drawLiquidBottom(), MapblockMeshGenerator::drawLiquidSides(), MapblockMeshGenerator::drawLiquidTop(), Hud::drawLuaElements(), Camera::drawNametags(), MapblockMeshGenerator::drawNode(), MapblockMeshGenerator::drawNodeboxNode(), MapblockMeshGenerator::drawPlantlike(), MapblockMeshGenerator::drawPlantlikeQuad(), MapblockMeshGenerator::drawPlantlikeRootedNode(), MapblockMeshGenerator::drawRaillikeNode(), Game::drawScene(), MapblockMeshGenerator::drawSignlikeNode(), MapblockMeshGenerator::drawSolidNode(), MapblockMeshGenerator::drawTorchlikeNode(), fillViewConeBlock(), Server::findSpawnPos(), NodeDefManager::fixSelectionBoxIntUnion(), MapblockMeshGenerator::generateCuboidTextureCoords(), ServerEnvironment::getAddedActiveObjects(), ClientMap::getBackgroundBrightness(), GenericCAO::getCollisionBox(), LuaEntitySAO::getCollisionBox(), PlayerSAO::getCollisionBox(), MapblockMeshGenerator::getCornerLevel(), LuaEntitySAO::getDescription(), LocalPlayer::getEyeOffset(), PlayerSAO::getEyeOffset(), LocalPlayer::getFootstepNodePos(), Camera::getFrustumCuller(), GenericCAO::getLightPosition(), LocalPlayer::getLightPosition(), DirectionalLight::getMaxFarValue(), LuaEntitySAO::getMinimumSavedMovement(), ServerActiveObject::getMinimumSavedMovement(), RemoteClient::GetNextBlocks(), MapblockMeshGenerator::getNodeBoxMask(), getNodeBoxUnion(), ParticleManager::getNodeParticleParams(), GenericCAO::getPosition(), ServerEnvironment::getRemovedActiveObjects(), ServerEnvironment::getSelectedActiveObjects(), LuaEntitySAO::getSelectionBox(), PlayerSAO::getSelectionBox(), getVisibleBrightness(), Clouds::gridFilled(), LocalPlayer::handleAutojump(), Client::handleCommand_AuthAccept(), Server::handleCommand_Damage(), Server::handleCommand_Interact(), Server::handleCommand_InventoryAction(), Client::handleCommand_Movement(), Client::handleCommand_PlaySound(), isBlockInSight(), Map::isBlockOccluded(), Map::isOccluded(), LuaLocalPlayer::l_get_last_pos(), ModApiEnv::l_get_node_boxes(), ModApiEnv::l_get_objects_in_area(), ModApiEnv::l_get_objects_inside_radius(), LuaCamera::l_get_offset(), LuaCamera::l_get_pos(), LuaLocalPlayer::l_get_pos(), ObjectRef::l_get_pos(), LuaLocalPlayer::l_get_velocity(), ObjectRef::l_get_velocity(), Environment::line_of_sight(), LocalPlayer::move(), Game::nodePlacement(), objectpos_over_limit(), LocalPlayer::old_move(), GameGlobalShaderConstantSetter::onSetConstants(), RaycastSort::operator()(), GenericCAO::processMessage(), Game::processPlayerInteraction(), push_collision_move_result(), push_object_properties(), push_pointed_thing(), pushFloatPos(), read_object_properties(), read_server_sound_params(), Clouds::render(), ClientMap::renderMap(), ClientMap::renderMapShadows(), ClientMap::renderPostFx(), NodeBox::reset(), Server::sendAddNode(), Server::SendAddParticleSpawner(), Server::sendMetadataChanged(), Server::sendNodeChangePkt(), Server::sendRemoveNode(), Server::SendSpawnParticle(), WieldMeshSceneNode::setItem(), PlayerSAO::setMaxSpeedOverride(), Hud::setSelectionPos(), ParticleSpawner::spawnParticle(), Client::step(), ClientEnvironment::step(), Clouds::step(), GenericCAO::step(), LuaEntitySAO::step(), Particle::step(), PlayerSAO::step(), ServerEnvironment::step(), TestSAO::testActivate(), TestUtilities::testIsBlockInSight(), TestMap::testMaxMapgenLimit(), TestSAO::testNotSaved(), TestSAO::testStaticSave(), TestSAO::testStaticToFalse(), TestSAO::testStaticToTrue(), ClientMap::touchMapBlocks(), transformNodeBox(), ActiveBlockList::update(), Camera::update(), Clouds::update(), GameUI::update(), DirectionalLight::update_frustum(), Minimap::updateActiveMarkers(), GenericCAO::updateAttachments(), Clouds::updateBox(), ClientMap::updateCamera(), Game::updateClouds(), ClientMap::updateDrawList(), ClientMap::updateDrawListShadow(), Game::updateFrame(), Clouds::updateMesh(), GenericCAO::updateNodePos(), Game::updatePointedThing(), ShadowRenderer::updateSMTextures(), LocalPlayer::updateSneakNode(), Game::updateSound(), MapBlockMesh::updateTransparentBuffers(), ClientMap::updateTransparentMeshBuffers(), Particle::updateVertices(), and Camera::updateViewingRange().
#define CONNECTION_TIMEOUT 30 |
Referenced by Client::connect().
#define DTIME_LIMIT 2.5f |
Referenced by collisionMoveSimple(), and Client::step().
#define INTERNET_SIMULATOR 0 |
Referenced by TestConnection::TestConnection(), TestSocket::TestSocket(), and UDPSocket::Send().
#define INTERNET_SIMULATOR_PACKET_LOSS 10 |
Referenced by UDPSocket::Send().
#define LIMITED_MAX_SIMULTANEOUS_BLOCK_SENDS 0 |
Referenced by RemoteClient::GetNextBlocks().
#define MAP_BLOCKSIZE 16 |
Referenced by MapBlockMesh::MapBlockMesh(), Mapgen::Mapgen(), MapgenV6::MapgenV6(), Map::addNodeAndUpdate(), PlayerSAO::addPos(), Client::addUpdateMeshTaskForNode(), analyze_block(), ABMHandler::apply(), LBMManager::applyLBMs(), RollbackAction::applyRevert(), voxalgo::blit_back_with_light(), MapgenV6::block_is_underground(), ServerMap::blockpos_over_mapgen_limit(), blockpos_over_max_limit(), CavesRandomWalk::carveRoute(), CavesV6::carveRoute(), content_nodemeta_deserialize_legacy(), MapBlock::copyFrom(), MapBlock::copyTo(), NodeMetadataList::deSerialize(), NodeTimerList::deSerialize(), Hud::drawBlockBounds(), voxalgo::fill_with_sunlight(), voxalgo::fill_with_sunlight(), MeshMakeData::fillBlockData(), MeshMakeData::fillBlockDataBegin(), MeshUpdateQueue::fillDataFromMapBlocks(), fillViewConeBlock(), Map::findNodesWithMetadata(), voxalgo::finish_bulk_light_update(), EmergeThread::finishGen(), Map::forEachNodeInArea(), DungeonGen::generate(), MapgenV6::generateCaves(), get_mapgen_edges(), get_solid_sides(), MapEditEvent::getArea(), MapgenV6::getBiome(), ClientMap::getBlocksInViewRange(), MapBlock::getBox(), MapgenV6::getHumidity(), MinimapUpdateThread::getMap(), MinimapMapblock::getMinimapNodes(), RemoteClient::GetNextBlocks(), Map::getNode(), getNodeBlockPos(), getNodeBlockPosWithOffset(), Map::getNodeMetadata(), Map::getNodeTimer(), ServerEnvironment::init(), MMVManip::initialEmerge(), EmergeManager::initMapgens(), voxalgo::is_sunlight_above_block(), isBlockInSight(), Map::isBlockOccluded(), EmergeManager::isBlockUnderground(), ReflowScan::isLiquidFlowableTo(), ClientMap::isMeshOccluded(), MapBlock::isValidPosition(), LuaVoxelManip::l_calc_lighting(), ModApiEnv::l_fix_light(), ModApiMapgen::l_generate_decorations(), ModApiMapgen::l_generate_ores(), LuaVoxelManip::l_set_lighting(), loadGameConfAndInitWorld(), ReflowScan::lookupBlock(), CavesRandomWalk::makeCave(), CavesV6::makeCave(), MapgenCarpathian::makeChunk(), MapgenFlat::makeChunk(), MapgenFractal::makeChunk(), MapgenSinglenode::makeChunk(), MapgenV5::makeChunk(), MapgenV6::makeChunk(), MapgenV7::makeChunk(), MapgenValleys::makeChunk(), ScriptApiMapgen::on_generated(), voxalgo::propagate_block_sunlight(), Map::removeNodeMetadata(), Map::removeNodeTimer(), ClientMap::renderMap(), ClientMap::renderMapShadows(), voxalgo::repair_block_light(), ReflowScan::scan(), ReflowScan::scanColumn(), Server::SendActiveObjectRemoveAdd(), Server::SendAddParticleSpawner(), Client::sendPlayerPos(), Server::SendSpawnParticle(), NodeMetadataList::serialize(), NodeTimerList::serialize(), set_node_in_block(), MeshMakeData::setCrack(), Map::setNode(), Map::setNodeMetadata(), Map::setNodeTimer(), PlayerSAO::setPos(), ParticleSpawner::step(), voxalgo::step_rel_block_pos(), TestUtilities::testIsBlockInSight(), TestMapBlock::testLoad20(), TestMapBlock::testLoad29(), TestMapBlock::testLoadNonStd(), TestMap::testMaxMapgenLimit(), ClientMap::touchMapBlocks(), ClientMap::updateCamera(), ClientMap::updateDrawList(), MapBlockMesh::updateTransparentBuffers(), workOnBoth(), workOnMetadata(), workOnNodes(), and writePlayerPos().
#define MAX_MAP_GENERATION_LIMIT (31007) |
Referenced by BiomeManager::BiomeManager(), ServerMap::blockpos_over_mapgen_limit(), blockpos_over_max_limit(), Mapgen::findGroundLevel(), Mapgen::findLiquidSurface(), Server::findSpawnPos(), MapgenV5::generateBaseTerrain(), MapgenV6::generateGround(), MapgenCarpathian::generateTerrain(), MapgenFlat::generateTerrain(), MapgenFractal::generateTerrain(), MapgenV7::generateTerrain(), MapgenValleys::generateTerrain(), get_mapgen_edges(), MapgenCarpathian::getSpawnLevelAtPoint(), MapgenFlat::getSpawnLevelAtPoint(), MapgenFractal::getSpawnLevelAtPoint(), MapgenV5::getSpawnLevelAtPoint(), MapgenV6::getSpawnLevelAtPoint(), MapgenV7::getSpawnLevelAtPoint(), MapgenValleys::getSpawnLevelAtPoint(), ModApiMapgen::l_get_mapgen_edges(), ModApiMapgen::l_get_spawn_level(), MapgenCarpathian::makeChunk(), MapgenFlat::makeChunk(), MapgenV5::makeChunk(), MapgenV7::makeChunk(), MapgenValleys::makeChunk(), objectpos_over_limit(), Decoration::placeDeco(), and TestMap::testMaxMapgenLimit().
#define PEER_ID_INEXISTENT 0 |
Referenced by PlayerSAO::PlayerSAO(), Server::~Server(), PlayerSAO::addedToEnvironment(), Server::addParticleSpawner(), ServerEnvironment::addPlayer(), Server::AsyncRunStep(), con::ConnectionSendThread::connect(), con::Connection::Connected(), ServerInventoryManager::createDetachedInventory(), con::Connection::createPeer(), Server::DeleteClient(), Server::deleteParticleSpawner(), PlayerSAO::disconnected(), con::Connection::doResendOne(), ServerMap::getBlockOrEmerge(), PlayerSAO::getPeerID(), ServerEnvironment::getPlayer(), Server::handleCommand_Init(), con::ConnectionReceiveThread::handlePacketType_Control(), ModApiEnv::l_emerge_area(), con::Connection::lookupPeer(), Server::notifyPlayers(), EmergeManager::pushBlockEmergeData(), con::ConnectionReceiveThread::receive(), ServerInventoryManager::removeDetachedInventory(), Server::requestShutdown(), Server::SendAddParticleSpawner(), Server::SendChatMessage(), Server::SendDeleteParticleSpawner(), Server::sendDetachedInventories(), Server::sendDetachedInventory(), Server::SendSpawnParticle(), Server::SendTimeOfDay(), Server::spawnParticle(), Server::StageTwoClientInit(), ServerEnvironment::step(), and Server::ShutdownState::tick().
#define PEER_ID_SERVER 1 |
Referenced by Server::broadcastModChannelMessage(), con::ConnectionSendThread::connect(), con::Connection::Connected(), con::Connection::ConnectedToServer(), con::Connection::createServerPeer(), con::Connection::getLocalStat(), Client::getRTT(), Client::getServerAddress(), Server::joinModChannel(), TestGameDef::joinModChannel(), Server::leaveModChannel(), TestGameDef::leaveModChannel(), Client::ProcessData(), Client::Send(), Server::sendModChannelMessage(), con::ConnectionSendThread::serve(), and TestConnection::testConnectSendReceive().
#define PLAYER_DEFAULT_STEPHEIGHT 0.6f |
Referenced by PlayerSAO::PlayerSAO().
#define PLAYER_FILE_ALTERNATE_TRIES 1000 |
#define PLAYER_INVENTORY_SIZE (8 * 4) |
Referenced by Player::Player().
#define PLAYER_MAX_BREATH_DEFAULT 10 |
Referenced by PlayerSAO::PlayerSAO().
#define PLAYER_MAX_HP_DEFAULT 20 |
#define SCREENSHOT_MAX_SERIAL_TRIES 1000 |
Referenced by Client::makeScreenshot().
#define TTF_DEFAULT_FONT_SIZE (16) |
Referenced by set_default_settings().