MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / weapon_addTexture

Function weapon_addTexture

TheForceEngine/TFE_DarkForces/weapon.cpp:527–533  ·  view source on GitHub ↗

Added for the early GPU renderer. No longer used

Source from the content-addressed store, hash-verified

525
526 // Added for the early GPU renderer. No longer used
527 void weapon_addTexture(TextureInfoList& texList, TextureData* tex)
528 {
529 TextureInfo texInfo = {};
530 texInfo.type = TEXINFO_DF_TEXTURE_DATA;
531 texInfo.texData = tex;
532 texList.push_back(texInfo);
533 }
534
535 // Added for the early GPU renderer. No longer used
536 bool weapon_getTextures(TextureInfoList& texList)

Callers 1

weapon_getTexturesFunction · 0.85

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected