summaryrefslogtreecommitdiff
path: root/src/mslhand.h
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2001-07-01 00:55:22 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:09:04 +0200
commit2186d5f3f95cd74a070a490d899291648d58667a (patch)
tree55241a1afa3e1a22e0b6593a8dead0b703800f44 /src/mslhand.h
parent218ca90543758a20ac326e444ca0643174ca7384 (diff)
Initial revision
Diffstat (limited to 'src/mslhand.h')
-rw-r--r--src/mslhand.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mslhand.h b/src/mslhand.h
new file mode 100644
index 0000000..bb08334
--- /dev/null
+++ b/src/mslhand.h
@@ -0,0 +1,28 @@
+#ifndef _included_mslhand_h_
+#define _included_mslhand_h_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef enum MSL_Section
+{
+ MSLS_COMPILEDIN,
+ MSLS_CHARACTER,
+ MSLS_ENVIRONMENT,
+
+ MSLS_MAXSECTIONS
+
+} MSL_SECTION;
+
+#define MSL_OVERFLOW (-1)
+
+int GetNextMSLEntry(MSL_SECTION, unsigned int num_shapes, int auto_delete);
+
+void FlushMSLSection(MSL_SECTION);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* !_included_mslhand_h_ */