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

Method WriteToDemoFile

neo/ui/RegExp.cpp:177–184  ·  view source on GitHub ↗

================= idRegister::WriteToDemoFile ================= */

Source from the content-addressed store, hash-verified

175=================
176*/
177void idRegister::WriteToDemoFile( idDemoFile *f ) {
178 f->WriteBool( enabled );
179 f->WriteShort( type );
180 f->WriteInt( regCount );
181 for (int i = 0; i < 4; i++)
182 f->WriteUnsignedShort( regs[i] );
183 f->WriteHashString( name );
184}
185
186/*
187=================

Callers

nothing calls this directly

Calls 6

WriteUnsignedShortMethod · 0.80
WriteHashStringMethod · 0.80
WriteBoolMethod · 0.45
WriteShortMethod · 0.45
WriteIntMethod · 0.45
NumMethod · 0.45

Tested by

no test coverage detected