*/
// vid.h -- video driver defs
-#define VID_CBITS 6
-#define VID_GRADES (1 << VID_CBITS)
-
-// a pixel can be one, two, or four bytes
-typedef byte pixel_t;
-
typedef struct vrect_s
{
int x,y,width,height;
typedef struct
{
- unsigned width;
- unsigned height;
- float aspect; // width / height -- < 0 is taller than wide
- int recalc_refdef; // if true, recalc vid-based stuff
- unsigned conwidth;
- unsigned conheight;
+ int width;
+ int height;
+ int recalc_refdef; // if true, recalc vid-based stuff
+ int conwidth;
+ int conheight;
} viddef_t;
extern viddef_t vid; // global video state
void GL_Init (void);
-void VID_CheckMultitexture(void);
-void VID_CheckCVA(void);
+void VID_CheckExtensions(void);
void VID_Init (void);
// Called at startup