Quake 4 integrated with DoomRTX

This commit is contained in:
Justin Marshall
2026-05-09 22:10:40 -07:00
parent 8c4a087aa9
commit d37f87e493
436 changed files with 277587 additions and 10254 deletions
+12
View File
@@ -727,6 +727,9 @@ public:
virtual void UnCrop();
virtual void GetCardCaps( bool &oldCard, bool &nv10or20 );
virtual bool UploadImage( const char *imageName, const byte *data, int width, int height );
// Loads in a image.
virtual void LoadImage(const char* cname, byte** pic, int* width, int* height, ID_TIME_T* timestamp, bool makePowerOf2);
public:
// internal functions
idRenderSystemLocal( void );
@@ -1008,6 +1011,8 @@ const int GLS_SRCBLEND_ONE_MINUS_SRC_ALPHA = 0x00000006;
const int GLS_SRCBLEND_DST_ALPHA = 0x00000007;
const int GLS_SRCBLEND_ONE_MINUS_DST_ALPHA = 0x00000008;
const int GLS_SRCBLEND_ALPHA_SATURATE = 0x00000009;
const int GLS_SRCBLEND_SRC_COLOR = 0x0000000a;
const int GLS_SRCBLEND_ONE_MINUS_SRC_COLOR = 0x0000000b;
const int GLS_SRCBLEND_BITS = 0x0000000f;
const int GLS_DSTBLEND_ZERO = 0x0;
@@ -1020,6 +1025,13 @@ const int GLS_DSTBLEND_DST_ALPHA = 0x00000070;
const int GLS_DSTBLEND_ONE_MINUS_DST_ALPHA = 0x00000080;
const int GLS_DSTBLEND_BITS = 0x000000f0;
#ifndef GLS_DSTBLEND_DST_COLOR
#define GLS_DSTBLEND_DST_COLOR 0x00000090
#endif
#ifndef GLS_DSTBLEND_ONE_MINUS_DST_COLOR
#define GLS_DSTBLEND_ONE_MINUS_DST_COLOR 0x000000A0
#endif
// these masks are the inverse, meaning when set the glColorMask value will be 0,
// preventing that channel from being written