From 8e68a209fd09c57b33c95cb402d2da728c42505e Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sat, 30 Apr 2005 19:18:43 +0000 Subject: first try with guesing first try with guesing --- src/Hill.cxx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/Hill.cxx') 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); -- cgit v1.2.3