MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / cGraphics

Method cGraphics

Source/Graphics.cpp:25–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23#include "stdafx.hpp"
24
25cGraphics::cGraphics() {
26
27 Heli_VeryBack = 0;
28 Heli_Back = 0;
29 Heli_middle = 0;
30 Heli_Front = 0;
31 Heli_TextPos = 0;
32 Heli_TextPosBottom = 0;
33
34 mFodder = g_Fodder;
35 mSurface = g_Fodder->mSurface;
36 mImageOriginal = mSurface;
37
38 mImageTemporary.mData->resize(100000);
39}
40
41void cGraphics::SetImage( cSurface* pImage ) {
42 mSurface = pImage;

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.80

Tested by

no test coverage detected