l_dgngrd.cc File Reference

#include "AppHdr.h"
#include "clua.h"
#include "cluautil.h"
#include "l_libs.h"
#include "coord.h"
#include "directn.h"
#include "dungeon.h"
#include "env.h"
#include "libutil.h"
#include "terrain.h"

Include dependency graph for l_dgngrd.cc:


Defines

#define FEAT(f, pos)   dungeon_feature_type f = check_lua_feature(ls, pos)

Functions

dungeon_feature_type check_lua_feature (lua_State *ls, int idx)
 LUAFN (dgn_distance)
 LUAFN (dgn_seen_replace_feat)

Variables

struct luaL_reg dgn_grid_dlib []

Define Documentation

#define FEAT ( f,
pos   )     dungeon_feature_type f = check_lua_feature(ls, pos)


Function Documentation

dungeon_feature_type check_lua_feature ( lua_State *  ls,
int  idx 
)

LUAFN ( dgn_seen_replace_feat   ) 

Here is the call graph for this function:

LUAFN ( dgn_distance   ) 

Here is the call graph for this function:


Variable Documentation

struct luaL_reg dgn_grid_dlib[]

Initial value:

{
{ "feature_number", dgn_feature_number },
{ "feature_name", dgn_feature_name },
{ "feature_desc", dgn_feature_desc },
{ "feature_desc_at", dgn_feature_desc_at },
{ "set_feature_desc_short", dgn_set_feature_desc_short },
{ "set_feature_desc_long", dgn_set_feature_desc_long },
{ "set_feature_quote", dgn_set_feature_quote },
{ "seen_replace_feat", dgn_seen_replace_feat },

{ "grid", dgn_grid },
{ "max_bounds", dgn_max_bounds },
{ "in_bounds", dgn_in_bounds },
{ "distance", dgn_distance },



{ NULL, NULL }
}


Generated on Thu Jan 13 13:08:03 2011 by  doxygen 1.5.6