24 |
#ifndef MAP_DISPLAY_H |
#ifndef MAP_DISPLAY_H |
25 |
#define MAP_DISPLAY_H |
#define MAP_DISPLAY_H |
26 |
|
|
|
//#include <GL/glut.h> |
|
27 |
#include <GL/gl.h> |
#include <GL/gl.h> |
28 |
|
|
29 |
#include "Map/MapDisplayPoint.h" |
#include "Map/MapDisplayPoint.h" |
34 |
*/ |
*/ |
35 |
|
|
36 |
@class Camera; |
@class Camera; |
|
@class TextureLoader; |
|
37 |
|
|
38 |
#define LAND_TEX 0 |
#define LAND_TEX 0 |
39 |
|
|
72 |
BOOL _enableTexture; |
BOOL _enableTexture; |
73 |
tex_coord_t _tex; |
tex_coord_t _tex; |
74 |
|
|
|
TextureLoader *_textureLoader; |
|
75 |
GLuint _texture[1]; |
GLuint _texture[1]; |
76 |
} |
} |
77 |
|
|
78 |
- (id) initWithImageName: (NSString *)imageName |
- (id) initWithImageName: (NSString *)imageName |
79 |
colorsImageName: (NSString *)colorsImageName |
colorsImageName: (NSString *)colorsImageName |
80 |
mapShadow: (MapShadow *)mapShadow |
mapShadow: (MapShadow *)mapShadow; |
|
textureLoader: (TextureLoader *) textureLoader; |
|
|
|
|
|
- (void) setTextureLoader: (TextureLoader *) textureLoader; |
|
81 |
|
|
82 |
- (void) displayWithCamera: (Camera *)camera |
- (void) displayWithCamera: (Camera *)camera |
83 |
numberOfRay: (int)nbRay |
numberOfRay: (int)nbRay |