|
| enum class | LegacyGroupId : std::uint16_t {
Main = 2
, Patterns = 3
, LanguageGraphics = 5
, Board = 6
,
Board2 = 7
, ThreeD = 8
, LanguageText = 9
, LanguageDialog = 10
} |
| |
| enum class | BoardEdition { Usa
, Europe
} |
| |
| enum class | BankId {
Main
, Patterns
, Board
, Board2
,
ThreeD
, LanguageText
, LanguageGraphics
, LanguageDialog
} |
| |
| enum class | LanguageId : std::uint8_t {
EnglishUs = 1
, EnglishUk = 2
, French = 3
, German = 4
,
Spanish = 5
, Dutch = 6
, Swedish = 7
, Finnish = 8
,
Danish = 9
, Norwegian = 10
} |
| |
| enum class | BitmapErrorCode {
None
, FileOpenFailed
, ReadFailed
, HeaderTruncated
,
InvalidSignature
, UnsupportedDibHeader
, InvalidDimensions
, InvalidPlanes
,
InvalidBitDepth
, UnsupportedCompression
, PixelDataOutOfRange
, DeclaredSizeOutOfRange
,
InvalidPalette
, DecodeBudgetExceeded
, UnsupportedDataType
} |
| |
| enum class | ChunkErrorCode {
None
, EndOfParent
, ChunkNotFound
, HeaderTruncated
,
InvalidSize
, ChunkPastParent
, InvalidId
, MaximumDepth
,
AlreadyAtRoot
, InvalidLevel
, PositionOutOfRange
} |
| |
| enum class | LegacyDataType : std::uint8_t {
Unknown = 0
, Bitmap = 1
, DopeTable = 2
, Uap = 3
,
Native = 4
, GbmTexture = 5
, GbmPicture = 6
, GenericBitmap = 7
,
Wave = 8
, String = 9
, UserCreated1 = 10
, IndexTable = 11
,
Chunky = 12
, TextureArray = 13
, Model3D = 14
, Pose3D = 15
,
Hmd = 16
, MeshX = 17
} |
| |
| enum class | DataErrorCode {
None
, InvalidGroup
, InvalidLanguage
, NoActiveLanguage
,
DuplicateGroup
, GroupNotMounted
, ArchiveClosed
, FileOpenFailed
,
FileSizeFailed
, HeaderTruncated
, InvalidSignature
, UnsupportedVersion
,
InvalidHeader
, IndexTooLarge
, IndexTruncated
, InvalidItemType
,
InvalidItemRange
, ChecksumMismatch
, TagOutOfRange
, EmptyItem
,
ReadFailed
, DecompressionFailed
, DecompressedSizeMismatch
, ArchiveBuildFailed
,
WriteFailed
, InvalidIndexTable
, UnsortedIndexTable
, DuplicateIndexKey
,
DuplicateDataId
, IndexedItemNotFound
, TypeMismatch
, InvalidUtf16
,
InvalidBoardEdition
, ResourcePathInvalid
, ResourceNotFound
, ResourcePathAmbiguous
,
ResourcePathFailed
} |
| |
| enum class | ChecksumPolicy { Verify
, Ignore
} |
| |
| enum class | ManifestErrorCode {
None
, FileOpenFailed
, MissingGeneratorSignature
, MissingDeclaredCount
,
MalformedDefinition
, UnknownItemPrefix
, TagOutOfRange
, DuplicateSymbol
,
DuplicateTag
, NonContiguousTag
, CountMismatch
, OutputOpenFailed
,
OutputWriteFailed
} |
| |
| enum class | MeshDataErrorCode {
None
, MissingPayload
, HeaderTruncated
, AlreadyMapped
,
RangeOutOfBounds
, InvalidPrimitiveHeader
, InvalidSectionSize
, PrimitiveCycle
,
RecordLimitExceeded
, IndexOutOfRange
, UnsupportedSection
, ExpectedOffset
,
DataLoadFailed
, TypeMismatch
} |
| |
| enum class | SequenceErrorCode {
None
, HeaderTruncated
, ChunkFailure
, UnsupportedRecord
,
FixedRecordTruncated
, AttributeTruncated
, InvalidDimensionality
, AttributeLimitExceeded
,
RecordLimitExceeded
, InvalidClockRange
} |
| |
| enum class | MeshRuntimeErrorCode {
MissingSource
, MissingResources
, SourceLoadFailed
, ModernAssetInvalid
,
ModernAssetUnsupported
, TriangleDecodeFailed
, TextureDecodeFailed
, MimeDecodeFailed
,
InvalidPose
, InvalidTextureRegion
, VertexLimitExceeded
, GroupLimitExceeded
,
IndexLimitExceeded
, NoRenderableGeometry
} |
| |
| enum class | MeshMaterialModel : std::uint8_t { LegacyDiffuse
, MetallicRoughness
} |
| |
| enum class | ModernTextureColorSpace : std::uint8_t { Linear
, Srgb
} |
| |
| enum class | ModernAlphaMode : std::uint8_t { Opaque
, Mask
} |
| |
| enum class | ModernTextureWrap : std::uint8_t { Repeat
, ClampToEdge
, MirroredRepeat
} |
| |
| enum class | ModernTextureFilter : std::uint8_t {
Nearest
, Linear
, NearestMipmapNearest
, LinearMipmapNearest
,
NearestMipmapLinear
, LinearMipmapLinear
} |
| |
| enum class | MeshAssetOrigin : std::uint8_t { LegacyHmd
, ModernGltf
} |
| |
| enum class | ModernImageEncoding : std::uint8_t { Png
, Jpeg
} |
| |
| enum class | ModernSceneKind : std::uint8_t {
ParisBoard
, House
, Hotel
, UsaBoard
,
ProceduralUsaBoard
} |
| |
| enum class | ModernTokenVariantKind { ShipMovement
, DogIdle
, HorseIdle
} |
| |
| enum class | BitmapBlitMode { Replace
, SourceOver
} |
| |
| enum class | BoardMeshKind : DataTag { CityHigh = 0
, CityMedium = 1
, ClassicHigh = 2
, ClassicMedium = 3
} |
| |
| enum class | TextureResolution : std::uint16_t { Pixels128 = 128
, Pixels256 = 256
} |
| |
| enum class | TextureRole : std::uint8_t {
CityPhoto
, CityName
, Common
, Language
,
Currency
, BoardOverlay
, GoCurrencyOverlay
, TwoDimensionalBoard
} |
| |
| enum class | TextureLocation : std::uint8_t {
SelectedCityPhotos
, SelectedCityNames
, SharedCityCommon
, Language
,
SelectedBoard
, Currency
, CustomBoard2D
} |
| |
| enum class | TextureProvision : std::uint8_t { EmbeddedInMesh
, ExternalSubstitutions
} |
| |
| enum class | TextureCatalogErrorCode : std::uint8_t {
InvalidBoardMeshKind
, InvalidTextureResolution
, InvalidTextureContext
, InvalidTextureLocation
,
InvalidTextureFileName
} |
| |
|
| std::expected< std::vector< std::shared_ptr< const HmdTextureImage > >, std::string > | loadBoardTextureImages (const ResourcePaths &paths, const BoardTextureRecipe &recipe, const BoardTextureContext &context) |
| |
| const CoreBankDefinitions & | coreBanks (BoardEdition edition) noexcept |
| |
| const CoreBankDefinitions & | legacyBanks () noexcept |
| |
| const LanguageBankTriplets & | languageBankTriplets () noexcept |
| |
| const LanguageBankTriplet * | findLanguageBankTriplet (LanguageId language) noexcept |
| |
| constexpr std::uint16_t | legacyGroupValue (LegacyGroupId group) noexcept |
| |
| constexpr DataId | packDataId (std::uint16_t group, DataTag tag) noexcept |
| |
| constexpr DataId | packDataId (LegacyGroupId group, DataTag tag) noexcept |
| |
| constexpr std::uint16_t | dataGroup (DataId id) noexcept |
| |
| constexpr DataTag | dataTag (DataId id) noexcept |
| |
| constexpr DataId | idWithGroupFromParent (DataId child, DataId parent) noexcept |
| |
| constexpr bool | isEmptyDataId (DataId id) noexcept |
| |
| std::expected< std::u16string, DataError > | decodeLegacyUtf16Le (std::span< const std::byte > bytes) |
| |
| std::string_view | bitmapErrorCodeName (BitmapErrorCode code) noexcept |
| |
| std::expected< LegacyUapMetadata, BitmapError > | inspectLegacyUap (std::span< const std::byte > bytes) |
| |
| std::expected< LegacyBitmapRGBA8, BitmapError > | decodeLegacyUapRGBA8 (std::span< const std::byte > bytes, std::size_t maxPixels) |
| |
| std::expected< LegacyBitmapMetadata, BitmapError > | inspectLegacyBitmap (std::span< const std::byte > bytes) |
| |
| std::expected< LegacyBitmapRGBA8, BitmapError > | decodeLegacyBitmapRGBA8 (std::span< const std::byte > bytes, std::size_t maxPixels) |
| |
| std::expected< LegacyBitmapMetadata, BitmapError > | inspectLegacyBitmapFile (const std::filesystem::path &path) |
| |
| std::string_view | chunkErrorCodeName (ChunkErrorCode code) noexcept |
| |
| std::expected< LegacyChunkReader, DataError > | openLegacyChunkReader (const DataSource &source, DataId id) |
| |
| RawDataCacheStats | rawDataCacheStats () noexcept |
| |
| std::string_view | legacyDataTypeName (LegacyDataType type) noexcept |
| |
| std::string_view | dataErrorCodeName (DataErrorCode code) noexcept |
| |
| std::expected< DataId, DataError > | lookupIndexedDataId (const DataSource &source, DataId indexTableId, std::uint32_t indexValue) |
| |
| std::expected< DataId, DataError > | lookupIndexedDataIdLegacy (const DataSource &source, DataId indexTableId, std::uint32_t indexValue) |
| |
| std::expected< DataBytes, DataError > | buildLegacyDataArchive (std::span< const ArchiveBuildItem > items, ArchiveBuildOptions options) |
| |
| std::expected< void, DataError > | writeLegacyDataArchive (const std::filesystem::path &path, std::span< const ArchiveBuildItem > items, ArchiveBuildOptions options) |
| |
| std::string_view | manifestErrorCodeName (ManifestErrorCode code) noexcept |
| |
| std::expected< LegacyBankManifest, ManifestError > | parseDmakeManifest (std::istream &input, std::string bankName, std::filesystem::path diagnosticPath) |
| |
| std::expected< LegacyBankManifest, ManifestError > | readDmakeManifest (const std::filesystem::path &path) |
| |
| std::expected< void, ManifestError > | writeManifestTsv (const std::filesystem::path &outputPath, std::span< const LegacyBankManifest > manifests) |
| |
| std::string_view | meshDataErrorCodeName (MeshDataErrorCode code) noexcept |
| |
| std::expected< LegacyMeshData, MeshDataError > | openLegacyMeshData (const DataSource &source, DataId id, MeshParseLimits limits) |
| |
| std::string_view | sequenceErrorCodeName (SequenceErrorCode code) noexcept |
| |
| std::expected< LegacySequenceAttributes, SequenceError > | readLegacySequenceAttributes (const LegacyChunkReader &reader, std::size_t maximumAttributes) |
| |
| std::expected< LegacySequenceHeader, SequenceError > | decodeLegacySequenceHeader (std::span< const std::byte > bytes) |
| |
| std::expected< LegacySequenceRecord, SequenceError > | readLegacySequenceRecord (LegacyChunkReader &reader) |
| |
| constexpr DataId | resolveSequenceDataId (const LegacySequenceHeader &header, DataId rawId, DataId containingSequenceId) noexcept |
| |
| constexpr bool | isLegacyShadowMesh (DataId id) noexcept |
| |
| constexpr std::uint8_t | legacyShadowAlpha (std::uint8_t red, std::uint8_t green, std::uint8_t blue) noexcept |
| |
| constexpr std::array< std::uint8_t, 4 > | legacyShadowPixel (std::uint8_t red, std::uint8_t green, std::uint8_t blue) noexcept |
| |
| std::expected< std::vector< DataSourceOverride >, DataError > | loadLooseDataOverrides (const std::filesystem::path &manifestPath) |
| |
| MeshRenderData | makeMeshRenderData (const MeshXRuntime &mesh) |
| |
| std::expected< MeshRenderData, MeshRuntimeError > | makeMeshRenderData (const MeshXRuntime &mesh, std::int32_t poseA, std::int32_t poseB, float proportion) |
| |
| std::expected< std::shared_ptr< const MeshRenderData >, MeshRuntimeError > | loadModernGltfMesh (const std::filesystem::path &path, ModernGltfLoadOptions options) |
| |
| std::expected< std::shared_ptr< const ModernTextureImage >, MeshRuntimeError > | decodeModernImage (std::span< const std::byte > bytes, ModernImageEncoding encoding, ModernImageDecodeLimits limits) |
| |
| std::expected< ParsedModernSceneOptions, std::string > | parseModernSceneArguments (std::span< const std::string_view > arguments) |
| |
| const ModernSceneDefinition & | modernSceneDefinition (ModernSceneKind kind) noexcept |
| |
| bool | qualifiedModernSceneSequence (ModernSceneKind kind, DataId meshId, std::optional< DataId > rootSequenceDataId, std::uint16_t priority, const ModernSceneOptions &options, const ModernSceneContext &context) noexcept |
| |
| std::optional< ModernGltfLoadOptions > | modernSceneLoadOptions (ModernSceneKind kind) noexcept |
| |
| bool | qualifiedModernSceneGeometry (ModernSceneKind kind, const MeshRenderData &mesh) noexcept |
| |
| const std::array< ModernTokenDefinition, ModernTokenCount > & | modernTokenDefinitions () noexcept |
| |
| std::optional< std::uint8_t > | tokenForLegacyMesh (DataId id) noexcept |
| |
| const ModernTokenDefinition * | modernTokenDefinition (std::uint8_t token) noexcept |
| |
| const ModernTokenDefinition * | modernTokenForLegacyMesh (DataId id) noexcept |
| |
| DataId | representativeLegacyMesh (std::uint8_t token) noexcept |
| |
| DataId | idleSequenceDataId (std::uint8_t token) noexcept |
| |
| bool | qualifiedModernTokenSequence (DataId meshId, std::optional< DataId > rootSequenceDataId, std::uint16_t priority) noexcept |
| |
| const std::array< ModernTokenVariantDefinition, 2 > & | shipMovementVariantDefinitions () noexcept |
| |
| const std::array< ModernTokenVariantDefinition, 4 > & | dogIdleVariantDefinitions () noexcept |
| |
| const std::array< ModernTokenVariantDefinition, 6 > & | horseIdleVariantDefinitions () noexcept |
| |
| std::span< const ModernTokenVariantRootDefinition > | modernTokenVariantRootDefinitions () noexcept |
| |
| bool | qualifiedModernTokenVariantSequence (DataId meshId, std::optional< DataId > rootSequenceDataId, std::uint16_t priority) noexcept |
| |
| std::vector< DataError > | inspectResourceInstallation (const ResourcePaths &paths, ResourceContext context, ArchiveOpenOptions options) |
| |
| bool | isRuntimeBitmapDataId (DataId id) noexcept |
| |
| std::expected< void, std::string > | blitStraightRGBA8 (LegacyBitmapRGBA8 &destination, const LegacyBitmapRGBA8 &source, std::int32_t destinationX, std::int32_t destinationY, BitmapBlitMode mode) |
| |
| std::string_view | textureCatalogErrorCodeName (TextureCatalogErrorCode code) noexcept |
| |
| std::expected< std::string, TextureCatalogError > | boardTextureRelativePath (BoardMeshKind mesh, TextureLocation location, std::string_view fileName, const BoardTextureContext &context) |
| |
| std::expected< std::filesystem::path, std::string > | resolveBoardTexturePath (const ResourcePaths &stockPaths, BoardMeshKind mesh, TextureLocation location, std::string_view fileName, const BoardTextureContext &context) |
| |
| std::span< const TextureCoordinate > | usaTextureCoordinates (BoardMeshKind mesh) noexcept |
| |
| std::span< const TextureCoordinate > | europeanTextureCoordinates (BoardMeshKind mesh) noexcept |
| |
| std::span< const std::string_view > | cityPhotoTextureNames (TextureResolution resolution) noexcept |
| |
| std::span< const std::string_view > | usaCityNameTextureNames (BoardMeshKind mesh, TextureResolution resolution) noexcept |
| |
| std::span< const std::string_view > | commonTextureNames (BoardMeshKind mesh, TextureResolution resolution) noexcept |
| |
| std::span< const std::string_view > | europeanLanguageTextureNames (BoardMeshKind mesh, TextureResolution resolution) noexcept |
| |
| std::span< const std::string_view > | europeanBoardOverlayTextureNames (BoardMeshKind mesh, TextureResolution resolution) noexcept |
| |
| std::span< const std::string_view > | europeanCurrencyTextureNames (BoardMeshKind mesh, TextureResolution resolution) noexcept |
| |
| std::string_view | europeanGoOverlayTextureName (TextureResolution resolution) noexcept |
| |
| std::span< const std::string_view > | twoDimensionalBoardTextureNames () noexcept |
| |
| const std::vector< LegacyTextureAsset > & | legacyTextureCorpusManifest () |
| |
| BoardTextureRecipeResult | buildUsaTextureRecipe (BoardMeshKind mesh, TextureResolution resolution) |
| |
| BoardTextureRecipeResult | buildEuropeanTextureRecipe (BoardMeshKind mesh, TextureResolution resolution) |
| |
| constexpr bool | isValidBoardMeshKind (BoardMeshKind mesh) noexcept |
| |
| constexpr bool | isValidTextureResolution (TextureResolution resolution) noexcept |
| |
| constexpr DataTag | boardMeshTag (BoardMeshKind mesh) noexcept |
| |
| constexpr DataId | boardMeshDataId (BoardMeshKind mesh) noexcept |
| |
| constexpr BoardMeshKind | usaBoardMeshForCity (int city) noexcept |
| |
| constexpr bool | isCityMesh (BoardMeshKind mesh) noexcept |
| |
| constexpr bool | isHighDetailMesh (BoardMeshKind mesh) noexcept |
| |
| constexpr TextureDimensions | textureDimensions (TextureResolution resolution) noexcept |
| |