-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathscreen.h
More file actions
55 lines (46 loc) · 1.21 KB
/
screen.h
File metadata and controls
55 lines (46 loc) · 1.21 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
49
50
51
52
53
54
55
#ifndef SCREEN_H
#define SCREEN_H
#include <SDL.h>
#include <SDL_image.h>
#include <SDL_mixer.h>
#include <stdio.h>
#include <cstdlib>
#include <string>
#include <iostream>
#include <SDL_ttf.h>
#include "map.h"
//Starts up SDL and creates window
bool init();
//Loads media
bool loadMedia();
//Frees media and shuts down SDL
void close();
extern const int SCREEN_WIDTH ;
extern const int SCREEN_HEIGHT ;
extern Mix_Music *gMusic ;
extern Mix_Chunk *gcoin ;
extern Mix_Chunk *gbump ;
extern Mix_Chunk *gdead ;
extern Mix_Chunk *gplus ;
extern LTexture gDotTexture1;
extern LTexture gDotTexture2;
extern LTexture gBGTexture;
extern LTexture gTextTexture1;
extern LTexture gTextTexture2;
extern LTexture gTextTexture3;
extern LTexture gTextTexture4;
extern LTexture gTimeTextTexture;
extern LTexture gTimeTextTexture2;
extern LTexture gTimeTextTexture3;
extern LTexture gPausePromptTexture;
extern LTexture gStartPromptTexture;
extern LTexture gMoneyTexture;
extern LTexture gBuildingTexture1;
extern LTexture gBuildingTexture2;
extern LTexture gPeopleTexture1;
extern LTexture gPeopleTexture2;
extern LTexture gPeopleTexture3;
extern LTexture gPeopleTexture12;
extern LTexture gPeopleTexture22;
extern LTexture gPeopleTexture32;
#endif