DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
 
vid_null.c
Go to the documentation of this file.
1/*
2Copyright (C) 1996-1997 Id Software, Inc.
3
4This program is free software; you can redistribute it and/or
5modify it under the terms of the GNU General Public License
6as published by the Free Software Foundation; either version 2
7of the License, or (at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
13See the GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18*/
19
20#include "quakedef.h"
21
22#include <signal.h>
23
24int cl_available = false;
25
27
28void VID_Shutdown(void)
29{
30}
31
32void VID_Finish (void)
33{
34}
35
36void VID_Init(void)
37{
38}
39
41{
42 return false;
43}
44
45void *GL_GetProcAddress(const char *name)
46{
47 return NULL;
48}
49
51{
52}
53
55{
56}
57
58void IN_Move(void)
59{
60}
61
62size_t VID_ListModes(vid_mode_t *modes, size_t maxcount)
63{
64 return 0;
65}
66
68{
69 return false;
70}
static glmode_t modes[6]
GLenum mode
Definition glquake.h:718
const GLchar * name
Definition glquake.h:601
#define NULL
Definition qtypes.h:12
bool qbool
Definition qtypes.h:9
qbool GL_ExtensionSupported(const char *name)
Definition vid_null.c:67
int cl_available
Definition vid_null.c:24
qbool vid_supportrefreshrate
Definition vid_null.c:26
size_t VID_ListModes(vid_mode_t *modes, size_t maxcount)
Definition vid_null.c:62
void VID_Finish(void)
Definition vid_null.c:32
void IN_Move(void)
Definition vid_null.c:58
void VID_Init(void)
Called at startup.
Definition vid_null.c:36
qbool VID_InitMode(const viddef_mode_t *mode)
allocates and opens an appropriate OpenGL context (and its window)
Definition vid_null.c:40
void * GL_GetProcAddress(const char *name)
Definition vid_null.c:45
void Sys_SDL_HandleEvents(void)
Perform Key_Event () callbacks until the input que is empty.
Definition vid_null.c:50
void VID_Shutdown(void)
Called at shutdown.
Definition vid_null.c:28
void VID_BuildJoyState(vid_joystate_t *joystate)
Definition vid_null.c:54