21 lines
440 B
C
21 lines
440 B
C
//
|
|
// Created by rov on 12/27/25.
|
|
//
|
|
|
|
#ifndef TIBIA_BITMAP_H
|
|
#define TIBIA_BITMAP_H
|
|
#include <SDL3/SDL.h>
|
|
|
|
typedef struct Bitmap {
|
|
SDL_Texture* tibiaTexture;
|
|
SDL_Texture* marbleTexture;
|
|
} Bitmap_t ;
|
|
|
|
bool Bitmap_Init(Bitmap_t* bitmap);
|
|
void Bitmap_Destroy(const Bitmap_t* bitmap);
|
|
|
|
SDL_Surface* Bitmap_LoadFromFile(const char* filename);
|
|
SDL_Surface* Bitmap_LoadFromMemory(const void* buffer, size_t size);
|
|
|
|
#endif //TIBIA_BITMAP_H
|