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/star.h')
-rw-r--r--src/game/star.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/game/star.h b/src/game/star.h
index ef33ad5..e65a9fb 100644
--- a/src/game/star.h
+++ b/src/game/star.h
@@ -1,4 +1,5 @@
-/* star.h
+/*
+ game/star.h
This file is part of the Osirion project and is distributed under
the terms and conditions of the GNU General Public License version 2
*/
@@ -6,24 +7,28 @@
#ifndef __INCLUDED_STAR_H__
#define __INCLUDED_STAR_H__
-// C++ headers
-#include <string>
-
// project headers
#include "common/vector3f.h"
#include "common/color.h"
+// C++ headers
+#include <string>
+
+namespace game {
+
/// A star, that shines so bright
class Star {
public:
Star();
~Star();
- Vector3f location;
- Color color;
+ common::Vector3f location;
+ common::Color color;
float radius;
std::string name;
};
+} // namespace game
+
#endif // __INCLUDED_STAR_H__