Added a dummy SW video renderer.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2670 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2007-09-22 19:24:31 +00:00
parent 2fbafd9ef4
commit 413cc5ff0a
1 changed files with 88 additions and 0 deletions

88
engine/sw/vid_null.c Normal file
View File

@ -0,0 +1,88 @@
#include "quakedef.h"
qbyte vid_curpal[768];
#ifdef IN_XFLIP
cvar_t in_xflip = {"in_xflip", "0"};
#endif
qboolean SWVID_Init(rendererstate_t *info, unsigned char *palette)
{
return false;
}
void SWVID_ShiftPalette(unsigned char *p)
{
}
void SWVID_SetPalette(unsigned char *palette)
{
}
void SWVID_Shutdown(void)
{
}
void SWVID_Update(vrect_t *rects)
{
}
void Sys_SendKeyEvents(void)
{
}
void SWD_BeginDirectRect(int x, int y, qbyte *pbitmap, int width, int height)
{
}
void SWD_EndDirectRect(int x, int y, int width, int height)
{
}
void SWVID_LockBuffer (void)
{
}
void SWVID_UnlockBuffer (void)
{
}
int SWVID_ForceUnlockedAndReturnState (void)
{
return 0;
}
void SWVID_ForceLockState (int lk)
{
}
void SWVID_HandlePause (qboolean pause)
{
}
void SWVID_SetCaption(char *text)
{
}
/*** Input ***/
void IN_ReInit(void)
{
}
void IN_Init(void)
{
}
void IN_Shutdown(void)
{
}
void IN_Commands(void)
{
}
void IN_Move(usercmd_t *cmd, int pnum)
{
}