Linedef Exec 449 Control Text Prompt - beginnings

This commit is contained in:
mazmazz 2018-11-03 05:06:18 -04:00
parent cbcb6a0d6c
commit 63e5cfecff
1 changed files with 23 additions and 0 deletions

View File

@ -3455,6 +3455,29 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
}
break;
case 449: // Control Text Prompt
#if 0
// console player only unless NOCLIMB is set
if ((line->flags & ML_NOCLIMB) || (mo && mo->player && P_IsLocalPlayer(mo->player)))
{
INT32 promptnum = abs(sides[line->sidenum[0]].textureoffset>>FRACBITS);
INT32 pagenum = abs(sides[line->sidenum[0]].rowoffset>>FRACBITS);
INT32 postexectag = (line->sidenum[1] != 0xFFFF) ? abs(sides[line->sidenum[1]].textureoffset>>FRACBITS) : 0;
INT32 closedelay = (line->sidenum[1] != 0xFFFF) ? abs(sides[line->sidenum[1]].rowoffset>>FRACBITS) : 0;
boolean blockcontrols = !(line->flags & ML_BLOCKMONSTERS);
boolean closetextprompt = (line->flags & ML_EFFECT2);
boolean runpostexec = (line->flags & ML_EFFECT1);
boolean freezethinkers = (line->flags & ML_TFERLINE);
// if (closetextprompt && !promptnum)
// P_CloseTextPromptEx(closedelay, runpostexec ? postexectag : 0, mo);
// else
// P_ControlTextPromptEx(promptnum, pagenum, closetextprompt ? closedelay : 0, runpostexec ? postexectag : 0, mo, blockcontrols, freezethinkers);
}
#endif
break;
case 450: // Execute Linedef Executor - for recursion
P_LinedefExecute(line->tag, mo, NULL);
break;