29 #include "../../idlib/precompiled.h"
32 #include "../../sys/win32/common_resource.h"
39 static bool CheckPow2(
int Num)
43 if ((Num & 1) && (Num != 1))
56 static BOOL CALLBACK RBFProc(HWND hwndDlg,
UINT message, WPARAM wParam,
LPARAM lParam)
67 switch (LOWORD(wParam))
81 if (!CheckPow2(width) || !CheckPow2(height))
86 DestroyWindow(hwndDlg);
93 DestroyWindow(hwndDlg);
CONST PIXELFORMATDESCRIPTOR UINT
idCVar rbfg_DefaultWidth("rbfg_DefaultWidth","0", 0,"")
virtual void BufferCommandText(cmdExecution_t exec, const char *text)=0
void Com_WriteConfigToFile(const char *filename)
void SetInteger(const int value)
int GetInteger(void) const
GLenum GLsizei GLsizei height
idCVar rbfg_DefaultHeight("rbfg_DefaultHeight","0", 0,"")
void DoRBFDialog(const char *FileName)
const char * c_str(void) const
char * va(const char *fmt,...)
#define IDD_RENDERBUMPFLAT
void Sys_GrabMouseCursor(bool)