| 1092 | } |
| 1093 | } |
| 1094 | void ReceiveValue(int *value, int *incrementPos) |
| 1095 | { |
| 1096 | // PrintLog("Attempting to receive value (%d) (%d)", *incrementPos, *value); |
| 1097 | |
| 1098 | if (Engine.onlineActive && receiveReady) { |
| 1099 | // receiveReady = false; |
| 1100 | if (*incrementPos == 1) { |
| 1101 | if (matchValueReadPos != matchValueWritePos) { |
| 1102 | *value = matchValueData[matchValueReadPos]; |
| 1103 | matchValueReadPos++; |
| 1104 | } |
| 1105 | } |
| 1106 | else { |
| 1107 | *value = matchValueData[matchValueReadPos]; |
| 1108 | } |
| 1109 | } |
| 1110 | } |
| 1111 | void TransmitGlobal(int *globalValue, const char *globalName) |
| 1112 | { |
| 1113 | PrintLog("Attempting to transmit global (%s) (%d)", globalName, *globalValue); |
nothing calls this directly
no outgoing calls
no test coverage detected