mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Updated
This commit is contained in:
parent
9f669cff1c
commit
4a582cfbb5
7 changed files with 19 additions and 3 deletions
|
@ -48,6 +48,8 @@ typedef struct {
|
|||
void (*SavePerformanceCounters)();
|
||||
|
||||
void (*Set2DWindow)(int x, int y, int w, int h, float left, float right, float bottom, float top, float n, float f);
|
||||
void (*DrawStretchPic) ( float x, float y, float w, float h,
|
||||
float s1, float t1, float s2, float t2, qhandle_t hShader ); // 0 = white
|
||||
void (*DrawTilePic)(float x, float y, float w, float h, qhandle_t hShader);
|
||||
void (*DrawTilePicOffset)(float x, float y, float w, float h, qhandle_t hShader, int offsetX, int offsetY);
|
||||
void (*DrawTrianglePic)(vec2_t* points, vec2_t* texCoords, qhandle_t hShader);
|
||||
|
|
|
@ -48,3 +48,15 @@ typedef enum {
|
|||
viewlensflare = (1 << 1),
|
||||
additive = (1 << 2)
|
||||
} dlighttype_t;
|
||||
|
||||
#if !defined _WIN32
|
||||
|
||||
#define _3DFX_DRIVER_NAME "libMesaVoodooGL.so.3.1"
|
||||
#define OPENGL_DRIVER_NAME "libGL.so"
|
||||
|
||||
#else
|
||||
|
||||
#define _3DFX_DRIVER_NAME "3dfxvgl"
|
||||
#define OPENGL_DRIVER_NAME "opengl32"
|
||||
|
||||
#endif // !defined _WIN32
|
||||
|
|
|
@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define REF_API_VERSION 8
|
||||
#define REF_API_VERSION 14
|
||||
|
||||
//
|
||||
// these are the functions exported by the refresh module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue