-
Notifications
You must be signed in to change notification settings - Fork 0
/
Menu.h
46 lines (39 loc) · 918 Bytes
/
Menu.h
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
#ifndef MENU_H
#define MENU_H
#include "GrafObj.h"
#include <windows.h>
#include "Targa.h"
#include "GLee.h"
#include "Vertex2D.h"
#include <GL/glut.h>
#include <stdlib.h>
#include <iostream>
#include <stdlib.h>
#include <string>
#include <fstream>
#include <stdio.h>
#include <sstream>
#include <vector>
#include "Lights.h"
#include "Material.h"
class Menu: public GrafObj
{
public:
Menu();
~Menu();
void setInfo(GLint x,GLint z);
void draw();
private:
GLuint m_vertexID;
GLuint m_indicesID;
GLuint m_normalBuffer;
Lights* m_light;
void initializeMenu();
char* level;
char* XP;
TargaImage* m_menuTexture;
GLuint m_texCoordBuffer;
void loadTexture(string texture);
void text(char * string, void * font, int x, int y);
};
#endif // MENU_H