aboutsummaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/dat.h b/dat.h
index 8e42349..352a394 100644
--- a/dat.h
+++ b/dat.h
@@ -35,12 +35,15 @@ struct HUD
{
Point2 p;
HUDWidget *widgets;
+
+ void (*addwidget)(HUD*, Point2, char*, ...);
};
struct HUDWidget
{
Point2 p;
char *fmt;
- va_arg va;
+ void *args;
+ int nargs;
HUDWidget *next;
};