MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / DrawWeaponRing

Function DrawWeaponRing

Descent3/WeaponFire.cpp:2580–2586  ·  view source on GitHub ↗

Draws a ring for the weapon

Source from the content-addressed store, hash-verified

2578
2579// Draws a ring for the weapon
2580void DrawWeaponRing(object *obj) {
2581 if ((Weapons[obj->id].flags & WF_IMAGE_BITMAP) || (Weapons[obj->id].flags & WF_IMAGE_VCLIP)) {
2582 DrawBlobbyWeaponRing(obj);
2583 return;
2584 } else
2585 DrawPolygonalWeaponRing(obj);
2586}
2587
2588// Draws a weapon
2589void DrawWeaponObject(object *obj) {

Callers 1

DrawWeaponObjectFunction · 0.85

Calls 2

DrawBlobbyWeaponRingFunction · 0.85
DrawPolygonalWeaponRingFunction · 0.85

Tested by

no test coverage detected