mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
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:
@@ -10,6 +10,9 @@
|
||||
#include "Game.h"
|
||||
#include "Graphics.h"
|
||||
#include "GraphicsUtil.h"
|
||||
#ifndef __APPLE__
|
||||
#include "GraphicsResources.h"
|
||||
#endif
|
||||
#include "InterimVersion.h"
|
||||
#include "Render.h"
|
||||
#include "Vlogging.h"
|
||||
@@ -118,8 +121,6 @@ void Screen::LoadIcon(void)
|
||||
|
||||
}
|
||||
#else
|
||||
SDL_Surface* LoadImageSurface(const char* filename);
|
||||
|
||||
void Screen::LoadIcon(void)
|
||||
{
|
||||
SDL_Surface* icon = LoadImageSurface("VVVVVV.png");
|
||||
|
||||
Reference in New Issue
Block a user