![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#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>
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) |