OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4DrawT.cpp
Go to the documentation of this file.
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 
21 {
22  Default();
23 }
24 
26 {
27  Log("Graphics disabled.");
28  MaxTexSize = 2147483647;
29  return true;
30 }
31 
33 {
34  mat.BestTechniqueIndex=0; return true;
35 }
int MaxTexSize
Definition: C4Draw.h:99
virtual bool PrepareMaterial(StdMeshMatManager &mat_manager, StdMeshMaterialLoader &loader, StdMeshMaterial &mat) override
Definition: C4DrawT.cpp:32
virtual bool RestoreDeviceObjects() override
Definition: C4DrawT.cpp:25
CStdNoGfx()
Definition: C4DrawT.cpp:20
virtual void Default()
Definition: C4Draw.cpp:172
bool Log(const char *szMessage)
Definition: C4Log.cpp:195