2001-02-19 21:15:25 +00:00
|
|
|
/*
|
2001-04-15 04:18:22 +00:00
|
|
|
vid_common_sw.c
|
2001-02-19 21:15:25 +00:00
|
|
|
|
2001-04-15 04:18:22 +00:00
|
|
|
Common software video driver functions
|
2001-02-19 21:15:25 +00:00
|
|
|
|
2001-04-15 04:18:22 +00:00
|
|
|
Copyright (C) 2001 Jeff Teunissen <deek@quakeforge.net>
|
2001-02-19 21:15:25 +00:00
|
|
|
|
|
|
|
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:
|
|
|
|
|
|
|
|
Free Software Foundation, Inc.
|
|
|
|
59 Temple Place - Suite 330
|
|
|
|
Boston, MA 02111-1307, USA
|
2012-02-23 01:06:30 +00:00
|
|
|
|
2001-02-19 21:15:25 +00:00
|
|
|
*/
|
2001-04-15 04:18:22 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include "config.h"
|
|
|
|
#endif
|
2001-02-19 21:15:25 +00:00
|
|
|
|
2012-02-23 01:06:30 +00:00
|
|
|
static __attribute__ ((used)) const char rcsid[] = "$Id$";
|
2003-01-15 15:31:36 +00:00
|
|
|
|
2001-04-16 09:12:21 +00:00
|
|
|
#include <stdlib.h>
|
2001-04-15 04:18:22 +00:00
|
|
|
#include <math.h>
|
2001-02-19 21:15:25 +00:00
|
|
|
|
2011-06-14 08:54:53 +00:00
|
|
|
#include "QF/console.h"
|
2011-12-24 01:04:33 +00:00
|
|
|
#include "QF/mathlib.h"
|
2001-04-16 09:12:21 +00:00
|
|
|
#include "QF/sys.h"
|
2001-04-15 04:18:22 +00:00
|
|
|
#include "QF/vid.h"
|
2001-04-15 07:18:04 +00:00
|
|
|
|
2012-02-17 07:13:56 +00:00
|
|
|
#include "vid_internal.h"
|