mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-06-26 14:38:30 +02:00
4c6ab6e6b7
These unused vars are: - Graphics::bfontmask_rect - Graphics::backgrounds - Graphics::bfontmask - GraphicsResources::im_bfontmask While it seems that Graphics::backgrounds was indexed in Graphics::drawbackground(), in reality there was never anything in that vector and thus actually using it would cause a segfault.
36 lines
795 B
C++
36 lines
795 B
C++
#ifndef GRAPHICSRESOURCES_H
|
|
#define GRAPHICSRESOURCES_H
|
|
|
|
#include "SDL.h"
|
|
|
|
class GraphicsResources
|
|
{
|
|
public:
|
|
void init(void);
|
|
void destroy(void);
|
|
|
|
SDL_Surface* im_tiles;
|
|
SDL_Surface* im_tiles2;
|
|
SDL_Surface* im_tiles3;
|
|
SDL_Surface* im_entcolours;
|
|
SDL_Surface* im_sprites;
|
|
SDL_Surface* im_flipsprites;
|
|
SDL_Surface* im_bfont;
|
|
SDL_Surface* im_teleporter;
|
|
SDL_Surface* im_image0;
|
|
SDL_Surface* im_image1;
|
|
SDL_Surface* im_image2;
|
|
SDL_Surface* im_image3;
|
|
SDL_Surface* im_image4;
|
|
SDL_Surface* im_image5;
|
|
SDL_Surface* im_image6;
|
|
SDL_Surface* im_image7;
|
|
SDL_Surface* im_image8;
|
|
SDL_Surface* im_image9;
|
|
SDL_Surface* im_image10;
|
|
SDL_Surface* im_image11;
|
|
SDL_Surface* im_image12;
|
|
};
|
|
|
|
#endif /* GRAPHICSRESOURCES_H */
|