| 124 | } |
| 125 | |
| 126 | void WriteFloat (float v, uint8_t **stream) |
| 127 | { |
| 128 | union |
| 129 | { |
| 130 | int i; |
| 131 | float f; |
| 132 | } fakeint; |
| 133 | fakeint.f = v; |
| 134 | WriteLong (fakeint.i, stream); |
| 135 | } |
| 136 | |
| 137 | // Returns the number of bytes read |
| 138 | int UnpackUserCmd (InputPacket *ucmd, const InputPacket *basis, uint8_t **stream) |
no test coverage detected