MCPcopy Create free account
hub / github.com/crawl/crawl / _lua_boolean

Function _lua_boolean

crawl-ref/source/l-dgn.cc:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32static const char *VAULT_PLACEMENT_METATABLE = "crawl.vault-placement";
33
34static inline bool _lua_boolean(lua_State *ls, int ndx, bool defval)
35{
36 return lua_isnone(ls, ndx)? defval : lua_toboolean(ls, ndx);
37}
38
39void dgn_reset_default_depth()
40{

Callers 3

dgn_change_floor_colourFunction · 0.85
dgn_change_rock_colourFunction · 0.85
LUAFNFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected