sw_rvars.c was just a little bit silly for a simple variable declaration.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-05-20 21:44:05 +00:00
parent a140bd1d13
commit ee8bdb0742
6 changed files with 8 additions and 92 deletions

View file

@ -89,7 +89,7 @@ soft_SOURCES= d_edge.c d_fill.c d_init.c d_modech.c d_part.c d_polyse.c \
d_scan.c d_sky.c d_sprite.c d_surf.c d_vars.c d_zpoint.c \
draw.c screen.c sw_raclip.c sw_ralias.c sw_rbsp.c sw_rdraw.c \
sw_redge.c sw_rlight.c sw_rmain.c sw_rmisc.c sw_rpart.c sw_rsky.c \
sw_rsprite.c sw_rsurf.c sw_rvars.c sw_skin.c \
sw_rsprite.c sw_rsurf.c sw_skin.c \
sw_view.c $(soft_ASM)
# ... Linux FBDev

View file

@ -53,6 +53,9 @@
#include "r_local.h"
#include "view.h"
#ifndef USE_INTEL_ASM
int r_bmodelactive;
#endif
void *colormap;
vec3_t viewlightvec;

View file

@ -1,45 +0,0 @@
/*
r_vars.c
global refresh variables
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:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifndef USE_INTEL_ASM
// all global and static refresh variables are collected in a contiguous block
// to avoid cache conflicts.
// global refresh variables -----------------------------
// FIXME: make into one big structure, like cl or sv
// FIXME: do separately for refresh engine and driver
int r_bmodelactive;
#endif // !USE_INTEL_ASM

View file

@ -108,7 +108,7 @@ soft_SOURCES= d_edge.c d_fill.c d_init.c d_modech.c \
d_part.c d_polyse.c d_scan.c d_sky.c d_sprite.c d_surf.c \
d_vars.c d_zpoint.c draw.c sw_raclip.c sw_ralias.c sw_rbsp.c \
sw_rdraw.c sw_redge.c sw_rlight.c sw_rmain.c sw_rmisc.c \
sw_rpart.c sw_rsky.c sw_rsprite.c sw_rsurf.c sw_rvars.c sw_skin.c \
sw_rpart.c sw_rsky.c sw_rsprite.c sw_rsurf.c sw_skin.c \
sw_view.c screen.c \
\
d_draw.S d_draw16.S d_parta.S d_polysa.S d_scana.S d_spr8.S \

View file

@ -53,6 +53,9 @@
#include "r_local.h"
#include "view.h"
#ifndef USE_INTEL_ASM
int r_bmodelactive;
#endif
void *colormap;
vec3_t viewlightvec;

View file

@ -1,45 +0,0 @@
/*
r_vars.c
global refresh variables
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:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifndef USE_INTEL_ASM
// all global and static refresh variables are collected in a contiguous block
// to avoid cache conflicts.
// global refresh variables -----------------------------
// FIXME: make into one big structure, like cl or sv
// FIXME: do separately for refresh engine and driver
int r_bmodelactive;
#endif // !USE_INTEL_ASM