aboutsummaryrefslogtreecommitdiffstats
path: root/WinQuake/vid_dos.h
diff options
context:
space:
mode:
authorwyatt8740 <wyatt8740@yahoo.com>2014-01-06 12:02:16 -0500
committerwyatt8740 <wyatt8740@yahoo.com>2014-01-06 12:02:16 -0500
commita8f828a066773a59fdf646299359d35ae0e845af (patch)
tree86123409fc6f231cf4136e81159b63cb1e9ec102 /WinQuake/vid_dos.h
parentb2951690415054ae8705c07f8df7a4ba7cde382a (diff)
downloadquake-pum-a8f828a066773a59fdf646299359d35ae0e845af.tar.gz
Removed accidental upload of copyrighted map files
Diffstat (limited to 'WinQuake/vid_dos.h')
-rw-r--r--WinQuake/vid_dos.h166
1 files changed, 83 insertions, 83 deletions
diff --git a/WinQuake/vid_dos.h b/WinQuake/vid_dos.h
index 4740e59..a622dcb 100644
--- a/WinQuake/vid_dos.h
+++ b/WinQuake/vid_dos.h
@@ -1,83 +1,83 @@
-/*
-Copyright (C) 1996-1997 Id Software, Inc.
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-See the GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-*/
-// vid_dos.h: header file for DOS-specific video stuff
-
-typedef struct vmode_s {
- struct vmode_s *pnext;
- char *name;
- char *header;
- unsigned width;
- unsigned height;
- float aspect;
- unsigned rowbytes;
- int planar;
- int numpages;
- void *pextradata;
- int (*setmode)(viddef_t *vid, struct vmode_s *pcurrentmode);
- void (*swapbuffers)(viddef_t *vid, struct vmode_s *pcurrentmode,
- vrect_t *rects);
- void (*setpalette)(viddef_t *vid, struct vmode_s *pcurrentmode,
- unsigned char *palette);
- void (*begindirectrect)(viddef_t *vid, struct vmode_s *pcurrentmode,
- int x, int y, byte *pbitmap, int width,
- int height);
- void (*enddirectrect)(viddef_t *vid, struct vmode_s *pcurrentmode,
- int x, int y, int width, int height);
-} vmode_t;
-
-// vid_wait settings
-#define VID_WAIT_NONE 0
-#define VID_WAIT_VSYNC 1
-#define VID_WAIT_DISPLAY_ENABLE 2
-
-extern int numvidmodes;
-extern vmode_t *pvidmodes;
-
-extern int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes;
-extern byte *VGA_pagebase;
-extern vmode_t *VGA_pcurmode;
-
-extern cvar_t vid_wait;
-extern cvar_t vid_nopageflip;
-extern cvar_t _vid_wait_override;
-
-extern unsigned char colormap256[32][256];
-
-extern void *vid_surfcache;
-extern int vid_surfcachesize;
-
-void VGA_Init (void);
-void VID_InitVESA (void);
-void VID_InitExtra (void);
-void VGA_WaitVsync (void);
-void VGA_ClearVideoMem (int planar);
-void VGA_SetPalette(viddef_t *vid, vmode_t *pcurrentmode, unsigned char *pal);
-void VGA_SwapBuffersCopy (viddef_t *vid, vmode_t *pcurrentmode,
- vrect_t *rects);
-qboolean VGA_FreeAndAllocVidbuffer (viddef_t *vid, int allocnewbuffer);
-qboolean VGA_CheckAdequateMem (int width, int height, int rowbytes,
- int allocnewbuffer);
-void VGA_BeginDirectRect (viddef_t *vid, struct vmode_s *pcurrentmode, int x,
- int y, byte *pbitmap, int width, int height);
-void VGA_EndDirectRect (viddef_t *vid, struct vmode_s *pcurrentmode, int x,
- int y, int width, int height);
-void VGA_UpdateLinearScreen (void *srcptr, void *destptr, int width,
- int height, int srcrowbytes, int destrowbytes);
-
+/*
+Copyright (C) 1996-1997 Id Software, Inc.
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+*/
+// vid_dos.h: header file for DOS-specific video stuff
+
+typedef struct vmode_s {
+ struct vmode_s *pnext;
+ char *name;
+ char *header;
+ unsigned width;
+ unsigned height;
+ float aspect;
+ unsigned rowbytes;
+ int planar;
+ int numpages;
+ void *pextradata;
+ int (*setmode)(viddef_t *vid, struct vmode_s *pcurrentmode);
+ void (*swapbuffers)(viddef_t *vid, struct vmode_s *pcurrentmode,
+ vrect_t *rects);
+ void (*setpalette)(viddef_t *vid, struct vmode_s *pcurrentmode,
+ unsigned char *palette);
+ void (*begindirectrect)(viddef_t *vid, struct vmode_s *pcurrentmode,
+ int x, int y, byte *pbitmap, int width,
+ int height);
+ void (*enddirectrect)(viddef_t *vid, struct vmode_s *pcurrentmode,
+ int x, int y, int width, int height);
+} vmode_t;
+
+// vid_wait settings
+#define VID_WAIT_NONE 0
+#define VID_WAIT_VSYNC 1
+#define VID_WAIT_DISPLAY_ENABLE 2
+
+extern int numvidmodes;
+extern vmode_t *pvidmodes;
+
+extern int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes;
+extern byte *VGA_pagebase;
+extern vmode_t *VGA_pcurmode;
+
+extern cvar_t vid_wait;
+extern cvar_t vid_nopageflip;
+extern cvar_t _vid_wait_override;
+
+extern unsigned char colormap256[32][256];
+
+extern void *vid_surfcache;
+extern int vid_surfcachesize;
+
+void VGA_Init (void);
+void VID_InitVESA (void);
+void VID_InitExtra (void);
+void VGA_WaitVsync (void);
+void VGA_ClearVideoMem (int planar);
+void VGA_SetPalette(viddef_t *vid, vmode_t *pcurrentmode, unsigned char *pal);
+void VGA_SwapBuffersCopy (viddef_t *vid, vmode_t *pcurrentmode,
+ vrect_t *rects);
+qboolean VGA_FreeAndAllocVidbuffer (viddef_t *vid, int allocnewbuffer);
+qboolean VGA_CheckAdequateMem (int width, int height, int rowbytes,
+ int allocnewbuffer);
+void VGA_BeginDirectRect (viddef_t *vid, struct vmode_s *pcurrentmode, int x,
+ int y, byte *pbitmap, int width, int height);
+void VGA_EndDirectRect (viddef_t *vid, struct vmode_s *pcurrentmode, int x,
+ int y, int width, int height);
+void VGA_UpdateLinearScreen (void *srcptr, void *destptr, int width,
+ int height, int srcrowbytes, int destrowbytes);
+