From f8baa5ff187e1c33b6b19535d1f7aa9e6141f4c9 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 21 Aug 2013 23:36:09 +0200 Subject: [PATCH] Added all aspects --- src/gradix.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/gradix.c b/src/gradix.c index 33a2f89..9830fd5 100644 --- a/src/gradix.c +++ b/src/gradix.c @@ -63,7 +63,7 @@ const char *signName[] = { typedef struct { gchar *name; guint size; - guint orbis; + guint orbModifier; gboolean harmonic; gboolean major; } aspectData_t; @@ -76,7 +76,18 @@ typedef struct { * opposition - 180, 8 */ const aspectData_t aspectData[] = { - { NULL, 0, 0.0, FALSE, FALSE } + // Name Size Orb Harmonic Major + { "Conjuction", 0, 0, TRUE, TRUE }, + { "Opposition", 180, 0, TRUE, TRUE }, + { "Trine", 120, 0, TRUE, TRUE }, + { "Square", 90, 0, FALSE, TRUE }, + { "Sextile", 60, 1, TRUE, TRUE }, + { "Quincunx", 150, 2, FALSE, FALSE }, + { "Semi-sextile", 30, 2, TRUE, FALSE }, + { "Semi-square", 45, 2, FALSE, FALSE }, + { "Sesqui-square", 135, 2, FALSE, FALSE }, + { "Quintile", 72, 3, TRUE, FALSE }, + { "Bi-quintile", 144, 3, TRUE, FALSE } }; #define ADD_SIGN(ht, v, s, e, t) (v) = g_new0(signData_t, 1); \