XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Functions | Variables
v_video.c File Reference
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "i_system.h"
#include "doomtype.h"
#include "deh_str.h"
#include "i_swap.h"
#include "i_video.h"
#include "m_bbox.h"
#include "m_misc.h"
#include "v_video.h"
#include "w_wad.h"
#include "z_zone.h"
#include "config.h"
Include dependency graph for v_video.c:

Classes

struct  PACKEDATTR
 

Macros

#define RANGECHECK
 
#define MOUSE_SPEED_BOX_WIDTH   120
 
#define MOUSE_SPEED_BOX_HEIGHT   9
 

Functions

void V_MarkRect (int x, int y, int width, int height)
 
void V_CopyRect (int srcx, int srcy, byte *source, int width, int height, int destx, int desty)
 
void V_SetPatchClipCallback (vpatchclipfunc_t func)
 
void V_DrawPatch (int x, int y, patch_t *patch)
 
void V_DrawPatchFlipped (int x, int y, patch_t *patch)
 
void V_DrawPatchDirect (int x, int y, patch_t *patch)
 
void V_DrawTLPatch (int x, int y, patch_t *patch)
 
void V_DrawXlaPatch (int x, int y, patch_t *patch)
 
void V_DrawAltTLPatch (int x, int y, patch_t *patch)
 
void V_DrawShadowedPatch (int x, int y, patch_t *patch)
 
void V_LoadTintTable (void)
 
void V_LoadXlaTable (void)
 
void V_DrawBlock (int x, int y, int width, int height, byte *src)
 
void V_DrawFilledBox (int x, int y, int w, int h, int c)
 
void V_DrawHorizLine (int x, int y, int w, int c)
 
void V_DrawVertLine (int x, int y, int h, int c)
 
void V_DrawBox (int x, int y, int w, int h, int c)
 
void V_DrawRawScreen (byte *raw)
 
void V_Init (void)
 
void V_UseBuffer (byte *buffer)
 
void V_RestoreBuffer (void)
 
void WritePCXfile (char *filename, byte *data, int width, int height, byte *palette)
 
void V_ScreenShot (char *format)
 
void V_DrawMouseSpeedBox (int speed)
 

Variables

byte * tinttable = NULL
 
byte * xlatab = NULL
 
int dirtybox [4]
 

Macro Definition Documentation

◆ MOUSE_SPEED_BOX_HEIGHT

#define MOUSE_SPEED_BOX_HEIGHT   9

◆ MOUSE_SPEED_BOX_WIDTH

#define MOUSE_SPEED_BOX_WIDTH   120

◆ RANGECHECK

#define RANGECHECK

Function Documentation

◆ V_CopyRect()

void V_CopyRect ( int  srcx,
int  srcy,
byte *  source,
int  width,
int  height,
int  destx,
int  desty 
)

◆ V_DrawAltTLPatch()

void V_DrawAltTLPatch ( int  x,
int  y,
patch_t *  patch 
)

◆ V_DrawBlock()

void V_DrawBlock ( int  x,
int  y,
int  width,
int  height,
byte *  src 
)

◆ V_DrawBox()

void V_DrawBox ( int  x,
int  y,
int  w,
int  h,
int  c 
)

◆ V_DrawFilledBox()

void V_DrawFilledBox ( int  x,
int  y,
int  w,
int  h,
int  c 
)

◆ V_DrawHorizLine()

void V_DrawHorizLine ( int  x,
int  y,
int  w,
int  c 
)

◆ V_DrawMouseSpeedBox()

void V_DrawMouseSpeedBox ( int  speed)

◆ V_DrawPatch()

void V_DrawPatch ( int  x,
int  y,
patch_t *  patch 
)

◆ V_DrawPatchDirect()

void V_DrawPatchDirect ( int  x,
int  y,
patch_t *  patch 
)

◆ V_DrawPatchFlipped()

void V_DrawPatchFlipped ( int  x,
int  y,
patch_t *  patch 
)

◆ V_DrawRawScreen()

void V_DrawRawScreen ( byte *  raw)

◆ V_DrawShadowedPatch()

void V_DrawShadowedPatch ( int  x,
int  y,
patch_t *  patch 
)

◆ V_DrawTLPatch()

void V_DrawTLPatch ( int  x,
int  y,
patch_t *  patch 
)

◆ V_DrawVertLine()

void V_DrawVertLine ( int  x,
int  y,
int  h,
int  c 
)

◆ V_DrawXlaPatch()

void V_DrawXlaPatch ( int  x,
int  y,
patch_t *  patch 
)

◆ V_Init()

void V_Init ( void  )

◆ V_LoadTintTable()

void V_LoadTintTable ( void  )

◆ V_LoadXlaTable()

void V_LoadXlaTable ( void  )

◆ V_MarkRect()

void V_MarkRect ( int  x,
int  y,
int  width,
int  height 
)

◆ V_RestoreBuffer()

void V_RestoreBuffer ( void  )

◆ V_ScreenShot()

void V_ScreenShot ( char *  format)

◆ V_SetPatchClipCallback()

void V_SetPatchClipCallback ( vpatchclipfunc_t  func)

◆ V_UseBuffer()

void V_UseBuffer ( byte *  buffer)

◆ WritePCXfile()

void WritePCXfile ( char *  filename,
byte *  data,
int  width,
int  height,
byte *  palette 
)

Variable Documentation

◆ dirtybox

int dirtybox[4]

◆ tinttable

byte* tinttable = NULL

◆ xlatab

byte* xlatab = NULL