From 413cc5ff0a838db4ee9358ab6cdc025890a91c23 Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Sat, 22 Sep 2007 19:24:31 +0000 Subject: [PATCH] Added a dummy SW video renderer. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2670 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/sw/vid_null.c | 88 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 engine/sw/vid_null.c diff --git a/engine/sw/vid_null.c b/engine/sw/vid_null.c new file mode 100644 index 000000000..c3dc0a0a6 --- /dev/null +++ b/engine/sw/vid_null.c @@ -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) +{ +} +