Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base/faction.h')
-rw-r--r--src/game/base/faction.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/base/faction.h b/src/game/base/faction.h
index 997b6fc..3775043 100644
--- a/src/game/base/faction.h
+++ b/src/game/base/faction.h
@@ -30,6 +30,10 @@ public:
return faction_color_second;
}
+ inline const bool lawfull() const {
+ return faction_lawfull;
+ }
+
/* --- actors ----------------------------------------------------- */
/**
@@ -47,6 +51,10 @@ public:
faction_color_second.assign(color_second);
}
+ inline void set_lawfull(const bool lawfull) {
+ faction_lawfull = lawfull;
+ }
+
/* --- static ----------------------------------------------------- */
/**
@@ -70,6 +78,8 @@ private:
math::Color faction_color;
math::Color faction_color_second;
+ bool faction_lawfull;
+
/* --- static ----------------------------------------------------- */
static core::InfoType *faction_infotype;