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

Next revision
Previous revision
functions:hudpushstate [2017/04/17 19:37] – created 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.]]
  
 ===== Description ===== ===== Description =====
-Saves current 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 raised.+If the stack is full, a [[LimitError]] is emitted.
  
-<note warning>Do not forget to call [[HudPopState]]. Otherwise the stack may run out of space.</note>+<note warning>Do not forget to call [[HudPopState]]. Otherwise the stack may fill up.</note>
  
  
functions/hudpushstate.1492447062.txt.gz · Last modified: 2017/04/17 19:37 by korshun