/*
-Deep Runner - 6dof shooter game for the SGI O2.
+RetroRay - integrated standalone vintage modeller/renderer
Copyright (C) 2023 John Tsiombikas <nuclear@mutantstargoat.com>
This program is free software: you can redistribute it and/or modify
GAW_LIGHT2,
GAW_LIGHT3,
GAW_TEXTURE_1D,
- GAW_TEXTURE_2D
+ GAW_TEXTURE_2D,
+ GAW_POLYGON_OFFSET
};
enum {
};
void gaw_viewport(int x, int y, int w, int h);
+void gaw_get_viewport(int *vp);
void gaw_matrix_mode(int mode);
void gaw_load_identity(void);
void gaw_blend_func(int src, int dest);
void gaw_alpha_func(int func, float ref);
+void gaw_zoffset(float offs);
+
void gaw_clear_color(float r, float g, float b, float a);
void gaw_clear(unsigned int flags);
void gaw_depth_mask(int mask);
void gaw_texcoord2f(float u, float v);
void gaw_vertex2f(float x, float y);
void gaw_vertex3f(float x, float y, float z);
+void gaw_vertex4f(float x, float y, float z, float w);
void gaw_rect(float x1, float y1, float x2, float y2);