mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-29 16:31:43 +00:00
- removed the Polymost renderer.
This commit is contained in:
parent
7debab7ff4
commit
291726cc55
38 changed files with 45 additions and 6621 deletions
|
@ -45,7 +45,6 @@
|
|||
#include "v_font.h"
|
||||
#include "printf.h"
|
||||
#include "v_draw.h"
|
||||
#include "../../glbackend/glbackend.h"
|
||||
|
||||
LookupTableInfo lookups;
|
||||
int numshades;
|
||||
|
@ -419,6 +418,7 @@ void LookupTableInfo::setPaletteTint(int palnum, int r, int g, int b, int sr, in
|
|||
#include "v_2ddrawer.h"
|
||||
|
||||
uint8_t curbasepal;
|
||||
int32_t r_scenebrightness;
|
||||
PalEntry palfadergb;
|
||||
static int32_t tint_blood_r = 0, tint_blood_g = 0, tint_blood_b = 0;
|
||||
glblend_t glblend[MAXBLENDTABS];
|
||||
|
@ -462,17 +462,6 @@ FRenderStyle GetRenderStyle(int blend, int def)
|
|||
return rs;
|
||||
}
|
||||
|
||||
void SetRenderStyleFromBlend(uint8_t enable, uint8_t blend, uint8_t def)
|
||||
{
|
||||
if (!enable)
|
||||
{
|
||||
GLInterface.SetRenderStyle(LegacyRenderStyles[STYLE_Translucent]);
|
||||
return;
|
||||
}
|
||||
auto rs = GetRenderStyle(blend, def);
|
||||
GLInterface.SetRenderStyle(rs);
|
||||
}
|
||||
|
||||
float GetAlphaFromBlend(uint32_t method, uint32_t blend)
|
||||
{
|
||||
return method == DAMETH_TRANS1 || method == DAMETH_TRANS2 ? glblend[blend].def[method - DAMETH_TRANS1].alpha : 1.f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue