main/mglobal.c File Reference

#include "fix.h"
#include "vecmat.h"
#include "inferno.h"
#include "segment.h"
#include "object.h"
#include "bm.h"
#include "3d.h"
#include "game.h"

Defines

#define TOLOWER(c)   ((((c)>='A') && ((c)<='Z'))?((c)+('a'-'A')):(c))
#define encrypt(a, b, c, d)   { a,b,c,d }
#define DEFAULT_DIFFICULTY   1

Variables

vms_vector Vertices [MAX_VERTICES]
g3s_point Segment_points [MAX_VERTICES]
fix FrameTime = 0
fix GameTime = 0
int FrameCount = 0
segment Segments [MAX_SEGMENTS]
int Num_vertices = 0
int Num_segments = 0
int Highest_vertex_index = 0
int Highest_segment_index = 0
char Side_opposite [MAX_SIDES_PER_SEGMENT] = {WRIGHT, WBOTTOM, WLEFT, WTOP, WFRONT, WBACK}
byte Side_to_verts [MAX_SIDES_PER_SEGMENT][4]
int Side_to_verts_int [MAX_SIDES_PER_SEGMENT][4]
int NumTextures = 0
bitmap_index Textures [MAX_TEXTURES]
fix Next_laser_fire_time
fix Next_missile_fire_time
int Difficulty_level = DEFAULT_DIFFICULTY
int Detail_level = NUM_DETAIL_LEVELS-2
char Menu_pcx_name [13] = "menu.pcx"

Define Documentation

#define DEFAULT_DIFFICULTY   1
 

#define encrypt a,
b,
c,
 )     { a,b,c,d }
 

#define TOLOWER  )     ((((c)>='A') && ((c)<='Z'))?((c)+('a'-'A')):(c))
 


Variable Documentation

int Detail_level = NUM_DETAIL_LEVELS-2
 

int Difficulty_level = DEFAULT_DIFFICULTY
 

int FrameCount = 0
 

fix FrameTime = 0
 

fix GameTime = 0
 

int Highest_segment_index = 0
 

int Highest_vertex_index = 0
 

char Menu_pcx_name[13] = "menu.pcx"
 

fix Next_laser_fire_time
 

fix Next_missile_fire_time
 

int Num_segments = 0
 

int Num_vertices = 0
 

int NumTextures = 0
 

g3s_point Segment_points[MAX_VERTICES]
 

segment Segments[MAX_SEGMENTS]
 

char Side_opposite[MAX_SIDES_PER_SEGMENT] = {WRIGHT, WBOTTOM, WLEFT, WTOP, WFRONT, WBACK}
 

byte Side_to_verts[MAX_SIDES_PER_SEGMENT][4]
 

Initial value:

 {
                        encrypt(7,6,2,3),                       
                        encrypt(0,4,7,3),                       
                        encrypt(0,1,5,4),                       
                        encrypt(2,6,5,1),                       
                        encrypt(4,5,6,7),                       
                        encrypt(3,2,1,0),                       
}

int Side_to_verts_int[MAX_SIDES_PER_SEGMENT][4]
 

Initial value:

 {
                        encrypt(7,6,2,3),                       
                        encrypt(0,4,7,3),                       
                        encrypt(0,1,5,4),                       
                        encrypt(2,6,5,1),                       
                        encrypt(4,5,6,7),                       
                        encrypt(3,2,1,0),                       
}

bitmap_index Textures[MAX_TEXTURES]
 

vms_vector Vertices[MAX_VERTICES]
 


Generated on Mon Aug 28 20:55:33 2006 for D1X-Rebirth by  doxygen 1.4.6