X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fgaw%2Fgaw.h;h=e80c6236e7febcbfe36a50896d9e9f333545cade;hb=15a4548ff09afb37dd33786cafd50b060a64f840;hp=37d5ca04dd6c3dd391f2cb78fcf19c3fd266ca69;hpb=7fccf8b3543c8cdb993252f0cf9a6b9ed826408e;p=retroray diff --git a/src/gaw/gaw.h b/src/gaw/gaw.h index 37d5ca0..e80c623 100644 --- a/src/gaw/gaw.h +++ b/src/gaw/gaw.h @@ -1,5 +1,5 @@ /* -Deep Runner - 6dof shooter game for the SGI O2. +RetroRay - integrated standalone vintage modeller/renderer Copyright (C) 2023 John Tsiombikas This program is free software: you can redistribute it and/or modify @@ -58,7 +58,8 @@ enum { GAW_LIGHT2, GAW_LIGHT3, GAW_TEXTURE_1D, - GAW_TEXTURE_2D + GAW_TEXTURE_2D, + GAW_POLYGON_OFFSET }; enum { @@ -97,6 +98,7 @@ 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); @@ -123,6 +125,8 @@ void gaw_depth_func(int func); 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); @@ -144,6 +148,7 @@ void gaw_texcoord1f(float u); 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);