ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:hud_library

Differences

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

Link to this comparison view

Last revisionBoth sides next revision
new:hud_library [2018/02/20 17:17] – created korshunnew:hud_library [2018/02/20 17:20] korshun
Line 3: Line 3:
 ===== Pipeline ===== ===== Pipeline =====
  
-  - If text message: +  - Call [[zdoom>SetFont]]
-    - Compute text-only flags (''TextTypeOn'', ''LogMessage'', ''TextColorIsString'', ''TextWordWrap'')  +    - If text message: call SetFont with current font 
-    - Call [[zdoom>SetFont]] with current font (''Font'') +    - If image message: call SetFont with the chosen image
-  - If image message: +
-    - Call [[zdoom>SetFont]] with the chosen image +
-  - Abort if scale is 0+
   - If 3D HudMessage:   - If 3D HudMessage:
-    - Rotate target point to camera space (''Camera'', ''Point3D''+    - Project target point onto the screen 
-    - Abort if point is behind the camera +    - Compute scale factor from distance if ''AutoDistanceScale'' is enabled 
-    - Project the point on screen +  - Call [[zdoom>SetHudSize]] to scale the message, taking ''VirtualSize'' and ''Scale'' into account 
-    - Compute scale factor from distance if this setting is enabled (''AutoDistanceScale'') +  - Finally call [[zdoom>HudMessage]] or [[zdoom>HudMessageBold]]
-  - Call [[zdoom>SetHudSize]] to implement scaling (''VirtualSize''''Scale''+
-  - Compute flags: +
-    - Compute visibilty flags (''ShowIn3DView'', ''ShowOnFullAutomap'', ''ShowOnOverlayAutomap''+
-    - Compute blending flags (''BlendStyle'', ''Alpha''+
-    - Compute alignment flags (''Alignment'') +
-  - Finally call [[zdoom>HudMessage]] or [[zdoom>HudMessageBold]] (''StayTime'', ''AppearTime'', ''DisappearTime'')+
new/hud_library.txt · Last modified: 2018/02/20 18:16 by korshun