ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:hudpushstate

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
functions:hudpushstate [2017/04/17 19:39] korshunfunctions:hudpushstate [2017/04/17 19:41] (current) korshun
Line 1: Line 1:
 ====== HudPushState ====== ====== HudPushState ======
 {{tag>hud_library}} {{tag>hud_library}}
-''void HudResetState()''+''void HudPushState()''
  
 [[:HUD Library|This is a HUD Library function.]] [[:HUD Library|This is a HUD Library function.]]
Line 8: Line 8:
 Saves current [[:HUD library state]] to [[:HUD Library#state_stack|state stack]].  Saves current [[:HUD library state]] to [[:HUD Library#state_stack|state stack]]. 
  
-If the stack is full, a [[ProgramError]] is emitted.+If the stack is full, a [[LimitError]] is emitted.
  
 <note warning>Do not forget to call [[HudPopState]]. Otherwise the stack may fill up.</note> <note warning>Do not forget to call [[HudPopState]]. Otherwise the stack may fill up.</note>
functions/hudpushstate.1492447189.txt.gz · Last modified: 2017/04/17 19:39 by korshun