Odamex
Setting the Standard in Multiplayer Doom
textscreen/txt_main.h File Reference

Go to the source code of this file.

Enumerations

enum  txt_color_t {
  TXT_COLOR_BLACK, TXT_COLOR_BLUE, TXT_COLOR_GREEN, TXT_COLOR_CYAN,
  TXT_COLOR_RED, TXT_COLOR_MAGENTA, TXT_COLOR_BROWN, TXT_COLOR_GREY,
  TXT_COLOR_DARK_GREY, TXT_COLOR_BRIGHT_BLUE, TXT_COLOR_BRIGHT_GREEN, TXT_COLOR_BRIGHT_CYAN,
  TXT_COLOR_BRIGHT_RED, TXT_COLOR_BRIGHT_MAGENTA, TXT_COLOR_YELLOW, TXT_COLOR_BRIGHT_WHITE
}

Functions

int TXT_Init (void)
void TXT_Shutdown (void)
unsigned char * TXT_GetScreenData (void)
void TXT_UpdateScreenArea (int x, int y, int w, int h)
void TXT_UpdateScreen (void)
int TXT_GetChar (void)
void TXT_GetKeyDescription (int key, char *buf)
void TXT_GetMousePosition (int *x, int *y)
void TXT_Sleep (int timeout)
void TXT_EnableKeyMapping (int enable)
void TXT_SetWindowTitle (char *title)

Enumeration Type Documentation

Enumerator:
TXT_COLOR_BLACK 
TXT_COLOR_BLUE 
TXT_COLOR_GREEN 
TXT_COLOR_CYAN 
TXT_COLOR_RED 
TXT_COLOR_MAGENTA 
TXT_COLOR_BROWN 
TXT_COLOR_GREY 
TXT_COLOR_DARK_GREY 
TXT_COLOR_BRIGHT_BLUE 
TXT_COLOR_BRIGHT_GREEN 
TXT_COLOR_BRIGHT_CYAN 
TXT_COLOR_BRIGHT_RED 
TXT_COLOR_BRIGHT_MAGENTA 
TXT_COLOR_YELLOW 
TXT_COLOR_BRIGHT_WHITE 

Function Documentation

void TXT_EnableKeyMapping ( int  enable)
int TXT_GetChar ( void  )
void TXT_GetKeyDescription ( int  key,
char *  buf 
)
void TXT_GetMousePosition ( int *  x,
int *  y 
)
unsigned char* TXT_GetScreenData ( void  )
int TXT_Init ( void  )
void TXT_SetWindowTitle ( char *  title)
void TXT_Shutdown ( void  )
void TXT_Sleep ( int  timeout)
void TXT_UpdateScreen ( void  )
void TXT_UpdateScreenArea ( int  x,
int  y,
int  w,
int  h 
)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends