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

Function AppendToken

neo/renderer/Image_program.cpp:341–347  ·  view source on GitHub ↗

=================== AppendToken =================== */

Source from the content-addressed store, hash-verified

339===================
340*/
341static void AppendToken( idToken &token ) {
342 // add a leading space if not at the beginning
343 if ( parseBuffer[0] ) {
344 idStr::Append( parseBuffer, MAX_IMAGE_NAME, " " );
345 }
346 idStr::Append( parseBuffer, MAX_IMAGE_NAME, token.c_str() );
347}
348
349/*
350===================

Callers 1

R_ParseImageProgram_rFunction · 0.85

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected