aboutsummaryrefslogtreecommitdiff
path: root/smelt/glfw/smelt_config.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-10-28 16:35:21 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-10-28 16:35:21 +0800
commit0900cc583cc5e51b7c6b378de93cca29e11cb0e9 (patch)
tree47625b45ad1d4d63eaa59b2414f89fbfda33d035 /smelt/glfw/smelt_config.hpp
parent6206029f2d0af3ef76a0a61ef024ca758307ba19 (diff)
downloadSMELT-0900cc583cc5e51b7c6b378de93cca29e11cb0e9.tar.xz
Add the GLFW port, still using OpenGL 2.1 though.
And a more detailed readme.
Diffstat (limited to 'smelt/glfw/smelt_config.hpp')
-rw-r--r--smelt/glfw/smelt_config.hpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/smelt/glfw/smelt_config.hpp b/smelt/glfw/smelt_config.hpp
new file mode 100644
index 0000000..3d8c2ca
--- /dev/null
+++ b/smelt/glfw/smelt_config.hpp
@@ -0,0 +1,30 @@
+// -*- C++ -*-
+/*
+ * Simple MultimEdia LiTerator(SMELT)
+ * by Chris Xiong 2015
+ * Configuration header for SDL version
+ *
+ * Modify this header according to your own requirements.
+ *
+ */
+
+/*
+ * Maximum audio channels.
+ * (How many audio can be played simultaneously?)
+ */
+#define SRC_MAX 128
+
+/*
+ * Client-side vertex buffer size.
+ */
+#define VERTEX_BUFFER_SIZE 4000
+
+/*
+ * Uncomment this to build a "dumb" version with no audio routines.
+ */
+//#define ENABLE_DUMB
+
+/*
+ * Undefine this to disable ogg support.
+ */
+#define ENABLE_OGG_SUPPORT