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

Function FetchMessage

Source/engine/events.cpp:151–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151bool FetchMessage(SDL_Event *event, uint16_t *modState)
152{
153 const bool available = demo::IsRunning() ? demo::FetchMessage(event, modState) : FetchMessage_Real(event, modState);
154
155 if (available && demo::IsRecording())
156 demo::RecordMessage(*event, *modState);
157
158 return available;
159}
160
161void HandleMessage(const SDL_Event &event, uint16_t modState)
162{

Callers 3

interface_msg_pumpFunction · 0.50
RunGameLoopFunction · 0.50
play_movieFunction · 0.50

Calls 4

FetchMessage_RealFunction · 0.85
IsRunningFunction · 0.70
IsRecordingFunction · 0.70
RecordMessageFunction · 0.70

Tested by

no test coverage detected