29 #ifndef __WIN_LOCAL_H__
30 #define __WIN_LOCAL_H__
33 #include "../../renderer/wglext.h"
59 #define MAX_OSPATH 256
61 #define WINDOW_STYLE (WS_OVERLAPPED|WS_BORDER|WS_CAPTION|WS_VISIBLE | WS_THICKFRAME)
123 PIXELFORMATDESCRIPTOR
pfd;
135 unsigned short oldHardwareGamma[3][256];
GLsizei const GLfloat * value
HANDLE backgroundDownloadSemaphore
void Sys_CreateConsole(void)
bool windowClassRegistered
static idCVar win_outputEditString
CONST PIXELFORMATDESCRIPTOR UINT
PFNWGLGETPIXELFORMATATTRIBIVARBPROC wglGetPixelFormatAttribivARB
void IN_DeactivateMouseIfWindowed(void)
typedef HANDLE(WINAPI *PFNWGLCREATEBUFFERREGIONARBPROC)(HDC hDC
void Conbuf_AppendText(const char *msg)
static idCVar win_username
const int MAX_CRITICAL_SECTIONS
OSVERSIONINFOEX osversion
char * Sys_ConsoleInput(void)
void Win_SetErrorText(const char *text)
GLuint GLuint GLsizei GLenum type
static idCVar win_viewlog
PFNWGLCREATEPBUFFERARBPROC wglCreatePbufferARB
void Sys_DestroyConsole(void)
PFNWGLGETPIXELFORMATATTRIBFVARBPROC wglGetPixelFormatAttribfvARB
LONG WINAPI MainWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
PFNWGLDESTROYPBUFFERARBPROC wglDestroyPbufferARB
LPDIRECTINPUTDEVICE8 g_pMouse
HANDLE renderCompletedEvent
void IN_DeactivateMouse(void)
PFNWGLQUERYPBUFFERARBPROC wglQueryPbufferARB
static idCVar win_allowAltTab
void Sys_QueEvent(int time, sysEventType_t type, int value, int value2, int ptrLength, void *ptr)
static idCVar win_allowMultipleInstances
PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT
char * Sys_GetCurrentUser(void)
typedef HDC(WINAPI *PFNWGLGETCURRENTREADDCARBPROC)(void)
void IN_ActivateMouse(void)
static idCVar win_outputDebugString
PFNWGLGETEXTENSIONSSTRINGARBPROC wglGetExtensionsStringARB
LPDIRECTINPUTDEVICE8 g_pKeyboard
PFNWGLGETPBUFFERDCARBPROC wglGetPbufferDCARB
PFNWGLRELEASETEXIMAGEARBPROC wglReleaseTexImageARB
HANDLE renderThreadHandle
PIXELFORMATDESCRIPTOR pfd
static idCVar win_timerUpdate
PFNWGLSETPBUFFERATTRIBARBPROC wglSetPbufferAttribARB
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
PFNWGLRELEASEPBUFFERDCARBPROC wglReleasePbufferDCARB
HANDLE renderCommandsEvent
PFNWGLBINDTEXIMAGEARBPROC wglBindTexImageARB
void DisableTaskKeys(BOOL bDisable, BOOL bBeep, BOOL bTaskMgr)
unsigned long renderThreadId
const char *WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC(HDC hdc)
cpuid_t Sys_GetCPUId(void)
static idCVar sys_cpustring
PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB
static idCVar win_notaskkeys