Pyrogenesis trunk
Functions
MapIO.cpp File Reference
#include "precompiled.h"
#include "MapIO.h"
#include "graphics/Patch.h"
#include "lib/allocators/shared_ptr.h"
#include "lib/file/file.h"
#include "lib/file/vfs/vfs_path.h"
#include "lib/os_path.h"
#include "lib/status.h"
#include "lib/tex/tex.h"
#include "maths/MathUtil.h"
#include "ps/Filesystem.h"
#include <algorithm>
#include <vector>
Include dependency graph for MapIO.cpp:

Functions

Status ParseHeightmapImage (const std::shared_ptr< u8 > &fileData, size_t fileSize, std::vector< u16 > &heightmap)
 
Status LoadHeightmapImageVfs (const VfsPath &filepath, std::vector< u16 > &heightmap)
 
Status LoadHeightmapImageOs (const OsPath &filepath, std::vector< u16 > &heightmap)
 

Function Documentation

◆ LoadHeightmapImageOs()

Status LoadHeightmapImageOs ( const OsPath filepath,
std::vector< u16 > &  heightmap 
)

◆ LoadHeightmapImageVfs()

Status LoadHeightmapImageVfs ( const VfsPath filepath,
std::vector< u16 > &  heightmap 
)

◆ ParseHeightmapImage()

Status ParseHeightmapImage ( const std::shared_ptr< u8 > &  fileData,
size_t  fileSize,
std::vector< u16 > &  heightmap 
)