- made AActor::alpha a floating point value
- replaced some uses of FRACUNIT with OPAQUE when it was about translucency. - simplified some overly complicated translucency multiplications in the SBARINFO code.
This commit is contained in:
parent
b29058c1ab
commit
4e60ea0252
50 changed files with 235 additions and 216 deletions
|
|
@ -87,10 +87,10 @@ void P_TranslateLineDef (line_t *ld, maplinedef_t *mld, int lineindexforid)
|
|||
passthrough = true;
|
||||
break;
|
||||
case -2:
|
||||
ld->Alpha = FRACUNIT*3/4;
|
||||
ld->Alpha = TRANSLUC75;
|
||||
break;
|
||||
case -3:
|
||||
ld->Alpha = FRACUNIT / 4;
|
||||
ld->Alpha = TRANSLUC25;
|
||||
break;
|
||||
default:
|
||||
newflags |= LineFlagTranslations[i].newvalue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue