add missing tools/pngdump to the repo
[gbajam22] / src / xgl.h
index 979de5f..00c8efd 100644 (file)
--- a/src/xgl.h
+++ b/src/xgl.h
@@ -18,6 +18,8 @@ along with this program.  If not, see <https://www.gnu.org/licenses/>.
 #ifndef XGL_H_
 #define XGL_H_
 
+#include <stdint.h>
+
 #define X_PI   0x3243f
 #define X_2PI  0x6487f
 #define X_HPI  0x19220
@@ -64,6 +66,8 @@ void xgl_scale(int32_t x, int32_t y, int32_t z);
 void xgl_draw(int prim, const struct xvertex *varr, int vcount);
 void xgl_transform(const struct xvertex *vin, int *x, int *y);
 
+void xgl_index(int c);
+
 void xgl_xyzzy(void);
 
 int xgl_clip_near(struct xvertex *vout, int *voutnum, struct xvertex *vin, int vnum);