Place GraphicsResources functions in header file

These are functions used in other files that are not on the
GraphicsResources class but are implemented inside the
GraphicsResources.cpp file. For some reason they were never put in the
GraphicsResources.h file until now, even though it's a perfectly good
header file to put them in.
This commit is contained in:
Misa
2024-01-09 16:03:05 -08:00
parent 10030a4340
commit b3b001c2a8
4 changed files with 10 additions and 7 deletions

View File

@@ -50,4 +50,10 @@ public:
SDL_Texture* im_flipsprites_translated;
};
SDL_Surface* LoadImageSurface(const char* filename);
SDL_Texture* LoadImage(const char *filename, TextureLoadType loadtype);
bool SaveImage(const SDL_Surface* surface, const char* filename);
bool SaveScreenshot(void);
#endif /* GRAPHICSRESOURCES_H */