1/*
2 * LegacyClonk
3 *
4 * Copyright (c) RedWolf Design
5 * Copyright (c) 2017-2021, The LegacyClonk 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
17#include <Standard.h>
18#include <StdNoGfx.h>
19
20bool CStdNoGfx::CreateDirectDraw()
21{
22 logger->info(msg: "Graphics disabled");
23 return true;
24}
25
26CStdNoGfx::CStdNoGfx()
27{
28 Default();
29}
30
31CStdNoGfx::~CStdNoGfx()
32{
33 delete lpPrimary; lpPrimary = nullptr;
34 Clear();
35}
36
37bool CStdNoGfx::CreatePrimarySurfaces()
38{
39 // Create dummy surface
40 lpPrimary = lpBack = new C4Surface();
41 return true;
42}
43