diff options
author | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-06-03 22:55:43 +0000 |
---|---|---|
committer | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-06-03 22:55:43 +0000 |
commit | 33a948139cb6edffeb84cb6234ee9aba90bfda3c (patch) | |
tree | 4375df350968b5184e99bf4669577f29d6c905b0 /src/render-text.h | |
parent | 0cece1620a0a9132f98d426b35bdf8b26b3974c1 (diff) |
Text rendering framework (foundation)
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@68 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/render-text.h')
-rw-r--r-- | src/render-text.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/render-text.h b/src/render-text.h new file mode 100644 index 0000000..243dfb0 --- /dev/null +++ b/src/render-text.h @@ -0,0 +1,27 @@ +/* + * render-text.h + * + * Simple text rendering + * + * (c) 2008 Thomas White <taw27@cam.ac.uk> + * + * thrust3d - a silly game + * + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifndef RENDERTEXT_H +#define RENDERTEXT_H + +#include "types.h" + +#include <glew.h> + +extern void render_text_setup(RenderContext *r); +extern void render_text_write(GLfloat x, GLfloat y, const char *text, RenderContext *r); + +#endif /* RENDERTEXT_H */ + |