|
XenevaOS
|
#include "config.h"#include "v_video.h"#include "m_argv.h"#include "d_event.h"#include "d_main.h"#include "i_video.h"#include "i_system.h"#include "z_zone.h"#include "tables.h"#include "doomkeys.h"#include "doomgeneric.h"#include <stdbool.h>#include <stdlib.h>#include <fcntl.h>#include <stdarg.h>#include <sys/types.h>
Classes | |
| struct | FB_BitField |
| struct | FB_ScreenInfo |
| struct | col_t |
Macros | |
| #define | GFX_RGB565(r, g, b) ((((r & 0xF8) >> 3) << 11) | (((g & 0xFC) >> 2) << 5) | ((b & 0xF8) >> 3)) |
| #define | GFX_RGB565_R(color) ((0xF800 & color) >> 11) |
| #define | GFX_RGB565_G(color) ((0x07E0 & color) >> 5) |
| #define | GFX_RGB565_B(color) (0x001F & color) |
Functions | |
| void | I_GetEvent (void) |
| void | cmap_to_rgb565 (uint16_t *out, uint8_t *in, int in_pixels) |
| void | cmap_to_fb (uint8_t *out, uint8_t *in, int in_pixels) |
| void | I_InitGraphics (void) |
| void | I_ShutdownGraphics (void) |
| void | I_StartFrame (void) |
| void | I_StartTic (void) |
| void | I_UpdateNoBlit (void) |
| void | I_FinishUpdate (void) |
| void | I_ReadScreen (byte *scr) |
| void | I_SetPalette (byte *palette) |
| int | I_GetPaletteIndex (int r, int g, int b) |
| void | I_BeginRead (void) |
| void | I_EndRead (void) |
| void | I_SetWindowTitle (char *title) |
| void | I_GraphicsCheckCommandLine (void) |
| void | I_SetGrabMouseCallback (grabmouse_callback_t func) |
| void | I_EnableLoadingDisk (void) |
| void | I_BindVideoVariables (void) |
| void | I_DisplayFPSDots (boolean dots_on) |
| void | I_CheckIsScreensaver (void) |
Variables | |
| int | fb_scaling = 1 |
| int | usemouse = 0 |
| byte * | I_VideoBuffer = NULL |
| boolean | screensaver_mode = false |
| boolean | screenvisible |
| float | mouse_acceleration = 2.0 |
| int | mouse_threshold = 10 |
| int | usegamma = 0 |
| #define GFX_RGB565 | ( | r, | |
| g, | |||
| b | |||
| ) | ((((r & 0xF8) >> 3) << 11) | (((g & 0xFC) >> 2) << 5) | ((b & 0xF8) >> 3)) |
| void I_BeginRead | ( | void | ) |
| void I_BindVideoVariables | ( | void | ) |
| void I_CheckIsScreensaver | ( | void | ) |
| void I_DisplayFPSDots | ( | boolean | dots_on | ) |
| void I_EnableLoadingDisk | ( | void | ) |
| void I_EndRead | ( | void | ) |
| void I_FinishUpdate | ( | void | ) |
| void I_GetEvent | ( | void | ) |
| int I_GetPaletteIndex | ( | int | r, |
| int | g, | ||
| int | b | ||
| ) |
| void I_GraphicsCheckCommandLine | ( | void | ) |
| void I_InitGraphics | ( | void | ) |
| void I_ReadScreen | ( | byte * | scr | ) |
| void I_SetGrabMouseCallback | ( | grabmouse_callback_t | func | ) |
| void I_SetPalette | ( | byte * | palette | ) |
| void I_SetWindowTitle | ( | char * | title | ) |
| void I_ShutdownGraphics | ( | void | ) |
| void I_StartFrame | ( | void | ) |
| void I_StartTic | ( | void | ) |
| void I_UpdateNoBlit | ( | void | ) |
| int fb_scaling = 1 |
| float mouse_acceleration = 2.0 |
| int mouse_threshold = 10 |
| boolean screenvisible |
| int usegamma = 0 |
| int usemouse = 0 |