2009-05-08 13:28:41 +00:00
|
|
|
/*
|
|
|
|
* OpenClonk, http://www.openclonk.org
|
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
|
|
|
|
* Copyright (c) 2011-2013, The OpenClonk Team and contributors
|
2009-05-08 13:28:41 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* Distributed under the terms of the ISC license; see accompanying file
|
|
|
|
* "COPYING" for details.
|
2009-05-08 13:28:41 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* "Clonk" is a registered trademark of Matthes Bender, used with permission.
|
|
|
|
* See accompanying file "TRADEMARK" for details.
|
2009-05-08 13:28:41 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* To redistribute this file separately, substitute the full license texts
|
|
|
|
* for the above references.
|
2009-05-08 13:28:41 +00:00
|
|
|
*/
|
2009-10-20 03:39:24 +00:00
|
|
|
#include "C4Include.h"
|
2016-04-03 18:07:56 +00:00
|
|
|
#include "graphics/C4DrawT.h"
|
|
|
|
#include "lib/StdMeshMaterial.h"
|
2009-05-08 13:28:41 +00:00
|
|
|
|
2014-03-31 14:30:40 +00:00
|
|
|
CStdNoGfx::CStdNoGfx()
|
|
|
|
{
|
|
|
|
Default();
|
|
|
|
}
|
|
|
|
|
2016-02-06 22:32:00 +00:00
|
|
|
bool CStdNoGfx::RestoreDeviceObjects()
|
2010-03-28 18:58:01 +00:00
|
|
|
{
|
2009-06-02 23:59:04 +00:00
|
|
|
Log("Graphics disabled.");
|
2011-01-30 20:44:54 +00:00
|
|
|
MaxTexSize = 2147483647;
|
2009-05-08 13:28:41 +00:00
|
|
|
return true;
|
2010-03-28 18:58:01 +00:00
|
|
|
}
|
2011-01-30 20:44:54 +00:00
|
|
|
|
2014-12-22 16:15:46 +00:00
|
|
|
bool CStdNoGfx::PrepareMaterial(StdMeshMatManager& mat_manager, StdMeshMaterialLoader& loader, StdMeshMaterial& mat)
|
2011-01-30 20:44:54 +00:00
|
|
|
{
|
2014-12-22 16:15:46 +00:00
|
|
|
mat.BestTechniqueIndex=0; return true;
|
2011-01-30 20:44:54 +00:00
|
|
|
}
|