Abstract all references to the future array (outside of events.c) away.
[super-star-trek.git] / src / sst.h
index e9bb3b2e68494474acb86acc5ffe0c22d0a1f915..8e6e7c458cce3670ebda4916b1d2f27a1e88711f 100644 (file)
--- a/src/sst.h
+++ b/src/sst.h
@@ -164,6 +164,16 @@ typedef struct {
 #define NEVENTS (12)
 #endif /* EXPERIMENTAL */
 
+/*
+ * abstract out the event handling -- underlying data structures will change
+ * when we implement stateful events
+ */
+extern void unschedule(int);
+extern int is_scheduled(int);
+extern void schedule(int, double);
+extern void postpone(int, double);
+extern double scheduled(int);
+
 #ifdef EXPERIMENTAL
 #define        MAXDISTR        5       /* maximum concurrent distress calls */
 #endif /* EXPERIMENTAL */