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

Function ReadFloat

source/core/d_protocol.cpp:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80float ReadFloat (uint8_t **stream)
81{
82 union
83 {
84 int i;
85 float f;
86 } fakeint;
87 fakeint.i = ReadLong (stream);
88 return fakeint.f;
89}
90
91void WriteString (const char *string, uint8_t **stream)
92{

Callers 1

UnpackUserCmdFunction · 0.85

Calls 1

ReadLongFunction · 0.85

Tested by

no test coverage detected