summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_dgntil.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-20 14:13:42 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-20 14:13:42 -0700
commitd6ea58e6f13e85f4121ab488c09721f6d388a977 (patch)
tree0eceed1e0820c08b3dc995002ccc32f112e084ba /crawl-ref/source/l_dgntil.cc
parentc0d232cd853f335b240b125380ed827f52c080ca (diff)
downloadcrawl-ref-d6ea58e6f13e85f4121ab488c09721f6d388a977.tar.gz
crawl-ref-d6ea58e6f13e85f4121ab488c09721f6d388a977.zip
cosmetic: strip trailing whitespace
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/l_dgntil.cc')
-rw-r--r--crawl-ref/source/l_dgntil.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/crawl-ref/source/l_dgntil.cc b/crawl-ref/source/l_dgntil.cc
index 2a47a333bc..94b6b685e3 100644
--- a/crawl-ref/source/l_dgntil.cc
+++ b/crawl-ref/source/l_dgntil.cc
@@ -21,7 +21,7 @@ unsigned int get_tile_idx(lua_State *ls, int arg)
}
const char *tile_name = luaL_checkstring(ls, arg);
-
+
unsigned int idx;
if (!tile_dngn_index(tile_name, idx))
{
@@ -40,10 +40,10 @@ LUAFN(dgn_lev_floortile)
{
#ifdef USE_TILE
LEVEL(lev, br, 1);
-
+
tile_flavour flv;
tile_default_flv(lev, br, flv);
-
+
const char *tile_name = tile_dngn_name(flv.floor);
PLUARET(string, tile_name);
#else
@@ -55,10 +55,10 @@ LUAFN(dgn_lev_rocktile)
{
#ifdef USE_TILE
LEVEL(lev, br, 1);
-
+
tile_flavour flv;
tile_default_flv(lev, br, flv);
-
+
const char *tile_name = tile_dngn_name(flv.wall);
PLUARET(string, tile_name);
#else
@@ -69,11 +69,11 @@ LUAFN(dgn_lev_rocktile)
LUAFN(dgn_lrocktile)
{
MAP(ls, 1, map);
-
+
#ifdef USE_TILE
unsigned short tile = get_tile_idx(ls, 2);
map->rock_tile = tile;
-
+
const char *tile_name = tile_dngn_name(tile);
PLUARET(string, tile_name);
#else
@@ -85,11 +85,11 @@ LUAFN(dgn_lrocktile)
LUAFN(dgn_lfloortile)
{
MAP(ls, 1, map);
-
+
#ifdef USE_TILE
unsigned short tile = get_tile_idx(ls, 2);
map->floor_tile = tile;
-
+
const char *tile_name = tile_dngn_name(tile);
PLUARET(string, tile_name);
#else
@@ -104,7 +104,7 @@ LUAFN(dgn_change_rock_tile)
unsigned short tile = get_tile_idx(ls, 1);
if (tile)
env.tile_default.wall = tile;
-
+
const char *tile_name = tile_dngn_name(tile);
PLUARET(string, tile_name);
#else
@@ -118,7 +118,7 @@ LUAFN(dgn_change_floor_tile)
unsigned short tile = get_tile_idx(ls, 1);
if (tile)
env.tile_default.floor = tile;
-
+
const char *tile_name = tile_dngn_name(tile);
PLUARET(string, tile_name);
#else