diff options
author | Stijn Buys <ingar@osirion.org> | 2008-08-06 16:43:32 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-08-06 16:43:32 +0000 |
commit | 6979c74625d51897d99797b309974c2ee82a024b (patch) | |
tree | 812f652254672ef016deb96239d6a5c5b98a8801 /src/core/range.h | |
parent | 668026125ae19b9bd800004ae9ec0510f20753ad (diff) |
every player within 1024 game units is drawn as target
Diffstat (limited to 'src/core/range.h')
-rw-r--r-- | src/core/range.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/core/range.h b/src/core/range.h new file mode 100644 index 0000000..5921e70 --- /dev/null +++ b/src/core/range.h @@ -0,0 +1,28 @@ +/* + core/core.h + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2 +*/ + +#ifndef __INCLUDED_CORE_RANGE_H__ +#define __INCLUDED_CORE_RANGE_H__ + +namespace core { + +namespace range { + /// maximal range + /** This is the distance of the frustum far plane, + * the maximal distance at which non-controlable entities can be drawn. + * the maximal radar range for controlable entities, + * and the maximal range to send entity updates + */ + const float max = 1024.0f; + + /// maximal visible range for controlable entities + const float visible = 512.0f; +} + +} + +#endif // __INCLUDED_CORE_RANGE_H__ + |