worked on adding tile16 for overworld support
This commit is contained in:
@@ -16,9 +16,11 @@ class Bitmap {
|
||||
Bitmap() = default;
|
||||
Bitmap(int width, int height, int depth, char *data);
|
||||
|
||||
void Create(int width, int height, int depth, uchar *data);
|
||||
int GetWidth() const { return width_; }
|
||||
int GetHeight() const { return height_; }
|
||||
SDL_Texture *CreateTexture(std::shared_ptr<SDL_Renderer> renderer);
|
||||
void CreateTexture(std::shared_ptr<SDL_Renderer> renderer);
|
||||
inline SDL_Texture *GetTexture() const { return texture_; }
|
||||
|
||||
private:
|
||||
int width_;
|
||||
@@ -29,12 +31,6 @@ class Bitmap {
|
||||
SDL_Texture *texture_;
|
||||
};
|
||||
|
||||
static bool isbpp3[core::constants::NumberOfSheets];
|
||||
|
||||
int GetPCGfxAddress(char *romData, char id);
|
||||
char *CreateAllGfxDataRaw(char *romData);
|
||||
void CreateAllGfxData(char *romData, char *allgfx16Ptr);
|
||||
|
||||
} // namespace gfx
|
||||
} // namespace app
|
||||
} // namespace yaze
|
||||
|
||||
Reference in New Issue
Block a user