#include <stdio.h>#include <stdlib.h>#include <GL/gl.h>#include <GL/glu.h>#include <string>#include <iostream>#include <fstream>#include <cmath>#include <cassert>#include <stdint.h>#include <vector>#include "quat.h"#include "utility.h"#include "textures.h"#include "joepack.h"#include "camera.h"#include "globals.h"Include dependency graph for model.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | JOEHeader |
| struct | JOEVertex |
| struct | JOEFace |
| struct | JOETexCoord |
| struct | JOEFrame |
| struct | JOEObject |
| class | JOEMODEL |
Defines | |
| #define | NUM_COLLIDE_CACHE 10 |
| #define | INTERSECT_FUNCTION utility.IntersectTriangleF |
| #define | JOE_MAX_TRIANGLES 4096 |
| #define | JOE_MAX_VERTICES 2048 |
| #define | JOE_MAX_TEXCOORDS 2048 |
| #define | JOE_MAX_FRAMES 512 |
| #define | JOE_VERSION 3 |
| #define | JOE_MAX_TEXTURES 1 |
| #define | MAX_TEXTURE_UNITS 4 |
| #define | MAX_FILENAME_LEN 1024 |
| #define | TEXTUREMODE_NOTEX 0 |
| #define | TEXTUREMODE_TEX 1 |
| #define | TEXTUREMODE_REFLECTION 2 |
| #define | TEXTUREMODE_ADD 3 |
| #define | MODEL_SCALE 1.0 |
| #define | ENDIAN_SWAP_16(A) (A) |
| #define | ENDIAN_SWAP_32(A) (A) |
| #define | ENDIAN_SWAP_FLOAT(A) (A) |
| #define | MODEL_H |
Typedefs | |
| typedef unsigned char | byte |
|
|
Definition at line 91 of file model.h. Referenced by JOEMODEL::CorrectEndian(). |
|
|
Definition at line 92 of file model.h. Referenced by JOEMODEL::LoadFromHandle(), JOEPACK::LoadPack(), and JOEMODEL::ReadData(). |
|
|
Definition at line 93 of file model.h. Referenced by JOEMODEL::CorrectEndian(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 41 of file model.h. Referenced by JOEMODEL::LoadFromHandle(). |
|
|
Definition at line 47 of file model.h. Referenced by JOEMODEL::FileToPNG(). |
|
|
Definition at line 45 of file model.h. Referenced by JOEMODEL::AdditiveTexture(), JOEMODEL::AdditiveTextureID(), JOEMODEL::DrawStatic(), JOEMODEL::JOEMODEL(), JOEMODEL::Load(), JOEMODEL::NoTexture(), JOEMODEL::ReflectionTexture(), JOEMODEL::ReflectionTextureID(), JOEMODEL::Texture(), and JOEMODEL::TextureID(). |
|
|
|
|
|
|
|
|
Definition at line 32 of file model.h. Referenced by JOEMODEL::Collide(). |
|
|
Definition at line 52 of file model.h. Referenced by JOEMODEL::AdditiveTexture(), and JOEMODEL::AdditiveTextureID(). |
|
|
Definition at line 49 of file model.h. Referenced by JOEMODEL::JOEMODEL(), JOEMODEL::Load(), and JOEMODEL::NoTexture(). |
|
|
Definition at line 51 of file model.h. Referenced by JOEMODEL::ReflectionTexture(), and JOEMODEL::ReflectionTextureID(). |
|
|
Definition at line 50 of file model.h. Referenced by JOEMODEL::Texture(), and JOEMODEL::TextureID(). |
|
|
|
1.4.6