命名空间 | |
| namespace | eve |
| namespace | eve::card |
函数 | |
| const char * | eve::card::cardStateName (CardState state) |
| 状态枚举的字符串名(用于脚本/调试)。 | |
| void | eve::card::printCentered (graphics::Graphics *gfx, const std::string &text, float cx, float cy, float scale, const glm::vec4 &color) |
| 渲染辅助(也供 Zone / Deck 复用)。 | |
| void | eve::card::renderCardBack (graphics::Graphics *gfx, float x, float y, float w, float h, float angle, float a) |
| 绘制牌背。 | |
| void | eve::card::renderCard (graphics::Graphics *gfx, const CardData &card, const LayoutConfig &cfg, bool back) |
| 绘制单张卡牌(正面或牌背)。 | |
变量说明
◆ active
| bool active = false |
在文件 CardTypes.cpp 第 34 行定义.
被这些函数引用 eve::joystick::sdl::Joystick::addJoystick(), eve::rpg::StatusSystem::apply(), eve::ModuleManager::expose_pending(), eve::housegen::HouseGenerator::generate(), eve::rpg::StatusSystem::getActiveEffectId(), eve::rpg::StatusSystem::getActiveInstanceId(), eve::rpg::StatusSystem::getActiveRemaining(), eve::rpg::StatusSystem::getActiveSource(), eve::rpg::StatusSystem::getActiveStacks(), eve::graphics::AmbientOcclusion::getFloat(), eve::rpg::StatusSystem::hasEffect(), eve::rpg::StatusSystem::remove(), eve::rpg::StatusSystem::removeByEffect(), eve::rpg::StatusSystem::removeBySource(), eve::rpg::StatusSystem::removeByTag(), eve::rpg::restoreRpgState(), eve::graphics::Camera3D::setActive(), eve::physics::Body::setActive(), eve::physics::Body3D::setActive(), eve::graphics::Graphics::setActive(), eve::graphics::vulkan::Graphics::setMesh3DClusteredActive(), eve::graphics::webgpu::Graphics::setMesh3DClusteredActive(), eve::rpg::StatusSystem::update() , 以及 eve::ModuleManager::vm().
◆ cx
| float cx = 0.f |
在文件 CardTypes.cpp 第 31 行定义.
被这些函数引用 eve::graphics::Batcher::addRectRotated(), eve::graphics::Batcher::addTexturedRectRotated(), eve::spatial::cellKey2(), eve::spatial::cellKey3(), eve::grid::cellToDepthY(), eve::grid::cellToWorld(), eve::math::Math::circleRectOverlap(), eve::voxel::decodedSecondTriangleMatchesNormal(), eve::voxel::decodedWindingMatchesNormal(), eve::voxel::VoxelWorld::deserializeWorld(), eve::graphics::vulkan::Graphics::drawSolidRectRotated(), eve::graphics::webgpu::Graphics::drawSolidRectRotated(), eve::graphics::vulkan::Graphics::drawTexturedRectShaderUVRotated(), eve::graphics::webgpu::Graphics::drawTexturedRectShaderUVRotated(), eve::physics::Fluid::emit(), eve::building::PlacementSystem::ensureBuiltins(), eve::map::Pathfinder::findPath(), eve::procgen::generateSkyscraperMesh(), eve::voxel::VoxelWorld::getChunk(), eve::voxel::VoxelWorld::getChunk(), eve::voxel::VoxelWorld::getOrCreateChunk(), eve::graphics::vulkan::Graphics::getPixel(), eve::voxel::VoxelWorld::getVisibleChunkCoord(), eve::voxel::VoxelWorld::getVoxel(), eve::voxel::VoxelWorld::hasChunk(), eve::spatial::AABB2::intersectsCircle(), eve::spatial::AABB3::intersectsSphere(), eve::procgen::marchingCubes(), eve::graphics::vulkan::Graphics::newMeshCylinder(), eve::math::Math::pointInCircle(), eve::math::Math::pointInSphere(), eve::card::printCentered(), eve::spatial::BSPTree2D::queryCircle(), eve::spatial::QuadTree::queryCircle(), eve::spatial::SpatialHash2D::queryCircle(), eve::spatial::SpatialHash2D::queryPoint(), eve::spatial::SpatialHash3D::queryPoint(), eve::spatial::BSPTree3D::querySphere(), eve::spatial::Octree::querySphere(), eve::spatial::SpatialHash3D::querySphere(), eve::math::Math::raycastCircle2(), eve::math::Math::raycastSphere(), eve::voxel::VoxelWorld::removeChunk(), eve::procgen::TerrainSampler::sample(), eve::math::Math::segmentsIntersect(), eve::voxel::VoxelWorld::selectVisible(), eve::voxel::VoxelWorld::serializeWorld(), eve::voxel::VoxelWorld::setVoxel(), eve::graphics::texCellBombSampleUV(), eve::voxel::VoxelWorld::unloadChunksOutside(), eve::grid::worldToCell(), eve::building::PlacementWorld::worldToCell3DX(), eve::building::PlacementWorld::worldToCell3DY(), eve::building::PlacementWorld::worldToCellX() , 以及 eve::building::PlacementWorld::worldToCellY().
◆ cy
| float cy = 0.f |
在文件 CardTypes.cpp 第 32 行定义.
被这些函数引用 eve::graphics::Batcher::addRectRotated(), eve::graphics::Batcher::addTexturedRectRotated(), eve::spatial::cellKey2(), eve::spatial::cellKey3(), eve::grid::cellToDepthY(), eve::grid::cellToWorld(), eve::math::Math::circleRectOverlap(), eve::voxel::decodedSecondTriangleMatchesNormal(), eve::voxel::decodedWindingMatchesNormal(), eve::voxel::VoxelWorld::deserializeWorld(), eve::graphics::vulkan::Graphics::drawSolidRectRotated(), eve::graphics::webgpu::Graphics::drawSolidRectRotated(), eve::graphics::vulkan::Graphics::drawTexturedRectShaderUVRotated(), eve::graphics::webgpu::Graphics::drawTexturedRectShaderUVRotated(), eve::physics::Fluid::emit(), eve::building::PlacementSystem::ensureBuiltins(), eve::map::Pathfinder::findPath(), eve::procgen::generateBushMesh(), eve::voxel::VoxelWorld::getChunk(), eve::voxel::VoxelWorld::getChunk(), eve::voxel::VoxelWorld::getOrCreateChunk(), eve::graphics::vulkan::Graphics::getPixel(), eve::voxel::VoxelWorld::getVisibleChunkCoord(), eve::voxel::VoxelWorld::getVoxel(), eve::voxel::VoxelWorld::hasChunk(), eve::spatial::AABB2::intersectsCircle(), eve::spatial::AABB3::intersectsSphere(), eve::procgen::marchingCubes(), eve::math::Math::pointInCircle(), eve::math::Math::pointInSphere(), eve::card::printCentered(), eve::spatial::BSPTree2D::queryCircle(), eve::spatial::QuadTree::queryCircle(), eve::spatial::SpatialHash2D::queryCircle(), eve::spatial::SpatialHash2D::queryPoint(), eve::spatial::SpatialHash3D::queryPoint(), eve::spatial::BSPTree3D::querySphere(), eve::spatial::Octree::querySphere(), eve::spatial::SpatialHash3D::querySphere(), eve::math::Math::raycastCircle2(), eve::math::Math::raycastSphere(), eve::voxel::VoxelWorld::removeChunk(), eve::procgen::TerrainSampler::sample(), eve::math::Math::segmentsIntersect(), eve::voxel::VoxelWorld::selectVisible(), eve::voxel::VoxelWorld::serializeWorld(), eve::voxel::VoxelWorld::setVoxel(), eve::graphics::texCellBombSampleUV(), eve::voxel::VoxelWorld::unloadChunksOutside(), eve::grid::worldToCell(), eve::building::PlacementWorld::worldToCell3DX(), eve::building::PlacementWorld::worldToCell3DY(), eve::building::PlacementWorld::worldToCellX() , 以及 eve::building::PlacementWorld::worldToCellY().
◆ degrees
| float degrees = 0.f |
在文件 CardTypes.cpp 第 33 行定义.
被这些函数引用 eve::graphics::Batcher::addRectRotated(), eve::graphics::Batcher::addTexturedRectRotated(), eve::graphics::vulkan::Graphics::drawSolidRectRotated(), eve::graphics::webgpu::Graphics::drawSolidRectRotated(), eve::graphics::vulkan::Graphics::drawTexturedRectShaderUVRotated(), eve::graphics::webgpu::Graphics::drawTexturedRectShaderUVRotated(), eve::animation::SpineSkeleton::setBoneLocalRotation() , 以及 eve::editor::TransformGizmo::setSnapRotate().