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

Function QuestlogESC

Source/quests.cpp:807–824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

805}
806
807void QuestlogESC()
808{
809 int y, i;
810
811 y = (MouseY - 32) / 12;
812 if (numqlines) {
813 for (i = 0; i < numqlines; i++) {
814 if (y == qtopline + 2 * i) {
815 qline = y;
816 QuestlogEnter();
817 }
818 }
819 }
820 if (y == 22) {
821 qline = 22;
822 QuestlogEnter();
823 }
824}
825
826void SetMultiQuest(int q, int s, int l, int v1)
827{

Callers 1

LeftMouseDownFunction · 0.85

Calls 1

QuestlogEnterFunction · 0.85

Tested by

no test coverage detected