repo.or.cz
/
AROS-Contrib.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Previous attempt to remove some compiler warnings was
[AROS-Contrib.git]
/
Demo
/
GLExcess
/
Texture.h
blob
84dc66e7ec3c375e8c4d18307c58624410d0bf75
1
#ifndef TEXTURE_H
2
#define TEXTURE_H
3
#define MAX_TEXTURE_NAME_LENGTH 64
4
5
#ifdef WIN32
6
#include <windows.h>
7
#endif
8
9
#include <stdio.h>
10
#include <GL/gl.h>
11
#include <GL/glu.h>
12
13
class
Texture
14
{
15
public
:
16
Texture
();
17
~
Texture
();
18
bool
Load
(
char
*
Opaque
);
19
void
Kill
();
20
void
Use
();
21
22
protected
:
23
bool
Create
(
char
*
FileName
);
24
char
Name
[
MAX_TEXTURE_NAME_LENGTH
];
25
GLuint tID
;
26
GLuint Width
,
Height
;
27
};
28
#endif
29