aboutsummaryrefslogtreecommitdiffstats
path: root/make/joal-constants.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/joal-constants.cfg')
-rwxr-xr-xmake/joal-constants.cfg12
1 files changed, 12 insertions, 0 deletions
diff --git a/make/joal-constants.cfg b/make/joal-constants.cfg
new file mode 100755
index 0000000..9abd941
--- /dev/null
+++ b/make/joal-constants.cfg
@@ -0,0 +1,12 @@
+# This .cfg file is used to generate the ALConstants interface.
+Include joal-common.cfg
+
+Style InterfaceOnly
+JavaClass ALConstants
+
+# Factor out the OpenAL constants into their own interface
+IgnoreNot ^AL_.+
+
+# Add back in the constants the PCPP can't currently parse
+# (FIXME: once it does, these lines will have to be removed)
+CustomJavaCode ALConstants public static final int AL_INVALID = -1;