Add Bitmap::Create overload

Makes use of sheet buffer, sheet buffer size, and custom palette
parameters.
This commit is contained in:
Justin Scofield
2022-07-12 07:41:14 -04:00
parent 48477d001c
commit 40fea79b0e
2 changed files with 14 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ class Bitmap {
void Create(int width, int height, int depth, uchar *data);
void Create(int width, int height, int depth, int data_size);
void Create(int width, int height, int depth, uchar *data, int size, const SNESPalette &palette);
void CreateTexture(std::shared_ptr<SDL_Renderer> renderer);
void ApplyPalette(const SNESPalette &palette);