#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <stdio.h>#include <list>#include "opengl.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 | model_cap_trans_t |
| struct | model_cap_data_t |
| class | Model |
| class | CompModel |
| struct | CompModel::openglstate |
| struct | CompModel::RGBA_t |
| struct | CompModel::Lighting |
Defines | |
| #define | MODEL_CAPS_USED 17 |
| #define | MODEL_CAP_MAX_NAME_LEN 30 |
| #define | MAX_CAPS 10 |
| Class used for loading and holding model data for 3D models. | |
Enumerations | |
| enum | model_cap_t { CAP_DUMMY = 0, CAP_BODY = 1, CAP_TURRET = 10, CAP_TURRET_ROTATION, CAP_TURRET_ROT_LEFT, CAP_TURRET_ROT_RIGHT, CAP_BARREL = 20, CAP_BARREL_ELEVATION, CAP_BARREL_UP, CAP_BARREL_DOWN, CAP_WHEEL = 30, CAP_WHEEL_ROTATION_R, CAP_WHEEL_ROTATION_L, CAP_MAX } |
Functions | |
| char * | getString (char *buf, char *pos, int fd) |
| int | atos (char *str) |
| void | incCap (model_cap_data_t *cap_data) |
| void | decCap (model_cap_data_t *cap_data) |
| void | incCap (model_cap_data_t *cap_data, float steps) |
| void | decCap (model_cap_data_t *cap_data, float steps) |
| #define MAX_CAPS 10 |
Class used for loading and holding model data for 3D models.
Currently supports files exported from Blender (http://blender.org) using the export script written by Erik Ytterberg <tower_at_sf@users.sf.net>
| #define MODEL_CAP_MAX_NAME_LEN 30 |
| #define MODEL_CAPS_USED 17 |
| enum model_cap_t |
| int atos | ( | char * | str | ) |
| void decCap | ( | model_cap_data_t * | cap_data, | |
| float | steps | |||
| ) |
| void decCap | ( | model_cap_data_t * | cap_data | ) |
| char* getString | ( | char * | buf, | |
| char * | pos, | |||
| int | fd | |||
| ) |
| void incCap | ( | model_cap_data_t * | cap_data, | |
| float | steps | |||
| ) |
| void incCap | ( | model_cap_data_t * | cap_data | ) |
1.4.7