mirror of
https://github.com/ScrelliCopter/tmx2gba.git
synced 2025-02-21 03:29:25 +11:00
port to tmxlite
This commit is contained in:
20
src/convert.hpp
Normal file
20
src/convert.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
/* converter.hpp - Copyright (C) 2024 a dinosaur (zlib, see COPYING.txt) */
|
||||
|
||||
#ifndef CONVERT_HPP
|
||||
#define CONVERT_HPP
|
||||
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
class TmxReader;
|
||||
|
||||
namespace convert
|
||||
{
|
||||
[[nodiscard]] bool ConvertCharmap(std::vector<uint16_t>& out,
|
||||
int idOffset, uint32_t defaultPalIdx,
|
||||
const TmxReader& tmx);
|
||||
[[nodiscard]] bool ConvertCollision(std::vector<uint8_t>& out, const TmxReader& tmx);
|
||||
[[nodiscard]] bool ConvertObjects(std::vector<uint32_t>& out, const TmxReader& tmx);
|
||||
};
|
||||
|
||||
#endif//CONVERT_HPP
|
||||
Reference in New Issue
Block a user