doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Functions
win_syscon.cpp File Reference
#include "../../idlib/precompiled.h"
#include <errno.h>
#include <float.h>
#include <fcntl.h>
#include <stdio.h>
#include <direct.h>
#include <io.h>
#include <conio.h>
#include "win_local.h"
#include "rc/AFEditor_resource.h"
#include "rc/doom_resource.h"

Go to the source code of this file.

Classes

struct  WinConData
 

Macros

#define COPY_ID   1
 
#define QUIT_ID   2
 
#define CLEAR_ID   3
 
#define ERRORBOX_ID   10
 
#define ERRORTEXT_ID   11
 
#define EDIT_ID   100
 
#define INPUT_ID   101
 
#define COMMAND_HISTORY   64
 
#define CONSOLE_BUFFER_SIZE   16384
 

Functions

LONG WINAPI InputLineWndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
void Sys_CreateConsole (void)
 
void Sys_DestroyConsole (void)
 
void Sys_ShowConsole (int visLevel, bool quitOnClose)
 
char * Sys_ConsoleInput (void)
 
void Conbuf_AppendText (const char *pMsg)
 
void Win_SetErrorText (const char *buf)
 

Macro Definition Documentation

#define CLEAR_ID   3

Definition at line 46 of file win_syscon.cpp.

#define COMMAND_HISTORY   64

Definition at line 54 of file win_syscon.cpp.

#define CONSOLE_BUFFER_SIZE   16384
#define COPY_ID   1

Definition at line 44 of file win_syscon.cpp.

#define EDIT_ID   100

Definition at line 51 of file win_syscon.cpp.

#define ERRORBOX_ID   10

Definition at line 48 of file win_syscon.cpp.

#define ERRORTEXT_ID   11

Definition at line 49 of file win_syscon.cpp.

#define INPUT_ID   101

Definition at line 52 of file win_syscon.cpp.

#define QUIT_ID   2

Definition at line 45 of file win_syscon.cpp.

Function Documentation

void Conbuf_AppendText ( const char *  pMsg)

Definition at line 474 of file win_syscon.cpp.

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

Definition at line 195 of file win_syscon.cpp.

char* Sys_ConsoleInput ( void  )

Definition at line 459 of file win_syscon.cpp.

void Sys_CreateConsole ( void  )

Definition at line 283 of file win_syscon.cpp.

void Sys_DestroyConsole ( void  )

Definition at line 419 of file win_syscon.cpp.

void Sys_ShowConsole ( int  visLevel,
bool  quitOnClose 
)

Definition at line 431 of file win_syscon.cpp.

void Win_SetErrorText ( const char *  buf)

Definition at line 543 of file win_syscon.cpp.