aboutsummaryrefslogtreecommitdiff
path: root/src/texture.h
diff options
context:
space:
mode:
authortaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-04-16 16:57:56 +0000
committertaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-04-16 16:57:56 +0000
commitf0a0118393a3d121bcb83047b5b9ac95eb0621ba (patch)
treecfc4f3f7955b4829317fa9b7865e328ccabfb129 /src/texture.h
Initial import
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@1 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/texture.h')
-rw-r--r--src/texture.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/texture.h b/src/texture.h
new file mode 100644
index 0000000..df4091e
--- /dev/null
+++ b/src/texture.h
@@ -0,0 +1,26 @@
+/*
+ * texture.h
+ *
+ * Handle textures
+ *
+ * (c) 2008 Thomas White <taw27@cam.ac.uk>
+ *
+ * thrust3d - a silly game
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifndef TEXTURE_H
+#define TEXTURE_H
+
+#include "types.h"
+
+extern void texture_load(RenderContext *ctx, const char *name);
+extern Texture *texture_lookup(RenderContext *ctx, const char *name);
+extern void texture_free_all(RenderContext *ctx);
+
+#endif /* TEXTURE_H */
+