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

Function diablo_init_screen

Source/diablo.cpp:404–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404void diablo_init_screen()
405{
406 int i;
407
408 MouseX = SCREEN_WIDTH / 2;
409 MouseY = SCREEN_HEIGHT / 2;
410 if (!sgbControllerActive)
411 SetCursorPos(MouseX, MouseY);
412 ScrollInfo._sdx = 0;
413 ScrollInfo._sdy = 0;
414 ScrollInfo._sxoff = 0;
415 ScrollInfo._syoff = 0;
416 ScrollInfo._sdir = SDIR_NONE;
417
418 ClrDiabloMsg();
419}
420
421BOOL PressEscKey()
422{

Callers 1

diablo_initFunction · 0.85

Calls 2

SetCursorPosFunction · 0.85
ClrDiabloMsgFunction · 0.85

Tested by

no test coverage detected