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

Function InitLevelCursor

Source/cursor.cpp:307–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307void InitLevelCursor()
308{
309 NewCursor(CURSOR_HAND);
310 cursPosition = ViewPosition;
311 pcurstemp = -1;
312 pcursmonst = -1;
313 ObjectUnderCursor = nullptr;
314 pcursitem = -1;
315 pcursstashitem = StashStruct::EmptyCell;
316 pcursplr = -1;
317 ClearCursor();
318}
319
320void CheckTown()
321{

Callers 1

StartGameFunction · 0.85

Calls 2

NewCursorFunction · 0.85
ClearCursorFunction · 0.85

Tested by

no test coverage detected