MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / ReadFromDemoFile

Method ReadFromDemoFile

neo/ui/RegExp.cpp:163–170  ·  view source on GitHub ↗

================= idRegister::ReadFromDemoFile ================= */

Source from the content-addressed store, hash-verified

161=================
162*/
163void idRegister::ReadFromDemoFile(idDemoFile *f) {
164 f->ReadBool( enabled );
165 f->ReadShort( type );
166 f->ReadInt( regCount );
167 for ( int i = 0; i < 4; i++ )
168 f->ReadUnsignedShort( regs[i] );
169 name = f->ReadHashString();
170}
171
172/*
173=================

Callers

nothing calls this directly

Calls 7

ReadUnsignedShortMethod · 0.80
ReadHashStringMethod · 0.80
ReadBoolMethod · 0.45
ReadShortMethod · 0.45
ReadIntMethod · 0.45
DeleteContentsMethod · 0.45
AppendMethod · 0.45

Tested by

no test coverage detected