altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Macros | Typedefs | Functions
include.h File Reference
#include <errno.h>
#include <GL/gl.h>
#include <GL/glx.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xos.h>
#include <X11/Xatom.h>
#include <X11/keysym.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/select.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <AL/al.h>
#include <AL/alc.h>
#include <AL/efx.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <vector>
#include <functional>
#include <thread>
#include <float.h>
#include "huffman.h"
#include "net.h"
#include "vector.h"
#include "matrix.h"
#include "quaternion.h"
#include "plane.h"
#include "types.h"
#include "md5_types.h"
#include "shadow_volume.h"
#include "hashtable.h"
#include "graph.h"
#include "md5.h"
#include "graphics.h"
#include "bspTypes.h"
#include "audio.h"
#include "frame.h"
#include "edge.h"
#include "bsp.h"
#include "trigger.h"
#include "projectile.h"
#include "light.h"
#include "portal_camera.h"
#include "speaker.h"
#include "model.h"
#include "md5model.h"
#include "rigidbody.h"
#include "player.h"
#include "sin_table.h"
#include "common.h"
#include "entity.h"
#include "shader.h"
#include "parse.h"
#include "menu.h"
#include "basegame.h"
#include "quake3.h"
#include "commando.h"
#include "terrain.h"
#include "isosphere.h"
#include "engine.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _HAS_EXCEPTIONS   0
 
#define D3D_DEBUG_INFO
 
#define SHADOWVOL
 
#define LINE_SIZE   512
 
#define TICK_MS   8
 
#define TICK_RATE   125
 
#define GRAVITY   9.8f
 
#define GRAVITY_SCALE   1.4f
 
#define JUMPPAD_SCALE   0.015f
 
#define RIGID_IMPACT   0.5f
 
#define IMPACT_VELOCITY   4.0f
 
#define FALL_DAMAGE_VELOCITY   7.0f
 
#define MAX_TEXTURES   4
 
#define MAX_RES   32
 
#define PARTICLES
 
#define APP_NAME   "altEngine"
 
#define APP_HASH   "fac891919c0d02efdcf76b8c300ec63f"
 
#define GLX_GLXEXT_PROTOTYPES
 
#define closesocket   close
 
#define SOCKET_ERROR   -1
 
#define INVALID_SOCKET   -1
 
#define MAX(x, y)   (x) > (y) ? (x) : (y)
 
#define MIN(x, y)   (x) < (y) ? (x) : (y)
 
#define G_QUAKE3
 
#define DEBUG_NEW   new (_NORMAL_BLOCK, __FILE__, __LINE__)
 
#define MY_PI   3.14159265359f
 
#define MY_HALF_PI   1.5707963268f
 
#define MAXLINE   4096
 
#define FBO_RESOLUTION   1024
 
#define SHADOWMAP_DEFAULT_RES   FBO_RESOLUTION
 
#define UNITS_TO_METERS   (8.0f * 8.0f * 3.3f)
 

Typedefs

typedef int SOCKET
 

Functions

bool RayBoxSlab (vec3 &origin, vec3 &dir, vec3 &min, vec3 &max, float &distance)
 
int load_texture (Graphics &gfx, char *file_name, bool clamp, bool bgr, int anisotropic)
 
int load_texture_pk3 (Graphics &gfx, char *file_name, char **pk3_list, int num_pk3, bool clamp, bool bgr, int anisotropic)
 
bytetga_24to32 (int width, int height, byte *pBits, bool bgr)
 
float abs32 (float val)
 
int abs32 (int val)
 
double fsin (double rad)
 
double fcos (double rad)
 
int debugf (const char *format,...)
 

Macro Definition Documentation

#define _HAS_EXCEPTIONS   0
#define APP_HASH   "fac891919c0d02efdcf76b8c300ec63f"
#define APP_NAME   "altEngine"
#define closesocket   close
#define D3D_DEBUG_INFO
#define DEBUG_NEW   new (_NORMAL_BLOCK, __FILE__, __LINE__)
#define FALL_DAMAGE_VELOCITY   7.0f
#define FBO_RESOLUTION   1024
#define G_QUAKE3
#define GLX_GLXEXT_PROTOTYPES
#define GRAVITY   9.8f
#define GRAVITY_SCALE   1.4f
#define IMPACT_VELOCITY   4.0f
#define INVALID_SOCKET   -1
#define JUMPPAD_SCALE   0.015f
#define LINE_SIZE   512
#define MAX (   x,
 
)    (x) > (y) ? (x) : (y)
#define MAX_RES   32
#define MAX_TEXTURES   4
#define MAXLINE   4096
#define MIN (   x,
 
)    (x) < (y) ? (x) : (y)
#define MY_HALF_PI   1.5707963268f
#define MY_PI   3.14159265359f
#define PARTICLES
#define RIGID_IMPACT   0.5f
#define SHADOWMAP_DEFAULT_RES   FBO_RESOLUTION
#define SHADOWVOL
#define SOCKET_ERROR   -1
#define TICK_MS   8
#define TICK_RATE   125
#define UNITS_TO_METERS   (8.0f * 8.0f * 3.3f)

Typedef Documentation

typedef int SOCKET

Function Documentation

float abs32 ( float  val)

Here is the caller graph for this function:

int abs32 ( int  val)
int debugf ( const char *  format,
  ... 
)
double fcos ( double  rad)

Here is the caller graph for this function:

double fsin ( double  rad)

Here is the caller graph for this function:

int load_texture ( Graphics gfx,
char *  file_name,
bool  clamp,
bool  bgr,
int  anisotropic 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int load_texture_pk3 ( Graphics gfx,
char *  file_name,
char **  pk3_list,
int  num_pk3,
bool  clamp,
bool  bgr,
int  anisotropic 
)

Here is the call graph for this function:

Here is the caller graph for this function:

bool RayBoxSlab ( vec3 origin,
vec3 dir,
vec3 min,
vec3 max,
float &  distance 
)

Here is the call graph for this function:

byte* tga_24to32 ( int  width,
int  height,
byte pBits,
bool  bgr 
)

Here is the caller graph for this function: