OpenClonk
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
20
CStdNoGfx::CStdNoGfx
()
21
{
22
Default
();
23
}
24
25
bool
CStdNoGfx::RestoreDeviceObjects
()
26
{
27
Log
(
"Graphics disabled."
);
28
MaxTexSize
= 2147483647;
29
return
true
;
30
}
31
32
bool
CStdNoGfx::PrepareMaterial
(
StdMeshMatManager
& mat_manager,
StdMeshMaterialLoader
& loader,
StdMeshMaterial
& mat)
33
{
34
mat.
BestTechniqueIndex
=0;
return
true
;
35
}
C4DrawT.h
C4Include.h
Log
bool Log(const char *szMessage)
Definition:
C4Log.cpp:204
StdMeshMaterial.h
C4Draw::MaxTexSize
int MaxTexSize
Definition:
C4Draw.h:99
C4Draw::Default
virtual void Default()
Definition:
C4Draw.cpp:169
CStdNoGfx::CStdNoGfx
CStdNoGfx()
Definition:
C4DrawT.cpp:20
CStdNoGfx::RestoreDeviceObjects
bool RestoreDeviceObjects() override
Definition:
C4DrawT.cpp:25
CStdNoGfx::PrepareMaterial
bool PrepareMaterial(StdMeshMatManager &mat_manager, StdMeshMaterialLoader &loader, StdMeshMaterial &mat) override
Definition:
C4DrawT.cpp:32
StdMeshMatManager
Definition:
StdMeshMaterial.h:518
StdMeshMaterial
Definition:
StdMeshMaterial.h:492
StdMeshMaterial::BestTechniqueIndex
int BestTechniqueIndex
Definition:
StdMeshMaterial.h:514
StdMeshMaterialLoader
Definition:
StdMeshMaterial.h:128
openclonk
src
graphics
C4DrawT.cpp
Generated on Fri May 16 2025 04:33:09 for OpenClonk by
1.9.1