R:/projects/actioncube/_svn/trunk/ac/source/src/world.h File Reference

This graph shows which files directly or indirectly include this file:


Classes

struct  sqr
struct  header
struct  block
struct  vertex

Defines

#define MAPVERSION   6
#define SWS(w, x, y, s)   (&(w)[((y)<<(s))+(x)])
#define SW(w, x, y)   SWS(w,x,y,sfactor)
#define S(x, y)   SW(world,x,y)
#define SMALLEST_FACTOR   6
#define DEFAULT_FACTOR   8
#define LARGEST_FACTOR   11
#define SOLID(x)   ((x)->type==SOLID)
#define MINBORD   2
#define OUTBORD(x, y)   ((x)<MINBORD || (y)<MINBORD || (x)>=ssize-MINBORD || (y)>=ssize-MINBORD)
#define OUTBORDRAD(x, y, rad)   (int(x-rad)<MINBORD || int(y-rad)<MINBORD || int(x+rad)>=ssize-MINBORD || (y+rad)>=ssize-MINBORD)

Enumerations

enum  {
  SOLID = 0, CORNER, FHF, CHF,
  SPACE, SEMISOLID, MAXTYPE
}
enum  {
  DEFAULT_SKY = 0, DEFAULT_LIQUID, DEFAULT_WALL, DEFAULT_FLOOR,
  DEFAULT_CEIL
}

Define Documentation

#define DEFAULT_FACTOR   8

#define LARGEST_FACTOR   11

#define MAPVERSION   6

#define MINBORD   2

#define OUTBORD ( x,
y   )     ((x)<MINBORD || (y)<MINBORD || (x)>=ssize-MINBORD || (y)>=ssize-MINBORD)

#define OUTBORDRAD ( x,
y,
rad   )     (int(x-rad)<MINBORD || int(y-rad)<MINBORD || int(x+rad)>=ssize-MINBORD || (y+rad)>=ssize-MINBORD)

#define S ( x,
y   )     SW(world,x,y)

#define SMALLEST_FACTOR   6

#define SOLID ( x   )     ((x)->type==SOLID)

#define SW ( w,
x,
y   )     SWS(w,x,y,sfactor)

#define SWS ( w,
x,
y,
s   )     (&(w)[((y)<<(s))+(x)])


Enumeration Type Documentation

anonymous enum

Enumerator:
SOLID 
CORNER 
FHF 
CHF 
SPACE 
SEMISOLID 
MAXTYPE 

anonymous enum

Enumerator:
DEFAULT_SKY 
DEFAULT_LIQUID 
DEFAULT_WALL 
DEFAULT_FLOOR 
DEFAULT_CEIL 


Generated on Mon Dec 8 21:41:33 2008 for AssaultCube by  doxygen 1.5.7.1