20 lines
521 B
C
20 lines
521 B
C
/**
|
|
* Copyright (c) 2025 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#pragma once
|
|
#include "error/error.h"
|
|
#include "rpg/overworld/map.h"
|
|
#include "display/mesh/mesh.h"
|
|
|
|
/**
|
|
* Loads a map asset from the given data pointer into the output map structure.
|
|
*
|
|
* @param data Pointer to the raw assetmap_t data.
|
|
* @param output Pointer to the map_t to load the map into.
|
|
* @return An error code.
|
|
*/
|
|
errorret_t assetMapLoad(void *data, void *output); |