#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <time.h>#include <errno.h>#include <GL/glut.h>#include <GL/glu.h>#include <math.h>#include "skyfly.h"#include "OBJlib.h"#include "global.h"#include "alloc.h"#include "utils.h"#include "colormap.h"#include "bspline.h"Compounds | |
| struct | buffered_data_struct |
| struct | gfxpipe_data_struct |
| struct | render_ring_struct |
Defines | |
| #define | NUM_SPHERE_POINTS 5 |
| #define | glBindTexture(A, B) |
| #define | glGenTextures(A, B) |
| #define | glDeleteTextures(A, B) |
| #define | GL_RGB5 GL_RGB |
| #define | ERR_WARNING 0x1 |
| #define | ERR_FATAL 0x2 |
| #define | ERR_SYSERR 0x4 |
| #define | AMALLOC(a, type, num, func) |
| #define | RING_SIZE 1000 |
| #define | TXSIZE 128 |
| #define | TXSIZE 64 |
Typedefs | |
| typedef buffered_data_struct | buffered_data |
| typedef gfxpipe_data_struct | gfxpipe_data |
| typedef render_ring_struct | render_ring |
Functions | |
| double | vort_distance (double v1[3], double v2[3]) |
| void | sim_proc (void) |
| void | sim_cyclops (void) |
| void | sim_dualchannel (void) |
| void | sim_singlechannel (void) |
| void | cull_proc (void) |
| void | draw_proc (void) |
| void | sim_exit (void) |
| void | init_misc (void) |
| void | init_shmem (void) |
| void | init_terrain (void) |
| void | init_clouds (void) |
| void | init_paper_planes (void) |
| void | init_positions (void) |
| void | init_gfxpipes (void) |
| void | init_gl (int gfxpipenum) |
| void | err_msg (int type, char *func, char *error) |
| void | fly (perfobj_t *viewer_pos) |
| void | fly_paper_planes (perfobj_t *paper_plane_pos) |
| float | terrain_height (void) |
| void | init_skyfly (void) |
| void | enter_in_ring (perfobj_t *perfobj) |
| perfobj_t * | get_from_ring (void) |
| void | init_texture_and_lighting (void) |
| void | init_buffered_data (buffered_data *buffered) |
| unsigned char * | read_bwimage (char *name, int *w, int *h) |
| void | lightpos (void) |
| void | texenv (int env) |
| void | set_fog (int enable) |
| void | set_dither (int enable) |
| void | DrawVortex (int i) |
Variables | |
| float | ScaleZ = 2.3 |
| int | CellDim = 4 |
| int | NumCells = 36 |
| int | GridDim |
| float | XYScale |
| float | CellSize |
| int | Init_pos |
| float | Init_x |
| float | Init_y |
| float | Init_z |
| float | Init_azimuth |
| int | rgbmode = GL_TRUE |
| int | sky_base |
| int | terr_base |
| int | plane_colors [3] |
| float | fog_params [4] |
| float | far_cull = 31. |
| int | mipmap = 0 |
| int | dither = GL_TRUE |
| int | fog = GL_TRUE |
| int | Wxsize = 320 |
| int | Wysize = 240 |
| shared_data * | SharedData |
| render_ring | ringbuffer |
|
|
Value: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001