mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-29 23:42:08 +00:00
20edd800f9
Finally that quickly slapped together BuildTiles class is gone and replaced with something that better integrates with the underlying texture manager
18 lines
478 B
C
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
|
|
};
|