1 /*
2  * OpenClonk, http://www.openclonk.org
3  *
4  * Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
5  * Copyright (c) 2011-2016, The OpenClonk Team and contributors
6  *
7  * Distributed under the terms of the ISC license; see accompanying file
8  * "COPYING" for details.
9  *
10  * "Clonk" is a registered trademark of Matthes Bender, used with permission.
11  * See accompanying file "TRADEMARK" for details.
12  *
13  * To redistribute this file separately, substitute the full license texts
14  * for the above references.
15  */
16 #include "C4Include.h"
17 #include "graphics/C4DrawT.h"
18 #include "lib/StdMeshMaterial.h"
19 
CStdNoGfx()20 CStdNoGfx::CStdNoGfx()
21 {
22 	Default();
23 }
24 
RestoreDeviceObjects()25 bool CStdNoGfx::RestoreDeviceObjects()
26 {
27 	Log("Graphics disabled.");
28 	MaxTexSize = 2147483647;
29 	return true;
30 }
31 
PrepareMaterial(StdMeshMatManager & mat_manager,StdMeshMaterialLoader & loader,StdMeshMaterial & mat)32 bool CStdNoGfx::PrepareMaterial(StdMeshMatManager& mat_manager, StdMeshMaterialLoader& loader, StdMeshMaterial& mat)
33 {
34 	mat.BestTechniqueIndex=0; return true;
35 }
36