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

Function DrawAlphaEvent

Descent3/fireball.cpp:2397–2401  ·  view source on GitHub ↗

An event handler that simply draws an alpha blended poly on top of the screen Takes a 4 element array of floats int r,g,b,a format

Source from the content-addressed store, hash-verified

2395// An event handler that simply draws an alpha blended poly on top of the screen
2396// Takes a 4 element array of floats int r,g,b,a format
2397void DrawAlphaEvent(int eventnum, void *data) {
2398 float *vals = (float *)data;
2399
2400 DrawAlphaBlendedScreen(vals[0], vals[1], vals[2], vals[3]);
2401}
2402// Returns a random explosion based on the explosion size
2403int GetRandomExplosion(float size) {
2404 if (size > EXTRA_EXPLOSION_THRESHOLD)

Callers

nothing calls this directly

Calls 1

DrawAlphaBlendedScreenFunction · 0.85

Tested by

no test coverage detected