Started to move files so it can be compared to vkdoom3

This commit is contained in:
Robert Beckebans 2017-09-03 10:22:36 +02:00
parent 4daffd67c0
commit 736ccadcb3
62 changed files with 211 additions and 246 deletions

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#ifndef __MENUSCREEN_H__
#define __MENUSCREEN_H__
#include "../../renderer/tr_local.h"
#include "../../renderer/RenderCommon.h"
enum mainMenuTransition_t
{

View file

@ -28,7 +28,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "../Game_local.h"
#include "../../renderer/tr_local.h"
#include "../../renderer/RenderCommon.h"
const static int NUM_SETTING_OPTIONS = 7;

View file

@ -33,7 +33,6 @@ If you have questions concerning this license or the applicable additional terms
#include "Common_local.h"
#include "../renderer/Image.h" // now I did it!
#include "../renderer/ImageOpts.h"
// RB begin
#if defined(USE_DOOMCLASSIC)

View file

@ -36,7 +36,7 @@ If you have questions concerning this license or the applicable additional terms
================================================================================================
*/
#include "tr_local.h"
#include "RenderCommon.h"
#include "DXT/DXTCodec.h"
#include "Color/ColorSpace.h"

View file

@ -28,7 +28,7 @@ If you have questions concerning this license or the applicable additional terms
*/
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
idCVar r_showBuffers( "r_showBuffers", "0", CVAR_INTEGER, "" );

View file

@ -39,7 +39,7 @@ extern idCVar s_noSound;
#include <jpeglib.h>
//}
#include "tr_local.h"
#include "RenderCommon.h"
#define CIN_system 1
#define CIN_loop 2

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#pragma hdrstop
#include "tr_local.h"
#include "RenderCommon.h"
#include "Framebuffer.h"
idList<Framebuffer*> Framebuffer::framebuffers;

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
/*
==========================================================================================

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
const float idGuiModel::STEREO_DEPTH_NEAR = 0.0f;
const float idGuiModel::STEREO_DEPTH_MID = 0.5f;

View file

@ -4,6 +4,7 @@
Doom 3 BFG Edition GPL Source Code
Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
Copyright (C) 2013-2014 Robert Beckebans
Copyright (C) 2016-2017 Dustin Land
This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
@ -27,6 +28,158 @@ If you have questions concerning this license or the applicable additional terms
===========================================================================
*/
enum textureType_t
{
TT_DISABLED,
TT_2D,
TT_CUBIC,
// RB begin
TT_2D_ARRAY,
TT_2D_MULTISAMPLE
// RB end
};
/*
================================================
The internal *Texture Format Types*, ::textureFormat_t, are:
================================================
*/
enum textureFormat_t
{
FMT_NONE,
//------------------------
// Standard color image formats
//------------------------
FMT_RGBA8, // 32 bpp
FMT_XRGB8, // 32 bpp
//------------------------
// Alpha channel only
//------------------------
// Alpha ends up being the same as L8A8 in our current implementation, because straight
// alpha gives 0 for color, but we want 1.
FMT_ALPHA,
//------------------------
// Luminance replicates the value across RGB with a constant A of 255
// Intensity replicates the value across RGBA
//------------------------
FMT_L8A8, // 16 bpp
FMT_LUM8, // 8 bpp
FMT_INT8, // 8 bpp
//------------------------
// Compressed texture formats
//------------------------
FMT_DXT1, // 4 bpp
FMT_DXT5, // 8 bpp
//------------------------
// Depth buffer formats
//------------------------
FMT_DEPTH, // 24 bpp
//------------------------
//
//------------------------
FMT_X16, // 16 bpp
FMT_Y16_X16, // 32 bpp
FMT_RGB565, // 16 bpp
// RB: don't change above for legacy .bimage compatibility
FMT_ETC1_RGB8_OES, // 4 bpp
FMT_SHADOW_ARRAY, // 32 bpp * 6
FMT_RGBA16F, // 64 bpp
FMT_RGBA32F, // 128 bpp
FMT_R32F, // 32 bpp
// RB end
};
int BitsForFormat( textureFormat_t format );
/*
================================================
DXT5 color formats
================================================
*/
enum textureColor_t
{
CFM_DEFAULT, // RGBA
CFM_NORMAL_DXT5, // XY format and use the fast DXT5 compressor
CFM_YCOCG_DXT5, // convert RGBA to CoCg_Y format
CFM_GREEN_ALPHA, // Copy the alpha channel to green
// RB: don't change above for legacy .bimage compatibility
CFM_YCOCG_RGBA8,
// RB end
};
/*
================================================
idImageOpts hold parameters for texture operations.
================================================
*/
class idImageOpts
{
public:
idImageOpts();
bool operator==( const idImageOpts& opts );
//---------------------------------------------------
// these determine the physical memory size and layout
//---------------------------------------------------
textureType_t textureType;
textureFormat_t format;
textureColor_t colorFormat;
int width;
int height; // not needed for cube maps
int numLevels; // if 0, will be 1 for NEAREST / LINEAR filters, otherwise based on size
bool gammaMips; // if true, mips will be generated with gamma correction
bool readback; // 360 specific - cpu reads back from this texture, so allocate with cached memory
// RB: for MSAA FBO targets
int msaaSamples;
// RB end
};
/*
========================
idImageOpts::idImageOpts
========================
*/
ID_INLINE idImageOpts::idImageOpts()
{
format = FMT_NONE;
colorFormat = CFM_DEFAULT;
width = 0;
height = 0;
numLevels = 0;
textureType = TT_2D;
gammaMips = false;
readback = false;
// RB begin
msaaSamples = 0;
// RB end
};
/*
========================
idImageOpts::operator==
========================
*/
ID_INLINE bool idImageOpts::operator==( const idImageOpts& opts )
{
return ( memcmp( this, &opts, sizeof( *this ) ) == 0 );
}
/*
====================================================================
@ -79,7 +232,6 @@ enum imageFileType_t
JPG
};
#include "ImageOpts.h"
#include "BinaryImage.h"
#define MAX_IMAGE_NAME 256

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
// do this with a pointer, in case we want to make the actual manager
// a private virtual subclass

View file

@ -1,185 +0,0 @@
/*
===========================================================================
Doom 3 BFG Edition GPL Source Code
Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
Copyright (C) 2013-2014 Robert Beckebans
This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
Doom 3 BFG Edition Source Code 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 3 of the License, or
(at your option) any later version.
Doom 3 BFG Edition Source Code 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 Doom 3 BFG Edition Source Code. If not, see <http://www.gnu.org/licenses/>.
In addition, the Doom 3 BFG Edition Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 BFG Edition Source Code. If not, please request a copy in writing from id Software at the address below.
If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
===========================================================================
*/
#ifndef __IMAGEOPTS_H__
#define __IMAGEOPTS_H__
enum textureType_t
{
TT_DISABLED,
TT_2D,
TT_CUBIC,
// RB begin
TT_2D_ARRAY,
TT_2D_MULTISAMPLE
// RB end
};
/*
================================================
The internal *Texture Format Types*, ::textureFormat_t, are:
================================================
*/
enum textureFormat_t
{
FMT_NONE,
//------------------------
// Standard color image formats
//------------------------
FMT_RGBA8, // 32 bpp
FMT_XRGB8, // 32 bpp
//------------------------
// Alpha channel only
//------------------------
// Alpha ends up being the same as L8A8 in our current implementation, because straight
// alpha gives 0 for color, but we want 1.
FMT_ALPHA,
//------------------------
// Luminance replicates the value across RGB with a constant A of 255
// Intensity replicates the value across RGBA
//------------------------
FMT_L8A8, // 16 bpp
FMT_LUM8, // 8 bpp
FMT_INT8, // 8 bpp
//------------------------
// Compressed texture formats
//------------------------
FMT_DXT1, // 4 bpp
FMT_DXT5, // 8 bpp
//------------------------
// Depth buffer formats
//------------------------
FMT_DEPTH, // 24 bpp
//------------------------
//
//------------------------
FMT_X16, // 16 bpp
FMT_Y16_X16, // 32 bpp
FMT_RGB565, // 16 bpp
// RB: don't change above for legacy .bimage compatibility
FMT_ETC1_RGB8_OES, // 4 bpp
FMT_SHADOW_ARRAY, // 32 bpp * 6
FMT_RGBA16F, // 64 bpp
FMT_RGBA32F, // 128 bpp
FMT_R32F, // 32 bpp
// RB end
};
int BitsForFormat( textureFormat_t format );
/*
================================================
DXT5 color formats
================================================
*/
enum textureColor_t
{
CFM_DEFAULT, // RGBA
CFM_NORMAL_DXT5, // XY format and use the fast DXT5 compressor
CFM_YCOCG_DXT5, // convert RGBA to CoCg_Y format
CFM_GREEN_ALPHA, // Copy the alpha channel to green
// RB: don't change above for legacy .bimage compatibility
CFM_YCOCG_RGBA8,
// RB end
};
/*
================================================
idImageOpts hold parameters for texture operations.
================================================
*/
class idImageOpts
{
public:
idImageOpts();
bool operator==( const idImageOpts& opts );
//---------------------------------------------------
// these determine the physical memory size and layout
//---------------------------------------------------
textureType_t textureType;
textureFormat_t format;
textureColor_t colorFormat;
int width;
int height; // not needed for cube maps
int numLevels; // if 0, will be 1 for NEAREST / LINEAR filters, otherwise based on size
bool gammaMips; // if true, mips will be generated with gamma correction
bool readback; // 360 specific - cpu reads back from this texture, so allocate with cached memory
// RB: for MSAA FBO targets
int msaaSamples;
// RB end
};
/*
========================
idImageOpts::idImageOpts
========================
*/
ID_INLINE idImageOpts::idImageOpts()
{
format = FMT_NONE;
colorFormat = CFM_DEFAULT;
width = 0;
height = 0;
numLevels = 0;
textureType = TT_2D;
gammaMips = false;
readback = false;
// RB begin
msaaSamples = 0;
// RB end
};
/*
========================
idImageOpts::operator==
========================
*/
ID_INLINE bool idImageOpts::operator==( const idImageOpts& opts )
{
return ( memcmp( this, &opts, sizeof( *this ) ) == 0 );
}
#endif

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
/*

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "SMAA/AreaTex.h"
#include "SMAA/SearchTex.h"

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
/*
================

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
/*
================

View file

@ -56,7 +56,7 @@ Manager
// tr_imageprogram.c
#include "tr_local.h"
#include "RenderCommon.h"
/*

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
/*
===========================================================================

View file

@ -32,7 +32,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
/*

View file

@ -32,7 +32,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"
#include "Model_ase.h"
#include "Model_lwo.h"

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"
#include "../idlib/geometry/DrawVert_intrinsics.h"

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#include "Model_local.h"
#include "tr_local.h" // just for R_FreeWorldInteractions and R_CreateWorldInteractions
#include "RenderCommon.h" // just for R_FreeWorldInteractions and R_CreateWorldInteractions
idCVar binaryLoadRenderModels( "binaryLoadRenderModels", "1", 0, "enable binary load/write of render models" );
idCVar preload_MapModels( "preload_MapModels", "1", CVAR_SYSTEM | CVAR_BOOL, "preload models during begin or end levelload" );

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"
#include "../idlib/geometry/DrawVert_intrinsics.h"

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"
/*

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"
#define LIQUID_MAX_SKIP_FRAMES 5

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"
#include "Model_md3.h"

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"
#if defined(USE_INTRINSICS)

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"
static const char* parametricParticle_SnapshotName = "_ParametricParticle_Snapshot_";

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"

View file

@ -35,7 +35,7 @@ Contains the Image implementation for OpenGL.
================================================================================================
*/
#include "../tr_local.h"
#include "../RenderCommon.h"
/*
========================

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "../tr_local.h"
#include "../RenderCommon.h"
#include "../../framework/Common_local.h"
idCVar r_drawFlickerBox( "r_drawFlickerBox", "0", CVAR_RENDERER | CVAR_BOOL, "visual test for dropping frames" );

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "../tr_local.h"
#include "../RenderCommon.h"
/*
====================

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Framebuffer.h"
idCVar r_drawEyeColor( "r_drawEyeColor", "0", CVAR_RENDERER | CVAR_BOOL, "Draw a colored box, red = left eye, blue = right eye, grey = non-stereo" );

View file

@ -35,7 +35,6 @@ If you have questions concerning this license or the applicable additional terms
#include "GLState.h"
#include "ScreenRect.h"
#include "ImageOpts.h"
#include "Image.h"
#include "Font.h"
#include "Framebuffer.h"

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
idRenderEntityLocal::idRenderEntityLocal()
{

View file

@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
===========================================================================
*/
#pragma hdrstop
#include "tr_local.h"
#include "RenderCommon.h"
/*
================================================================================================

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "RenderProgs_embedded.h"
idCVar r_skipStripDeadCode( "r_skipStripDeadCode", "0", CVAR_BOOL, "Skip stripping dead code" );

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
idRenderSystemLocal tr;
idRenderSystem* renderSystem = &tr;

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
// RB begin
#if defined(_WIN32)

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
/*
===================

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
/*
=================================================================================

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
idCVar r_writeDemoDecals( "r_writeDemoDecals", "1", CVAR_BOOL | CVAR_SYSTEM, "enable Writing of entity decals to demo files." );
idCVar r_writeDemoOverlays( "r_writeDemoOverlays", "1", CVAR_BOOL | CVAR_SYSTEM, "enable Writing of entity Overlays to demo files." );

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
/*

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
// if we hit this many planes, we will just stop cropping the
// view down, which is still correct, just conservative

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "ResolutionScale.h"

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
/*
==========================================================================================

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
idVertexCache vertexCache;

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "simplex.h" // line font definition
idCVar r_showCenterOfProjection( "r_showCenterOfProjection", "0", CVAR_RENDERER | CVAR_BOOL, "Draw a cross to show the center of projection" );

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
extern idCVar r_useAreasConnectedForShadowCulling;
extern idCVar r_useParallelAddShadows;

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"
idCVar r_skipStaticShadows( "r_skipStaticShadows", "0", CVAR_RENDERER | CVAR_BOOL, "skip static shadows" );

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"
/*

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"
/*

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
/*
==========================================================================================

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"
/*

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
#include "Model_local.h"
#include "../idlib/geometry/DrawVert_intrinsics.h"

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "precompiled.h"
#include "tr_local.h"
#include "RenderCommon.h"
/*
==============================================================================

View file

@ -28,7 +28,7 @@ If you have questions concerning this license or the applicable additional terms
*/
#pragma hdrstop
#include "precompiled.h"
#include "../renderer/tr_local.h"
#include "../renderer/RenderCommon.h"
idCVar swf_timescale( "swf_timescale", "1", CVAR_FLOAT, "timescale for swf files" );
idCVar swf_stopat( "swf_stopat", "0", CVAR_FLOAT, "stop at a specific frame" );

View file

@ -46,7 +46,7 @@ If you have questions concerning this license or the applicable additional terms
#include "win_local.h"
#include "rc/doom_resource.h"
#include "../../renderer/tr_local.h"
#include "../../renderer/RenderCommon.h"

View file

@ -47,7 +47,7 @@ If you have questions concerning this license or the applicable additional terms
#include "../sys_local.h"
#include "win_local.h"
#include "../../renderer/tr_local.h"
#include "../../renderer/RenderCommon.h"
idCVar Win32Vars_t::sys_arch( "sys_arch", "", CVAR_SYSTEM | CVAR_INIT, "" );
idCVar Win32Vars_t::sys_cpustring( "sys_cpustring", "detect", CVAR_SYSTEM | CVAR_INIT, "" );

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#include "win_local.h"
#include "../../renderer/tr_local.h"
#include "../../renderer/RenderCommon.h"
#include <windowsx.h>

View file

@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
===========================================================================
*/
#include "../../../renderer/tr_local.h"
#include "../../../renderer/RenderCommon.h"
typedef struct primitive_s