raze/source/core/textures/tiletexture.h
Christoph Oelckers 20edd800f9 - big texture system refactor.
Finally that quickly slapped together BuildTiles class is gone and replaced with something that better integrates with the underlying texture manager
2022-12-18 13:05:58 +01:00

18 lines
478 B
C

#pragma once
#include <stdint.h>
#include "image.h"
#include "textureid.h"
#include "tarray.h"
const uint8_t* GetRawPixels(FTextureID texid);
uint8_t* GetWritablePixels(FTextureID texid, bool reload = false);
FImageSource* createDummyTile(int width, int height);
void InitArtFiles(TArray<FString>& addart);
void GetArtImages(TArray<FImageSource*>& array, TArray<unsigned>& picanm);
enum
{
MAXTILES = 30720,
MAXUSERTILES = (MAXTILES - 16) // reserve 16 tiles at the end
};