This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
new:hud_library [2018/02/20 17:17] – created korshun | new:hud_library [2018/02/20 18:16] (current) – korshun | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Pipeline ===== | ===== Pipeline ===== | ||
- | | + | - Call [[zdoom> |
- | - Compute text-only flags ('' | + | - If text message: call SetFont |
- | | + | - If image message: |
- | - If image message: | + | |
- | - Call [[zdoom>SetFont]] with the chosen image | + | |
- | - Abort if scale is 0 | + | |
- If 3D HudMessage: | - If 3D HudMessage: | ||
- | - Rotate | + | - Project |
- | - Abort if point is behind | + | - Compute scale factor from distance if '' |
- | - Project the point on screen | + | - Call [[zdoom> |
- | - Compute scale factor from distance if this setting is enabled ('' | + | - Finally call [[zdoom> |
- | - Call [[zdoom> | + | |
- | - Compute flags: | + | ===== Settings ===== |
- | - Compute visibilty flags ('' | + | |
- | - Compute blending flags ('' | + | General settings: |
- | - Compute alignment flags ('' | + | * [[HUD coordinate system]] size -- '' |
- | - Finally call [[zdoom> | + | * Position -- '' |
+ | * Scale -- '' | ||
+ | * | ||
+ | Text-only settings: | ||
+ | * Font -- '' | ||
+ | | ||
+ | * Type-on mode -- '' | ||
+ |