l_you.cc File Reference

#include "AppHdr.h"
#include "cluautil.h"
#include "l_libs.h"
#include "abl-show.h"
#include "areas.h"
#include "branch.h"
#include "chardump.h"
#include "coord.h"
#include "delay.h"
#include "env.h"
#include "food.h"
#include "libutil.h"
#include "mapmark.h"
#include "mon-util.h"
#include "jobs.h"
#include "ouch.h"
#include "religion.h"
#include "shopping.h"
#include "species.h"
#include "stairs.h"
#include "skills2.h"
#include "spl-transloc.h"
#include "spl-util.h"
#include "stuff.h"
#include "transform.h"
#include "travel.h"

Include dependency graph for l_you.cc:


Functions

 LUARET1 (you_name, string, you.your_name.c_str()) LUARET1(you_race
 species_name (you.species).c_str()) LUARET1(you_class
 get_job_name (you.char_class)) LUARET1(you_god
 god_name (you.religion).c_str()) LUARET1(you_good_god
 lua_isstring (ls, 1)?is_good_god(str_to_god(lua_tostring(ls
 hunger_level ()) LUARET2(you_strength
you strength ()
you you max_strength ()) LUARET2(you_intelligence
you you you intel ()
you you you you max_intel ()) LUARET2(you_dexterity
you you you you you dex ()
you you you you you you max_dex ()) LUARET1(you_skill
you you you you you you player_res_poison (false)) LUARET1(you_res_fire
you you you you you you player_res_fire (false)) LUARET1(you_res_cold
you you you you you you player_res_cold (false)) LUARET1(you_res_draining
you you you you you you player_prot_life (false)) LUARET1(you_res_shock
you you you you you you player_res_electricity (false)) LUARET1(you_res_statdrain
you you you you you you player_sust_abil (false)) LUARET1(you_res_mutation
you you you you you you wearing_amulet (AMU_RESIST_MUTATION, false)) LUARET1(you_gourmand
you you you you you you wearing_amulet (AMU_THE_GOURMAND, false)) LUARET1(you_saprovorous
you you you you you you player_mutation_level (MUT_SAPROVOROUS)) LUARET1(you_levitating
you you you you you you you flight_mode ()
void cluaopen_you (lua_State *ls)
 LUARET1 (you_can_hear_pos, boolean, player_can_hear(coord_def(luaL_checkint(ls, 1), luaL_checkint(ls, 2)))) LUARET1(you_silenced
 silenced (you.pos())) LUARET1(you_x_pos
you pos ().x) LUARET1(you_y_pos
you you you you you see_cell (coord_def(luaL_checkint(ls, 1), luaL_checkint(ls, 2)))) LUARET1(you_see_cell_no_trans
you you you you you you see_cell_no_trans (coord_def(luaL_checkint(ls, 1), luaL_checkint(ls, 2)))) LUAFN(you_stop_running)
 LUAFN (you_moveto)
 LUAFN (you_teleport_to)
 LUAFN (you_random_teleport)
 LUAWRAP (_you_die, ouch(INSTANT_DEATH, NON_MONSTER, KILLED_BY_SOMETHING)) LUAFN(you_in_branch)
 LUAFN (_you_shopping_list_has)
 LUAFN (_you_shopping_list_add)
 LUAFN (_you_shopping_list_del)
 LUAFN (_you_at_branch_bottom)
void dluaopen_you (lua_State *ls)

Variables

 string
 boolean
 __pad0__
 __pad1__
 __pad2__
 number

Function Documentation

void cluaopen_you ( lua_State *  ls  ) 

you you you you you dex (  ) 

Type Constraints

void dluaopen_you ( lua_State *  ls  ) 

you you you you you you you flight_mode (  ) 

Type Constraints

get_job_name ( you.  char_class  ) 

Type Constraints

god_name ( you.  religion  ) 

Type Constraints

hunger_level ( void   ) 

Type Constraints

you you you intel (  ) 

Type Constraints

you you you you you you lua_isstring ( ls  ,
 
)

Type Constraints

LUAFN ( _you_at_branch_bottom   ) 

Here is the call graph for this function:

LUAFN ( _you_shopping_list_del   ) 

Here is the call graph for this function:

LUAFN ( _you_shopping_list_add   ) 

Here is the call graph for this function:

LUAFN ( _you_shopping_list_has   ) 

Here is the call graph for this function:

LUAFN ( you_random_teleport   ) 

Here is the call graph for this function:

LUAFN ( you_teleport_to   ) 

Here is the call graph for this function:

LUAFN ( you_moveto   ) 

Here is the call graph for this function:

LUARET1 ( you_can_hear_pos  ,
boolean  ,
player_can_hear(coord_def(luaL_checkint(ls, 1), luaL_checkint(ls, 2)))   
)

LUARET1 ( you_name  ,
string  ,
you.your_name.  c_str() 
)

LUAWRAP ( _you_die  ,
ouch(INSTANT_DEATH, NON_MONSTER, KILLED_BY_SOMETHING)   
)

Here is the call graph for this function:

you you you you you you max_dex (  ) 

you you you you max_intel (  ) 

you you max_strength (  ) 

you you you you you you player_mutation_level ( MUT_SAPROVOROUS   ) 

Type Constraints

you you you you you you player_prot_life ( false   ) 

Type Constraints

you you you you you you player_res_cold ( false   ) 

Type Constraints

you you you you you you player_res_electricity ( false   ) 

Type Constraints

you you you you you you player_res_fire ( false   ) 

Type Constraints

you you you you you you player_res_poison ( false   ) 

Type Constraints

you you you you you you player_sust_abil ( false   ) 

Type Constraints

you you you you pos (  ) 

Type Constraints

you you you you you see_cell ( coord_def(luaL_checkint(ls, 1), luaL_checkint(ls, 2))   ) 

Type Constraints

you you you you you you see_cell_no_trans ( coord_def(luaL_checkint(ls, 1), luaL_checkint(ls, 2))   ) 

Type Constraints

Here is the call graph for this function:

silenced ( you.  pos()  ) 

Type Constraints

species_name ( you.  species  ) 

Type Constraints

you strength (  ) 

Type Constraints

you you you you you you wearing_amulet ( AMU_THE_GOURMAND  ,
false   
)

Type Constraints

you you you you you you wearing_amulet ( AMU_RESIST_MUTATION  ,
false   
)

Type Constraints


Variable Documentation


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