MCPcopy Create free account
hub / github.com/diasurgical/devilution / doom_load_graphics

Function doom_load_graphics

Source/doom.cpp:50–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void doom_load_graphics()
51{
52 if (doom_quest_time == 31) {
53 strcpy(tempstr, "Items\\Map\\MapZDoom.CEL");
54 } else if (doom_quest_time < 10) {
55 sprintf(tempstr, "Items\\Map\\MapZ000%i.CEL", doom_quest_time);
56 } else {
57 sprintf(tempstr, "Items\\Map\\MapZ00%i.CEL", doom_quest_time);
58 }
59 LoadFileWithMem(tempstr, pDoomCel);
60}
61
62void doom_init()
63{

Callers 2

doom_initFunction · 0.85
doom_drawFunction · 0.85

Calls 1

LoadFileWithMemFunction · 0.85

Tested by

no test coverage detected