MCPcopy Create free account
hub / github.com/ZDoom/Raze / CallMenuEvent

Method CallMenuEvent

source/common/menu/menu.cpp:315–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313//=============================================================================
314
315bool DMenu::CallMenuEvent(int mkey, bool fromcontroller)
316{
317 IFVIRTUAL(DMenu, MenuEvent)
318 {
319 VMValue params[] = { (DObject*)this, mkey, fromcontroller };
320 int retval;
321 VMReturn ret(&retval);
322 InMenu++;
323 VMCall(func, params, 3, &ret, 1);
324 InMenu--;
325 return !!retval;
326 }
327 else return false;
328}
329//=============================================================================
330//
331//

Callers 2

M_ResponderFunction · 0.80
M_TickerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected