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

Function loadWeaponTexture

TheForceEngine/TFE_DarkForces/weapon.cpp:551–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549 }
550
551 TextureData* loadWeaponTexture(const char* texName)
552 {
553 TextureData* weaponTex = bitmap_load(texName, 1, POOL_GAME);
554 if (!weaponTex)
555 {
556 TFE_System::logWrite(LOG_ERROR, "Weapon", "Weapon_Startup: %s NOT FOUND.", texName);
557 }
558 return weaponTex;
559 }
560
561 void weapon_setShooting(u32 secondaryFire)
562 {

Callers 2

setWeaponDataFunction · 0.85
weapon_startupFunction · 0.85

Calls 2

bitmap_loadFunction · 0.85
logWriteFunction · 0.85

Tested by

no test coverage detected