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

#include "pch.h"
#include "cube.h"
#include "bot/bot.h"

Include dependency graph for world.cpp:


Functions

void remip (const block &b, int level)
void remipmore (const block &b, int level)
int closestent ()
void entproperty (int prop, int amount)
void getenttype ()
int getentattr (int attr)
 COMMAND (getenttype, ARG_NONE)
 COMMAND (getentattr, ARG_1EXP)
void delent ()
int findtype (char *what)
entity * newentity (int index, int x, int y, int z, char *what, int v1, int v2, int v3, int v4)
void entset (char *what, char *a1, char *a2, char *a3, char *a4)
 COMMAND (entset, ARG_5STR)
void clearents (char *name)
 COMMAND (clearents, ARG_1STR)
void scalecomp (uchar &c, int intens)
void scalelights (int f, int intens)
 COMMAND (scalelights, ARG_2INT)
int findentity (int type, int index)
int findentity (int type, int index, uchar attr2)
void setupworld (int factor)
bool empty_world (int factor, bool force)
void mapenlarge ()
void newmap (int i)
 COMMAND (mapenlarge, ARG_NONE)
 COMMAND (newmap, ARG_1INT)
 COMMANDN (recalc, calclight, ARG_NONE)
 COMMAND (delent, ARG_NONE)
 COMMAND (entproperty, ARG_2INT)

Variables

sqr * world = NULL
int sfactor
int ssize
int cubicsize
int mipsize
header hdr
hashtable< char *, enet_uint32 > mapinfo
hashtable< char *, enet_uint32 > & resdata = mapinfo
sqr * wmip [LARGEST_FACTOR *2]

Function Documentation

void clearents ( char *  name  ) 

int closestent (  ) 

COMMAND ( entproperty  ,
ARG_2INT   
)

COMMAND ( delent  ,
ARG_NONE   
)

COMMAND ( newmap  ,
ARG_1INT   
)

COMMAND ( mapenlarge  ,
ARG_NONE   
)

COMMAND ( scalelights  ,
ARG_2INT   
)

COMMAND ( clearents  ,
ARG_1STR   
)

COMMAND ( entset  ,
ARG_5STR   
)

COMMAND ( getentattr  ,
ARG_1EXP   
)

COMMAND ( getenttype  ,
ARG_NONE   
)

COMMANDN ( recalc  ,
calclight  ,
ARG_NONE   
)

void delent (  ) 

bool empty_world ( int  factor,
bool  force 
)

void entproperty ( int  prop,
int  amount 
)

void entset ( char *  what,
char *  a1,
char *  a2,
char *  a3,
char *  a4 
)

int findentity ( int  type,
int  index,
uchar  attr2 
)

int findentity ( int  type,
int  index 
)

int findtype ( char *  what  ) 

int getentattr ( int  attr  ) 

void getenttype (  ) 

void mapenlarge (  ) 

entity* newentity ( int  index,
int  x,
int  y,
int  z,
char *  what,
int  v1,
int  v2,
int  v3,
int  v4 
)

void newmap ( int  i  ) 

void remip ( const block &  b,
int  level 
)

void remipmore ( const block &  b,
int  level 
)

void scalecomp ( uchar &  c,
int  intens 
)

void scalelights ( int  f,
int  intens 
)

void setupworld ( int  factor  ) 


Variable Documentation

int cubicsize

hashtable<char *, enet_uint32> mapinfo

int mipsize

hashtable<char *, enet_uint32> & resdata = mapinfo

int sfactor

int ssize

sqr* wmip[LARGEST_FACTOR *2]

sqr* world = NULL


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