Asset manager refactor begin.
This commit is contained in:
24
archive/asset/assettileset.h
Normal file
24
archive/asset/assettileset.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* Copyright (c) 2025 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "dusk.h"
|
||||
|
||||
typedef struct assetimage_s assetimage_t;
|
||||
|
||||
typedef struct {
|
||||
int32_t tileWidth;
|
||||
int32_t tileHeight;
|
||||
int32_t tileCount;
|
||||
int32_t columns;
|
||||
char_t tilesetName[256];
|
||||
} assettileset_t;
|
||||
|
||||
/**
|
||||
* Parse the tileset from the loaded raw data.
|
||||
*/
|
||||
void assetParseTileset(void);
|
Reference in New Issue
Block a user