Create a DEFAULT_ALTITUDE macro

It is set to 280.0, which is roughly the average altitude of dry land
This commit is contained in:
2014-08-17 09:36:30 +02:00
parent b61cd26944
commit 512897cfd3
4 changed files with 6 additions and 4 deletions

View File

@@ -11,6 +11,7 @@
#include <math.h>
#include <string.h>
#include "config.h"
#include "ag-db.h"
#include "ag-chart.h"
#include "placidus.h"
@@ -1262,7 +1263,7 @@ AgChart *ag_chart_load_from_placidus_file(GFile *file,
chart = ag_chart_new_full(
timestamp,
real_long, real_lat, 280.0,
real_long, real_lat, DEFAULT_ALTITUDE,
GSWE_HOUSE_SYSTEM_PLACIDUS
);