summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/losparam.h
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-12 23:07:50 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-13 00:35:02 -0700
commitfab44a2728efc2e5134a7b3a844b3d288ca4cab7 (patch)
tree4d24f8bde4d743b1b8740d8bbe83ae679d3b1555 /crawl-ref/source/losparam.h
parentb451832031b286be24b25118c615cc1a02fc2c03 (diff)
downloadcrawl-ref-fab44a2728efc2e5134a7b3a844b3d288ca4cab7.tar.gz
crawl-ref-fab44a2728efc2e5134a7b3a844b3d288ca4cab7.zip
los: provide explicit access specifiers for inherited structs
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/losparam.h')
-rw-r--r--crawl-ref/source/losparam.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/losparam.h b/crawl-ref/source/losparam.h
index 15f12d8d49..6dfac41dde 100644
--- a/crawl-ref/source/losparam.h
+++ b/crawl-ref/source/losparam.h
@@ -35,7 +35,7 @@ struct los_param
};
// Provides translation to given center and bounds checking.
-struct los_param_trans : los_param
+struct los_param_trans : public los_param
{
coord_def center;
@@ -47,7 +47,7 @@ struct los_param_trans : los_param
};
// Everything is visible.
-struct los_param_permissive : los_param_trans
+struct los_param_permissive : public los_param_trans
{
los_param_permissive(const coord_def& c);
@@ -56,7 +56,7 @@ struct los_param_permissive : los_param_trans
};
// Standard visibility disregarding clouds.
-struct los_param_nocloud : los_param_trans
+struct los_param_nocloud : public los_param_trans
{
los_param_nocloud(const coord_def& c);
@@ -66,7 +66,7 @@ struct los_param_nocloud : los_param_trans
};
// Standard visibility.
-struct los_param_base : los_param_nocloud
+struct los_param_base : public los_param_nocloud
{
los_param_base(const coord_def& c);
@@ -76,7 +76,7 @@ struct los_param_base : los_param_nocloud
// Like los_param_base, but any solid object blocks.
// This includes clear walls and statues.
-struct los_param_solid : los_param_base
+struct los_param_solid : public los_param_base
{
los_param_solid(const coord_def& c);