From 29f02acb18159a33d4dccda94a539efb758541b7 Mon Sep 17 00:00:00 2001 From: Justin Scofield <47263509+scawful@users.noreply.github.com> Date: Sun, 12 Jun 2022 20:31:38 -0400 Subject: [PATCH] Delete Bitmap.h --- src/Application/Graphics/Bitmap.h | 43 ------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 src/Application/Graphics/Bitmap.h diff --git a/src/Application/Graphics/Bitmap.h b/src/Application/Graphics/Bitmap.h deleted file mode 100644 index 29967dd2..00000000 --- a/src/Application/Graphics/Bitmap.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef YAZE_APPLICATION_UTILS_BITMAP_H -#define YAZE_APPLICATION_UTILS_BITMAP_H - -#include -#include - -#include - -#include "Core/Constants.h" - -namespace yaze { -namespace Application { -namespace Graphics { - -class Bitmap { - public: - Bitmap() = default; - Bitmap(int width, int height, char *data); - - void Create(GLuint *out_texture); - int GetWidth(); - int GetHeight(); - - bool LoadBitmapFromROM(unsigned char *texture_data, GLuint *out_texture, - int *out_width, int *out_height); - - private: - int width_; - int height_; - char *pixel_data_; -}; - -static bool isbpp3[Core::Constants::NumberOfSheets]; - -int GetPCGfxAddress(char *romData, char id); -char *CreateAllGfxDataRaw(char *romData); -void CreateAllGfxData(char *romData, char *allgfx16Ptr); - -} // namespace Graphics -} // namespace Application -} // namespace yaze - -#endif \ No newline at end of file