From 6dce9b9515265d938a672a0817fd293015c77551 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 4 Sep 2005 12:14:54 +0200 Subject: Make Hill flags part of Hill class --- src/Hill.H | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/Hill.H') diff --git a/src/Hill.H b/src/Hill.H index b3edf28..169208b 100644 --- a/src/Hill.H +++ b/src/Hill.H @@ -23,16 +23,18 @@ #define HILL_H -#define HILL_DUPLICATE 0x01 -#define HILL_TRACK_POINT 0x02 -#define HILL_VISIBLE 0x04 - class Hill; class Hill { private: public: + typedef enum { + DUPLICATE = 0x01, + TRACK_POINT = 0x02, + VISIBLE = 0x04 + } flags_t; + double phi, lam; double height; double alph; -- cgit v1.2.3