X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Factivity.c;h=25e2a5aba4587f4c91b9ac1e095d325bafbe9ee2;hb=a33db24c701fe232639d904f934f68818393f95e;hp=668d10a95f6bf824a2e579174a5dfbbbbb1435f4;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/ioncore/activity.c b/ioncore/activity.c index 668d10a..25e2a5a 100644 --- a/ioncore/activity.c +++ b/ioncore/activity.c @@ -3,10 +3,7 @@ * * Copyright (c) Tuomo Valkonen 1999-2007. * - * Ion is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. + * See the included file LICENSE for details. */ #include @@ -96,8 +93,8 @@ bool region_set_activity(WRegion *reg, int sp) /*EXTL_DOC - * Set activity flag of \var{reg}. The \var{how} parameter most be - * one of (set/unset/toggle). + * Set activity flag of \var{reg}. The \var{how} parameter must be + * one of \codestr{set}, \codestr{unset} or \codestr{toggle}. */ EXTL_EXPORT_AS(WRegion, set_activity) bool region_set_activity_extl(WRegion *reg, const char *how) @@ -137,7 +134,7 @@ bool ioncore_activity_i(ExtlFn iterfn) /*EXTL_DOC - * Return first regio non activity list. + * Returns first region on activity list. */ EXTL_SAFE EXTL_EXPORT @@ -149,6 +146,12 @@ WRegion *ioncore_activity_first() } +ObjList *ioncore_activity_list() +{ + return actlist; +} + + /*EXTL_DOC * Go to first region on activity list. */