MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / InitCursor

Function InitCursor

Source/cursor.cpp:140–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138int pcurs;
139
140void InitCursor()
141{
142 assert(!pCursCels);
143 pCursCels = LoadCel("data\\inv\\objcurs", InvItemWidth1);
144 if (gbIsHellfire)
145 pCursCels2 = LoadCel("data\\inv\\objcurs2", InvItemWidth2);
146 ClearCursor();
147}
148
149void FreeCursor()
150{

Callers 1

StartGameFunction · 0.85

Calls 2

LoadCelFunction · 0.85
ClearCursorFunction · 0.85

Tested by

no test coverage detected