OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions
LodFormats.cpp File Reference
#include "LodFormats.h"
#include <optional>
#include <span>
#include <vector>
#include <string>
#include "LodFormatSnapshots.h"
#include "Library/Binary/ContainerSerialization.h"
#include "Library/Snapshots/CommonSnapshots.h"
#include "Library/Compression/Compression.h"
#include "Library/Serialization/EnumSerialization.h"
#include "Utility/Streams/MemoryInputStream.h"
#include "Utility/Streams/BlobInputStream.h"
#include "Utility/Memory/Blob.h"
#include "Utility/String/Ascii.h"
#include "Utility/Exception.h"

Functions

static void deserialize (InputStream &src, Palette *dst)
 
static std::optional< LodFileFormatcheckCompressed (const Blob &blob)
 
static std::optional< LodFileFormatcheckImage (const Blob &blob, std::string_view fileName)
 
static std::optional< LodFileFormatcheckSprite (const Blob &blob, std::string_view fileName)
 

Function Documentation

◆ checkCompressed()

static std::optional< LodFileFormat > checkCompressed ( const Blob blob)
static

◆ checkImage()

static std::optional< LodFileFormat > checkImage ( const Blob blob,
std::string_view  fileName 
)
static

◆ checkSprite()

static std::optional< LodFileFormat > checkSprite ( const Blob blob,
std::string_view  fileName 
)
static

◆ deserialize()

static void deserialize ( InputStream src,
Palette dst 
)
static