Shadowrun: Awakened 29 September 2011 - Build 871
Classes | Defines | Typedefs
types.h File Reference
#include <alloca.h>
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bytecolor
struct  color
struct  intersection
struct  intersectstruct
struct  object
struct  object_methods
struct  rawimage
struct  ray
struct  rpcmsg
struct  scalarvol
struct  scenedef
struct  texture
struct  vector

Defines

#define EPSILON   0.000001
#define FHUGE   1e18
#define INTTBSIZE   1024
#define MAXIMGS   39
#define MAXLIGHTS   39
#define MAXOCTNODES   25
#define RPCQSIZE   113
#define RT_BOUNDING_DISABLED   0
#define RT_BOUNDING_ENABLED   1
#define RT_DISPLAY_DISABLED   0
#define RT_DISPLAY_ENABLED   1
#define RT_RAY_BOUNDED   4
#define RT_RAY_FINISHED   8
#define RT_RAY_REGULAR   1
#define RT_RAY_SHADOW   2
#define SPEPSILON   0.000001
#define TWOPI   6.2831853

Typedefs

typedef unsigned char byte
typedef double flt
typedef signed int word

Define Documentation

#define EPSILON   0.000001
#define FHUGE   1e18
#define INTTBSIZE   1024

Definition at line 83 of file types.h.

#define MAXIMGS   39

Definition at line 85 of file types.h.

Referenced by ResetImages().

#define MAXLIGHTS   39

Definition at line 84 of file types.h.

#define MAXOCTNODES   25

Definition at line 75 of file types.h.

Referenced by rt_boundthresh(), and rt_newscene().

#define RPCQSIZE   113

Definition at line 86 of file types.h.

#define RT_BOUNDING_DISABLED   0

Definition at line 89 of file types.h.

#define RT_BOUNDING_ENABLED   1

Definition at line 90 of file types.h.

#define RT_DISPLAY_DISABLED   0

Definition at line 93 of file types.h.

#define RT_DISPLAY_ENABLED   1

Definition at line 94 of file types.h.

#define RT_RAY_BOUNDED   4

Definition at line 99 of file types.h.

Referenced by bndbox_intersect(), and shader().

#define RT_RAY_FINISHED   8

Definition at line 100 of file types.h.

Referenced by add_intersection(), and grid_intersect().

#define RT_RAY_REGULAR   1

Definition at line 97 of file types.h.

Referenced by camray(), render_one_pixel(), shade_reflection(), and shade_transmission().

#define RT_RAY_SHADOW   2

Definition at line 98 of file types.h.

Referenced by add_intersection(), light_intersect(), and shader().

#define SPEPSILON   0.000001

Definition at line 76 of file types.h.

Referenced by light_intersect(), and sphere_intersect().

#define TWOPI   6.2831853

Definition at line 78 of file types.h.


Typedef Documentation

typedef unsigned char byte

Definition at line 108 of file types.h.

typedef double flt

Definition at line 105 of file types.h.

typedef signed int word

Definition at line 109 of file types.h.


Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net