summaryrefslogtreecommitdiff
path: root/src/Hill.H
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-10-30 22:27:04 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-10-30 22:27:04 +0100
commitf8fb82ba705f6314d502b8efc8f03ecd16b8bed8 (patch)
treeb36fdf1b869751f5a0eabf762d2b9af8d8673a8c /src/Hill.H
parent3065ecc1e1c44770ecad9e4bf29c4b71f0a2bc52 (diff)
more reindent
Diffstat (limited to 'src/Hill.H')
-rw-r--r--src/Hill.H96
1 files changed, 48 insertions, 48 deletions
diff --git a/src/Hill.H b/src/Hill.H
index 37ab44a..2e95def 100644
--- a/src/Hill.H
+++ b/src/Hill.H
@@ -11,69 +11,69 @@
class Hill;
class Hill {
- private:
-
- public:
- typedef enum {
- DUPLICATE = 0x01,
- TRACK_POINT = 0x02,
- VISIBLE = 0x04,
- HIDDEN = 0x08
- } flags_t;
-
- double phi, lam;
- double height;
- double alph;
- double a_view;
- double a_nick;
- double dist;
- int x, y;
- int label_x, label_y;
- char *name;
- int flags;
-
- Hill(const char *n, double p, double l, double h);
-
- Hill(const Hill& h);
-
- Hill(int x_tmp, int y_tmp);
-
- ~Hill();
+ private:
+
+ public:
+ typedef enum {
+ DUPLICATE = 0x01,
+ TRACK_POINT = 0x02,
+ VISIBLE = 0x04,
+ HIDDEN = 0x08
+ } flags_t;
+
+ double phi, lam;
+ double height;
+ double alph;
+ double a_view;
+ double a_nick;
+ double dist;
+ int x, y;
+ int label_x, label_y;
+ char *name;
+ int flags;
+
+ Hill(const char *n, double p, double l, double h);
+
+ Hill(const Hill& h);
+
+ Hill(int x_tmp, int y_tmp);
+
+ ~Hill();
};
class Hills {
- private:
- int num, cap;
- Hill **m;
+ private:
+ int num, cap;
+ Hill **m;
- public:
- Hills();
+ public:
+ Hills();
- Hills(const Hills *h);
+ Hills(const Hills *h);
- ~Hills();
+ ~Hills();
- int load(const char *file);
+ int load(const char *file);
- void mark_duplicates(double dist);
+ void mark_duplicates(double dist);
- void add(Hill *m);
+ void add(Hill *m);
- void add(Hills *h);
+ void add(Hills *h);
- void sort_phi();
+ void sort_phi();
- void sort_name();
+ void sort_name();
- void sort();
-
- void clear();
+ void sort();
- void clobber();
+ void clear();
- int get_num();
-
- Hill *get(int n);
+ void clobber();
+
+ int get_num();
+
+ Hill *get(int n);
};
#endif