MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / send

Method send

lib/psclass.h:159–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 ~tQueue(){};
158
159 void send(T &item) { // sends an item onto the queue
160 int16_t temp = m_tail + 1;
161 if (temp == t_LEN)
162 temp = 0;
163 if (temp != m_head) {
164 m_items[m_tail] = item;
165 m_tail = temp;
166 }
167 };
168 bool recv(T *item) { // returns an item from the queue, false if no item.
169 if (m_head == m_tail)
170 return false;

Callers 13

SendMethod · 0.45
SEND_STRM_LOADMethod · 0.45
SEND_STRM_FADEOUTMethod · 0.45
SEND_STRM_FADEINMethod · 0.45
SEND_STRM_STOPMethod · 0.45
SEND_STRM_PLAYMethod · 0.45
SEND_STRM_FREEMethod · 0.45
SEND_STRM_SWITCHMethod · 0.45
SEND_STRM_NEXTMethod · 0.45
ExecScriptMethod · 0.45
sdlMouseButtonDownFilterFunction · 0.45
sdlMouseButtonUpFilterFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected