ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


hud_library

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
hud_library [2017/04/18 16:26] korshunhud_library [2017/04/18 16:27] korshun
Line 40: Line 40:
 HudResetState(); HudResetState();
 HudSetPoint3D(x, y, z); HudSetPoint3D(x, y, z);
-HudSetCameraActor(0);+HudSetCameraActor(0); // Set HUD Library camera to match the activator
 HudDrawText(1, "Look here!") HudDrawText(1, "Look here!")
 </code> </code>
Line 49: Line 49:
  
 ===== State operations ===== ===== State operations =====
-The whole [[HUD Library state]] can be reset to default using [[functions:HudResetState]]. It can be saved and loaded using [[functions:HudPushState]] and [[functions:HudLoadState]] to a stack. The stack's maximum size is defined in [[ACSUtils_configuration#ACSUTILS_HUDLIB_SAVEDSTATES|ACSUTILS_HUDLIB_SAVEDSTATES]] ACSUtils setting. The stack can be cleared using [[functions:HudClearStateStack]].+The whole [[HUD Library state]] can be reset to default using [[functions:HudResetState]]. It can be saved and loaded using [[functions:HudPushState]] and [[functions:HudPopState]] to a stack. The stack's maximum size is defined in [[ACSUtils_configuration#ACSUTILS_HUDLIB_SAVEDSTATES|ACSUTILS_HUDLIB_SAVEDSTATES]] ACSUtils setting. The stack can be cleared using [[functions:HudClearStateStack]].
hud_library.txt · Last modified: 2017/07/09 14:26 by korshun