mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add activation flags to -writetextmap
This commit is contained in:
parent
283959ac11
commit
f20440984c
1 changed files with 15 additions and 1 deletions
|
|
@ -2219,6 +2219,20 @@ static void P_WriteTextmap(void)
|
|||
fprintf(f, "notbouncy = true;\n");
|
||||
if (wlines[i].flags & ML_TFERLINE)
|
||||
fprintf(f, "transfer = true;\n");
|
||||
if (wlines[i].flags & ML_REPEATSPECIAL)
|
||||
fprintf(f, "repeatspecial = true;\n");
|
||||
if (wlines[i].activation & SPAC_CROSS)
|
||||
fprintf(f, "playercross = true;\n");
|
||||
if (wlines[i].activation & SPAC_CROSSMONSTER)
|
||||
fprintf(f, "monstercross = true;\n");
|
||||
if (wlines[i].activation & SPAC_CROSSMISSILE)
|
||||
fprintf(f, "missilecross = true;\n");
|
||||
if (wlines[i].activation & SPAC_PUSH)
|
||||
fprintf(f, "playerpush = true;\n");
|
||||
if (wlines[i].activation & SPAC_PUSHMONSTER)
|
||||
fprintf(f, "monsterpush = true;\n");
|
||||
if (wlines[i].activation & SPAC_IMPACT)
|
||||
fprintf(f, "impact = true;\n");
|
||||
fprintf(f, "}\n");
|
||||
fprintf(f, "\n");
|
||||
}
|
||||
|
|
@ -2291,7 +2305,7 @@ static void P_WriteTextmap(void)
|
|||
fprintf(f, "rotationfloor = %f;\n", FIXED_TO_FLOAT(AngleFixed(wsectors[i].floorpic_angle)));
|
||||
if (wsectors[i].ceilingpic_angle != 0)
|
||||
fprintf(f, "rotationceiling = %f;\n", FIXED_TO_FLOAT(AngleFixed(wsectors[i].ceilingpic_angle)));
|
||||
if (wsectors[i].extra_colormap)
|
||||
if (wsectors[i].extra_colormap)
|
||||
{
|
||||
INT32 lightcolor = P_RGBAToColor(wsectors[i].extra_colormap->rgba);
|
||||
UINT8 lightalpha = R_GetRgbaA(wsectors[i].extra_colormap->rgba);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue