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
| 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 |
| 2397 | void 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 |
| 2403 | int GetRandomExplosion(float size) { |
| 2404 | if (size > EXTRA_EXPLOSION_THRESHOLD) |
nothing calls this directly
no test coverage detected