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

Function AddIdentify

Source/missiles.cpp:2090–2104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2088extern void FocusOnInventory();
2089
2090void AddIdentify(int mi, int sx, int sy, int dx, int dy, int midir, char mienemy, int id, int dam)
2091{
2092 missile[mi]._miDelFlag = TRUE;
2093 UseMana(id, SPL_IDENTIFY);
2094 if (id == myplr) {
2095 if (sbookflag)
2096 sbookflag = FALSE;
2097 if (!invflag) {
2098 invflag = TRUE;
2099 if (sgbControllerActive)
2100 FocusOnInventory();
2101 }
2102 SetCursor_(CURSOR_IDENTIFY);
2103 }
2104}
2105
2106void AddFirewallC(int mi, int sx, int sy, int dx, int dy, int midir, char mienemy, int id, int dam)
2107{

Callers

nothing calls this directly

Calls 3

UseManaFunction · 0.85
FocusOnInventoryFunction · 0.85
SetCursor_Function · 0.85

Tested by

no test coverage detected