#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 |
Functions | |
void | Sys_Error (char *error,...) |
void | Sys_Quit (void) |
void | WinError (void) |
char * | Sys_ScanForCD (void) |
void | Sys_CopyProtect (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 |
int | 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 |
void ParseCommandLine | ( | LPSTR | lpCmdLine | ) |
Definition at line 437 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 376 of file sys_win.c.
Referenced by CL_PrepRefresh(), CL_RegisterSounds(), CL_SendCommand(), CL_Skins_f(), and Key_GetKey().
Definition at line 458 of file sys_win.c.
Referenced by SV_ShutdownGameProgs(), and Sys_GetGameAPI().
int ActiveApp |
Definition at line 42 of file sys_win.c.
Referenced by AppActivate(), IN_Move(), and MainWndProc().
int argc |
Definition at line 54 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 55 of file sys_win.c.
Referenced by COM_InitArgv(), InitConProc(), ParseCommandLine(), Qcommon_Init(), Sys_Init(), and WinMain().
|
static |
Definition at line 257 of file sys_win.c.
Referenced by Sys_ConsoleInput(), and Sys_ConsoleOutput().
|
static |
Definition at line 258 of file sys_win.c.
Referenced by Sys_ConsoleInput(), and Sys_ConsoleOutput().
|
static |
Definition at line 451 of file sys_win.c.
Referenced by Sys_GetGameAPI(), and Sys_UnloadGame().
HINSTANCE global_hInstance |
Definition at line 594 of file sys_win.c.
Referenced by VID_LoadRefresh(), and WinMain().
|
static |
Definition at line 45 of file sys_win.c.
Referenced by Sys_ConsoleInput(), and Sys_Init().
|
static |
Definition at line 45 of file sys_win.c.
Referenced by Sys_ConsoleInput(), Sys_ConsoleOutput(), and Sys_Init().
qboolean Minimized |
Definition at line 43 of file sys_win.c.
Referenced by AppActivate(), and WinMain().
|
static |
Definition at line 51 of file sys_win.c.
Referenced by Sys_Error(), Sys_Init(), and Sys_Quit().
qboolean s_win95 |
Definition at line 39 of file sys_win.c.
Referenced by Sys_Init(), WIN_DisableAltTab(), and WIN_EnableAltTab().
int starttime |
Definition at line 41 of file sys_win.c.
Referenced by CL_FlyEffect().
unsigned sys_frame_time |
Definition at line 48 of file sys_win.c.
Referenced by CL_CreateCmd(), CL_KeyState(), KeyDown(), and Sys_SendKeyEvents().
unsigned sys_msg_time |
Definition at line 47 of file sys_win.c.
Referenced by IN_MouseEvent(), MainWndProc(), Sys_SendKeyEvents(), and WinMain().