summaryrefslogtreecommitdiff
path: root/src/Hill.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2005-04-30 19:18:43 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2005-04-30 19:18:43 +0000
commit8e68a209fd09c57b33c95cb402d2da728c42505e (patch)
tree60c965ed02e524eece62d5e4d8b391af1e4f1d9e /src/Hill.cxx
parent4d45693c9f800f7d7bb8921da76f36bde5e00c43 (diff)
first try with guesing
first try with guesing
Diffstat (limited to 'src/Hill.cxx')
-rw-r--r--src/Hill.cxx14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/Hill.cxx b/src/Hill.cxx
index 2790712..550f925 100644
--- a/src/Hill.cxx
+++ b/src/Hill.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Hill.cxx,v 1.3 2005/04/13 21:58:31 hofmann Exp $"
+// "$Id: Hill.cxx,v 1.4 2005/04/30 21:18:43 hofmann Exp $"
//
// PSEditWidget routines.
//
@@ -38,6 +38,18 @@ Mountain::Mountain(const char *n, double p, double l, double h) {
next_visible = NULL;
}
+Mountain::Mountain(int x_tmp, int y_tmp) {
+ name = "";
+ phi = 0.0;
+ lam = 0.0;
+ height = 0.0;
+ alph = 0.0;
+ x = x_tmp;
+ y = y_tmp;
+ next = NULL;
+ next_visible = NULL;
+}
+
Mountain::~Mountain() {
if (next) {
delete(next);