mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-15 09:11:55 +00:00
42 lines
1.1 KiB
C
42 lines
1.1 KiB
C
|
#ifndef RENDERINGCONST_H
|
||
|
#define RENDERINGCONST_H
|
||
|
|
||
|
// Rendering constants
|
||
|
enum
|
||
|
{
|
||
|
kRenderNormal, // src
|
||
|
kRenderTransColor, // c*a+dest*(1-a)
|
||
|
kRenderTransTexture, // src*a+dest*(1-a)
|
||
|
kRenderGlow, // src*a+dest -- No Z buffer checks
|
||
|
kRenderTransAlpha, // src*srca+dest*(1-srca)
|
||
|
kRenderTransAdd, // src*a+dest
|
||
|
};
|
||
|
|
||
|
enum
|
||
|
{
|
||
|
kRenderFxNone = 0,
|
||
|
kRenderFxPulseSlow,
|
||
|
kRenderFxPulseFast,
|
||
|
kRenderFxPulseSlowWide,
|
||
|
kRenderFxPulseFastWide,
|
||
|
kRenderFxFadeSlow,
|
||
|
kRenderFxFadeFast,
|
||
|
kRenderFxSolidSlow,
|
||
|
kRenderFxSolidFast,
|
||
|
kRenderFxStrobeSlow,
|
||
|
kRenderFxStrobeFast,
|
||
|
kRenderFxStrobeFaster,
|
||
|
kRenderFxFlickerSlow,
|
||
|
kRenderFxFlickerFast,
|
||
|
kRenderFxNoDissipation,
|
||
|
kRenderFxDistort, // Distort/scale/translate flicker
|
||
|
kRenderFxHologram, // kRenderFxDistort + distance fade
|
||
|
kRenderFxDeadPlayer, // kRenderAmt is the player index
|
||
|
kRenderFxExplode, // Scale up really big!
|
||
|
kRenderFxGlowShell, // Glowing Shell
|
||
|
kRenderFxClampMinScale, // Keep this sprite from getting very small (SPRITES only!)
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|