Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/range.h')
-rw-r--r--src/core/range.h29
1 files changed, 23 insertions, 6 deletions
diff --git a/src/core/range.h b/src/core/range.h
index a133695..c5265c4 100644
--- a/src/core/range.h
+++ b/src/core/range.h
@@ -12,19 +12,36 @@ namespace core
/**
* @brief range and scale constants
+ * These global constants are shared between client and server.
+ * Changing them is generally a bad idea.
*/
namespace range
{
-/// maximal visible range (world distance)
-/** This is the distance of the frustum far plane,
- * the maximal distance at which entities can be drawn.
- * the maximal radar range
- * and the maximal range to send entity updates
+
+/**
+ * @brief maximal visible range (world distance)
+ * This is the distance of the frustum far plane,
+ * the maximal distance at which entities can be drawn.
+ * the maximal radar range
+ * and the maximal range to send entity updates
*/
const float maxdistance = 1024.0f;
-/// detail/fx distance (world distance)
+/**
+ * @brief maximal range in which graphics effects are drawn
+ * */
const float fxdistance = 256.0f;
+
+/**
+ * @brief reputation limit to indicate hostile targets
+ * */
+const float reputation_hostile = -70.0f;
+
+/**
+ * @brief reputation limit to indicate friendly targets
+ * */
+const float reputation_friendly = 70.0f;
+
}
}