FTEQW
Documentation of the FTE engine source tree.
winquake.h File Reference

Go to the source code of this file.

Functions

void GLVID_Crashed (void)
 
LONG CDAudio_MessageHandler (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
 LPITEMIDLIST (STDAPICALLTYPE *pSHBrowseForFolderW)(LPBROWSEINFOW lpbi)
 
 BOOL (STDAPICALLTYPE *pSHGetPathFromIDListW)(LPCITEMIDLIST pidl
 
void INS_UpdateGrabs (int fullscreen, int activeapp)
 
void INS_RestoreOriginalMouseState (void)
 
void INS_SetQuakeMouseState (void)
 
void INS_MouseEvent (int mstate)
 
void INS_RawInput_Read (HANDLE in_device_handle)
 
voidWIN_CreateCursor (const qbyte *imagedata, int width, int height, uploadfmt_t format, float hotx, float hoty, float scale)
 
qboolean WIN_SetCursor (void *cursor)
 
void WIN_DestroyCursor (void *cursor)
 
void WIN_WindowCreated (HWND window)
 
void INS_UpdateClipCursor (void)
 
void CenterWindow (HWND hWndCenter, int width, int height, BOOL lefttopjustify)
 
void INS_TranslateKeyEvent (WPARAM wParam, LPARAM lParam, qboolean down, int pnum, qboolean genkeystate)
 
int INS_AppCommand (LPARAM lParam)
 
void INS_DeviceChanged (void *ctx, void *data, size_t a, size_t b)
 
void S_BlockSound (void)
 
void S_UnblockSound (void)
 
void VID_SetDefaultMode (void)
 

Variables

HINSTANCE global_hInstance
 
int global_nCmdShow
 
HWND sys_parentwindow
 
unsigned int sys_parentleft
 
unsigned int sys_parenttop
 
unsigned int sys_parentwidth
 
unsigned int sys_parentheight
 
LPWSTR pszPath
 
LPWSTR int csidl
 
LPWSTR int BOOL fCreate
 
PNOTIFYICONDATAW lpData
 
HWND mainwindow
 
qboolean Minimized
 
qboolean WinNT
 
qboolean winsock_lib_initialized
 
int window_center_x
 
int window_center_y
 
RECT window_rect
 
qboolean mouseinitialized
 
HCURSOR hArrowCursor
 
HCURSOR hCustomCursor
 

Function Documentation

◆ BOOL()

BOOL ( STDAPICALLTYPE *  pSHGetPathFromIDListW)

◆ CDAudio_MessageHandler()

LONG CDAudio_MessageHandler ( HWND  hWnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

◆ CenterWindow()

void CenterWindow ( HWND  hWndCenter,
int  width,
int  height,
BOOL  lefttopjustify 
)

◆ GLVID_Crashed()

void GLVID_Crashed ( void  )

◆ INS_AppCommand()

int INS_AppCommand ( LPARAM  lParam)

◆ INS_DeviceChanged()

void INS_DeviceChanged ( void ctx,
void data,
size_t  a,
size_t  b 
)

◆ INS_MouseEvent()

void INS_MouseEvent ( int  mstate)

◆ INS_RawInput_Read()

void INS_RawInput_Read ( HANDLE  in_device_handle)

◆ INS_RestoreOriginalMouseState()

void INS_RestoreOriginalMouseState ( void  )

◆ INS_SetQuakeMouseState()

void INS_SetQuakeMouseState ( void  )

◆ INS_TranslateKeyEvent()

void INS_TranslateKeyEvent ( WPARAM  wParam,
LPARAM  lParam,
qboolean  down,
int  pnum,
qboolean  genkeystate 
)

◆ INS_UpdateClipCursor()

void INS_UpdateClipCursor ( void  )

◆ INS_UpdateGrabs()

void INS_UpdateGrabs ( int  fullscreen,
int  activeapp 
)

◆ LPITEMIDLIST()

LPITEMIDLIST ( STDAPICALLTYPE *  pSHBrowseForFolderW)

◆ S_BlockSound()

void S_BlockSound ( void  )

◆ S_UnblockSound()

void S_UnblockSound ( void  )

◆ VID_SetDefaultMode()

void VID_SetDefaultMode ( void  )

◆ WIN_CreateCursor()

void * WIN_CreateCursor ( const qbyte imagedata,
int  width,
int  height,
uploadfmt_t  format,
float  hotx,
float  hoty,
float  scale 
)

◆ WIN_DestroyCursor()

void WIN_DestroyCursor ( void cursor)

◆ WIN_SetCursor()

qboolean WIN_SetCursor ( void cursor)

◆ WIN_WindowCreated()

void WIN_WindowCreated ( HWND  window)

Variable Documentation

◆ csidl

LPWSTR int csidl

◆ fCreate

LPWSTR int BOOL fCreate

◆ global_hInstance

HINSTANCE global_hInstance
extern

◆ global_nCmdShow

int global_nCmdShow
extern

◆ hArrowCursor

HCURSOR hArrowCursor
extern

◆ hCustomCursor

HCURSOR hCustomCursor

◆ lpData

PNOTIFYICONDATAW lpData

◆ mainwindow

HWND mainwindow
extern

◆ Minimized

qboolean Minimized
extern

◆ mouseinitialized

qboolean mouseinitialized
extern

◆ pszPath

LPWSTR pszPath

◆ sys_parentheight

unsigned int sys_parentheight
extern

◆ sys_parentleft

unsigned int sys_parentleft
extern

◆ sys_parenttop

unsigned int sys_parenttop
extern

◆ sys_parentwidth

unsigned int sys_parentwidth
extern

◆ sys_parentwindow

HWND sys_parentwindow
extern

◆ window_center_x

int window_center_x
extern

◆ window_center_y

int window_center_y

◆ window_rect

RECT window_rect
extern

◆ WinNT

qboolean WinNT
extern

◆ winsock_lib_initialized

qboolean winsock_lib_initialized
extern