Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions | Variables
console.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FONT_HEIGHT   16
 
#define SCREEN_FORMAT   SDL_PIXELFORMAT_ARGB8888
 
#define USE_LOCKED_TEXTURE   1
 
#define RENDER_SCALE_QUALITY   2
 
#define conprintf(...)
 

Functions

void console_output (Uint8 data)
 
void conputs (const char *s)
 
int console_status (void)
 
int console_input (void)
 
void console_cursor_blink (int delay)
 
void console_iteration (void)
 
int console_init (int width, int height, int zoom_percent, Uint8 *video_mapped, Uint8 *color_mapped, int sdlrenderquality)
 
void rc_shutdown_callback (void)
 

Variables

int console_io_traffic
 

Macro Definition Documentation

◆ conprintf

#define conprintf (   ...)
Value:
do { \
char _buf_for_msg_[4096]; \
CHECK_SNPRINTF(snprintf(_buf_for_msg_, sizeof _buf_for_msg_, __VA_ARGS__), sizeof _buf_for_msg_); \
conputs(_buf_for_msg_); \
} while (0)

Definition at line 28 of file console.h.

◆ FONT_HEIGHT

#define FONT_HEIGHT   16

Definition at line 22 of file console.h.

◆ RENDER_SCALE_QUALITY

#define RENDER_SCALE_QUALITY   2

Definition at line 26 of file console.h.

◆ SCREEN_FORMAT

#define SCREEN_FORMAT   SDL_PIXELFORMAT_ARGB8888

Definition at line 24 of file console.h.

◆ USE_LOCKED_TEXTURE

#define USE_LOCKED_TEXTURE   1

Definition at line 25 of file console.h.

Function Documentation

◆ conputs()

void conputs ( const char *  s)

Definition at line 140 of file console.c.

◆ console_cursor_blink()

void console_cursor_blink ( int  delay)

Definition at line 172 of file console.c.

◆ console_init()

int console_init ( int  width,
int  height,
int  zoom_percent,
Uint8 video_mapped,
Uint8 color_mapped,
int  sdlrenderquality 
)

Definition at line 279 of file console.c.

Here is the call graph for this function:

◆ console_input()

int console_input ( void  )

Definition at line 157 of file console.c.

◆ console_iteration()

void console_iteration ( void  )

Definition at line 185 of file console.c.

◆ console_output()

void console_output ( Uint8  data)

Definition at line 106 of file console.c.

◆ console_status()

int console_status ( void  )

Definition at line 148 of file console.c.

◆ rc_shutdown_callback()

void rc_shutdown_callback ( void  )

Definition at line 85 of file rc2014.c.

Variable Documentation

◆ console_io_traffic

int console_io_traffic

Definition at line 66 of file console.c.