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

Method Load_Hill_Data

Source/PC/Graphics_PC.cpp:194–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194void cGraphics_PC::Load_Hill_Data() {
195
196 mImageHillBackground = Decode_Image("hill.dat", 0x50, 0xFA00, 0x00);
197 if (!mImageHillBackground.mData->size())
198 return;
199
200 mImageRecruit = Decode_Image("hillbits.dat", 0x10, 0x6900, 0xB0);
201
202 // Parts of this surface have the recruits from mImageRecruit copied onto it
203 mImageHillSprites = Decode_Image("hill.dat", 0x50, 0xFA00, 0x00);
204 for (uint32 x = 0; x < 0xA000; ++x) {
205 mImageHillSprites.mData->data()[x] = 0;
206 }
207}
208
209void cGraphics_PC::Load_Service_Data() {
210

Callers 2

VersionSwitchMethod · 0.45
Recruit_PrepareMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected