From 8835cb258b052a62bacbd1ff9b8771c1fe7adaed Mon Sep 17 00:00:00 2001 From: Polonkai Gergely Date: Thu, 29 Mar 2012 18:26:19 +0000 Subject: [PATCH] Added documentation and planes field to wmudPlanet Signed-off-by: Gergely POLONKAI (W00d5t0ck) --- wmud/world.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wmud/world.h b/wmud/world.h index 9b7b735..6029e0e 100644 --- a/wmud/world.h +++ b/wmud/world.h @@ -34,9 +34,18 @@ typedef struct _wmudPlane { gchar *name; } wmudPlane; +/** + * wmudPlanet: + * @id: The database ID of the planet + * @name: The name of the planet + * @planes: A #GSList of planes this planet is connected to. The data of this + * list should never be freed, only the #GSList itself with + * g_slist_free() + */ typedef struct _wmudPlanet { guint id; gchar *name; + GSList *planes; } wmudPlanet; typedef struct _wmudArea {