-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresources.h
More file actions
48 lines (42 loc) · 1.07 KB
/
resources.h
File metadata and controls
48 lines (42 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#include <cstring>
#include <SDL.h>
#include "global.h"
namespace Icons
{
extern char* pngTrain;
extern char* pngCrate;
extern char* pngExplosion;
extern char* pngCargo;
extern char* pngChinook;
extern char* pngBlade;
extern char* pngMarke;
extern char* pngDeath;
extern char* pngPlayer;
extern char* pngPlayerDead;
extern char* pngPlayerOffline;
extern SDL_Surface* trainSurf;
extern SDL_Surface* myMarkerSurf;
extern SDL_Texture* crate;
extern SDL_Texture* explosion;
extern SDL_Texture* cargo;
extern SDL_Texture* chinook;
extern SDL_Texture* blade;
extern SDL_Texture* marker;
extern SDL_Texture* death;
extern SDL_Texture* player;
extern SDL_Texture* playerDead;
extern SDL_Texture* playerOff;
extern SDL_Texture* myMarker;
SDL_Texture* CreateTexture(char* png, int size);
SDL_Texture* CreateTextureFromSurf(SDL_Surface* surf);
void CreateTextures();
};
namespace Fonts
{
extern char* PermanentMarker;
extern char* HelsinkiMedium;
};
namespace Garbage
{
extern std::map<std::string, std::string> dict;
}