载入中...
搜索中...
未找到
PixelWorld.cpp 文件参考
#include "pixelworld/PixelWorld.h"
#include "pixelworld/PixelWorldControl.h"
#include "common/Status.h"
#include <algorithm>
#include <array>
#include <atomic>
#include <bit>
#include <cstring>
#include <chrono>
#include <deque>
#include <limits>
#include <set>
#include <string>
#include <unordered_map>
#include <utility>

浏览源代码.

类

struct  eve::pixelworld::PixelWorld::Impl
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::pixelworld
 

变量说明

◆ active

bool active = true

在文件 PixelWorld.cpp 第 63 行定义.

◆ cells

std::array<PixelCell, kPixelChunkSize * kPixelChunkSize> cells {}

在文件 PixelWorld.cpp 第 52 行定义.

被这些函数引用 eve::procgen::TerrainAsset::bake(), eve::ui::DatabasePanel::build(), eve::fluids::buildVolumeFluidMeshDistribution(), eve::graphics::fog::MacFluidGrid::configure(), eve::physics::destruction_cook::cookGeometryCollection(), eve::fluids::VolumeFluid::create(), eve::fluids::VolumeFluid::debugParticleGrid(), eve::pixelworld::decodePixelWorldGenerationRequestJson(), eve::hexmap::HexVisibility::decrease(), eve::hexmap::HexMap::editElevation(), eve::hexmap::HexSphereMap::editElevation(), eve::hexmap::HexMap::editFeatureLevel(), eve::hexmap::HexSphereMap::editFeatureLevel(), eve::hexmap::HexMap::editTerrainType(), eve::hexmap::HexSphereMap::editTerrainType(), eve::hexmap::HexMap::editWaterLevel(), eve::hexmap::HexSphereMap::editWaterLevel(), eve::pixelworld::encodePixelWorldGenerationRequestJson(), eve::level_editing::Brush::eraseAt(), eve::fluids::exposeVolumeFluidType(), eve::procgen::gridgraph::findPath(), eve::procgen::generateHexTerrainMesh(), eve::procgen::gridToJson(), eve::hexmap::hexTerrainBakeFromValue(), eve::hexmap::HexVisibility::increase(), eve::procgen::TerrainAsset::loadChunk(), eve::hexmap::loadHexMap(), eve::fluids::SimGrid::make(), eve::level_editing::Brush::paintAt(), eve::level_editing::Brush::paintLine(), eve::level_editing::Brush::paintRect(), eve::level_editing::Brush::previewAt(), eve::level_editing::Brush::previewLine(), eve::tactics::BattleSystem::previewMove(), eve::level_editing::Brush::previewRect(), eve::crowd::Crowd::Impl::rebuildGrid(), eve::map::MapArtifactProvider::restoreState(), eve::procgen::gridgraph::select(), eve::tactics::TacticsPersistence::snapshot() , 以及 eve::map::MapArtifactProvider::snapshotState().

◆ idleTicks

std::uint8_t idleTicks = 0

在文件 PixelWorld.cpp 第 65 行定义.

◆ materialCounts

std::array<std::uint16_t, 64> materialCounts {}

在文件 PixelWorld.cpp 第 54 行定义.

◆ materialOverflow

std::uint32_t materialOverflow = 0

在文件 PixelWorld.cpp 第 58 行定义.

◆ maximumTemperature

std::int16_t maximumTemperature = -32768

在文件 PixelWorld.cpp 第 60 行定义.

◆ minimumTemperature

std::int16_t minimumTemperature = 32767

在文件 PixelWorld.cpp 第 59 行定义.

◆ mobile

std::uint32_t mobile = 0

在文件 PixelWorld.cpp 第 56 行定义.

被这些函数引用 eve::sceneloader_editing::SceneImportTarget::makeSet().

◆ nonAir

std::uint32_t nonAir = 0

在文件 PixelWorld.cpp 第 55 行定义.

◆ revision

std::uint64_t revision = 0

在文件 PixelWorld.cpp 第 62 行定义.

被这些函数引用 eve::tactics::BattleSystem::acceptReaction(), eve::tactics::BattleSystem::addObjective(), eve::tactics::BattleSystem::addSide(), eve::tactics::BattleSystem::addUnit(), eve::tactics::BattleSystem::advance(), eve::audio_editing::AudioAuditionTransport::bind(), eve::animation_editing::AnimationSkeletonOverlayAdapter::build(), eve::animation_editing::ProceduralBoneOverlayBuilder::build(), eve::animation_editing::SkeletonOverlayBuilder::build(), eve::tactics::Tactics::commandLogJson(), eve::tactics::Tactics::commandsFrom(), eve::graphics_editing::VegetationFieldTarget::create(), eve::tactics::BattleSystem::declineReaction(), eve::pixelworld_streaming::decodeChunkBatchArchive(), eve::tactics::BattleSystem::defeatUnit(), eve::procgen::RuntimeGeneration::deserializeCell(), eve::tactics::BattleSystem::endTurn(), eve::procgen_editor::exposeProcgenScriptEditorScriptBindings(), eve::tactics::BattleSystem::faceUnit(), eve::tactics::BattleSystem::finish(), eve::map::TileLayer::getRevision(), eve::editor::ScenePrefabService::loadSnapshot(), eve::makeSnapshotEnvelope(), eve::tactics::BattleSystem::moveUnit(), eve::climbing::ClimbingControl::observeGameplay(), eve::rpg::ProductControl::observeGameplay(), eve::procgen_editor::MeshModifierEditor::observeRevision(), eve::tactics::BattleSystem::openReaction(), eve::parseSnapshotEnvelopeValue(), eve::editor::DiskAtomicDocumentStore::read(), eve::editor::registerEditorHistory(), eve::production::WorkQueue::restore(), eve::pixelworld_replay::PixelReplayLog::restoreSnapshot(), eve::material_editing::MaterialEditorService::result(), eve::tactics::BattleSystem::roll(), eve::tactics::Tactics::setTopology(), eve::card::CardDefinitionRuntime::snapshot(), eve::rpg::SkillDefinitionRuntime::snapshot(), eve::vehicle::VehicleDefinitionRuntime::snapshot(), eve::weapon::WeaponDefinitionRuntime::snapshot(), eve::card::CardDefinitionRuntime::snapshotJson(), eve::rpg::SkillDefinitionRuntime::snapshotJson(), eve::vehicle::VehicleDefinitionRuntime::snapshotJson(), eve::weapon::WeaponDefinitionRuntime::snapshotJson(), eve::definition::snapshotRuntimeInstance(), eve::tactics::BattleSystem::start(), eve::climbing::ClimbingControl::submitGameplay(), eve::tactics::BattleSystem::useAbility(), eve::validateSnapshotPayloadMetadata(), eve::tactics::BattleSystem::waitUnit() , 以及 eve::editor::AutosaveService::writeDraft().

◆ temperatureBoundsDirty

bool temperatureBoundsDirty = false

在文件 PixelWorld.cpp 第 61 行定义.

◆ thermalRemainderCells

std::uint32_t thermalRemainderCells = 0

在文件 PixelWorld.cpp 第 57 行定义.

◆ touched

bool touched = true

在文件 PixelWorld.cpp 第 64 行定义.

◆ updated

◆ x

int x = 0

在文件 PixelWorld.cpp 第 35 行定义.

◆ y

int y = 0

在文件 PixelWorld.cpp 第 36 行定义.