ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:hudresetstate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
functions:hudresetstate [2017/04/17 18:12] – created korshunfunctions:hudresetstate [2017/04/17 18:15] korshun
Line 12: Line 12:
 HudSetPoint(320.0, 240.0); HudSetPoint(320.0, 240.0);
 HudDrawText(1, "Hello"); HudDrawText(1, "Hello");
 +</code>
 +
 +This function is not affected by current HUD Library state and doesn't overwrite it:
 +<code>
 +function DrawSomething(void)
 +{
 +    HudPushState();
 +    HudResetState();
 +    ...
 +    HudPopState();
 +}
 </code> </code>
functions/hudresetstate.txt · Last modified: 2017/04/17 19:33 by korshun