#include "../qcommon/qcommon.h"#include "winquake.h"#include "resource.h"#include <errno.h>#include <float.h>#include <fcntl.h>#include <stdio.h>#include <direct.h>#include <io.h>#include <conio.h>#include "../win32/conproc.h"Go to the source code of this file.
Macros | |
| #define | MINIMUM_WIN_MEMORY 0x0a00000 |
| #define | MAXIMUM_WIN_MEMORY 0x1000000 |
| #define | MAX_NUM_ARGVS 128 |
Typedefs | |
| typedef BOOL(WINAPI * | SetProcessDPIAwareFunc) () |
| typedef HRESULT(WINAPI * | SetProcessDPIAwarenessFunc) (dpi_awareness value) |
Enumerations | |
| enum | dpi_awareness { dpi_unaware = 0, dpi_system_aware = 1, dpi_monitor_aware = 2 } |
Functions | |
| void | Sys_Error (char *error,...) |
| void | Sys_Quit (void) |
| void | WinError (void) |
| char * | Sys_ScanForCD (void) |
| void | Sys_CopyProtect (void) |
| void | Sys_SetDPIAwareness (void) |
| void | Sys_Init (void) |
| char * | Sys_ConsoleInput (void) |
| void | Sys_ConsoleOutput (char *string) |
| void | Sys_SendKeyEvents (void) |
| char * | Sys_GetClipboardData (void) |
| void | Sys_AppActivate (void) |
| void | Sys_UnloadGame (void) |
| void * | Sys_GetGameAPI (void *parms) |
| void | ParseCommandLine (LPSTR lpCmdLine) |
| int WINAPI | WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) |
Variables | |
| qboolean | s_win95 |
| int | starttime |
| qboolean | ActiveApp |
| qboolean | Minimized |
| static HANDLE | hinput |
| static HANDLE | houtput |
| unsigned | sys_msg_time |
| unsigned | sys_frame_time |
| static HANDLE | qwclsemaphore |
| int | argc |
| char * | argv [MAX_NUM_ARGVS] |
| static char | console_text [256] |
| static int | console_textlen |
| static HINSTANCE | game_library |
| HINSTANCE | global_hInstance |
| typedef HRESULT(WINAPI * SetProcessDPIAwarenessFunc) (dpi_awareness value) |
| enum dpi_awareness |
| void ParseCommandLine | ( | LPSTR | lpCmdLine | ) |
Definition at line 467 of file sys_win.c.
Referenced by CL_ConnectionlessPacket().
| char* Sys_ConsoleInput | ( | void | ) |
| void Sys_ConsoleOutput | ( | char * | string | ) |
| void Sys_Error | ( | char * | error, |
| ... | |||
| ) |
| char* Sys_GetClipboardData | ( | void | ) |
| char* Sys_ScanForCD | ( | void | ) |
Definition at line 406 of file sys_win.c.
Referenced by CL_PrepRefresh(), CL_RegisterSounds(), CL_SendCommand(), CL_Skins_f(), and Key_GetKey().
Definition at line 212 of file sys_win.c.
Referenced by Sys_Init().
Definition at line 488 of file sys_win.c.
Referenced by SV_ShutdownGameProgs(), and Sys_GetGameAPI().
| qboolean ActiveApp |
Definition at line 43 of file sys_win.c.
Referenced by AppActivate(), IN_Move(), MainWndProc(), and WinMain().
| int argc |
Definition at line 55 of file sys_win.c.
Referenced by Cbuf_AddLateCommands(), CL_Setenv_f(), COM_InitArgv(), InitConProc(), ParseCommandLine(), Qcommon_Init(), Sys_Init(), and WinMain().
| char* argv[MAX_NUM_ARGVS] |
Definition at line 56 of file sys_win.c.
Referenced by COM_InitArgv(), InitConProc(), ParseCommandLine(), Qcommon_Init(), Sys_Init(), and WinMain().
|
static |
Definition at line 281 of file sys_win.c.
Referenced by Sys_ConsoleInput(), and Sys_ConsoleOutput().
|
static |
Definition at line 282 of file sys_win.c.
Referenced by Sys_ConsoleInput(), and Sys_ConsoleOutput().
|
static |
Definition at line 481 of file sys_win.c.
Referenced by Sys_GetGameAPI(), and Sys_UnloadGame().
| HINSTANCE global_hInstance |
Definition at line 633 of file sys_win.c.
Referenced by VID_LoadRefresh(), and WinMain().
|
static |
Definition at line 46 of file sys_win.c.
Referenced by Sys_ConsoleInput(), and Sys_Init().
|
static |
Definition at line 46 of file sys_win.c.
Referenced by Sys_ConsoleInput(), Sys_ConsoleOutput(), and Sys_Init().
| qboolean Minimized |
Definition at line 44 of file sys_win.c.
Referenced by AppActivate(), and WinMain().
|
static |
Definition at line 52 of file sys_win.c.
Referenced by Sys_Error(), and Sys_Quit().
| qboolean s_win95 |
Definition at line 40 of file sys_win.c.
Referenced by Sys_Init(), WIN_DisableAltTab(), and WIN_EnableAltTab().
| int starttime |
Definition at line 42 of file sys_win.c.
Referenced by CL_FlyEffect().
| unsigned sys_frame_time |
Definition at line 49 of file sys_win.c.
Referenced by CL_CreateCmd(), CL_KeyState(), KeyDown(), and Sys_SendKeyEvents().
| unsigned sys_msg_time |
Definition at line 48 of file sys_win.c.
Referenced by IN_MouseEvent(), MainWndProc(), Sys_SendKeyEvents(), and WinMain().