This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
functions:hudlib [2016/08/10 13:22] – [HudSetVirtualSize] korshun | functions:hudlib [2016/08/10 15:28] – korshun | ||
---|---|---|---|
Line 8: | Line 8: | ||
Only drawing functions change ZDoom' | Only drawing functions change ZDoom' | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | ==== Simple 2D drawing ==== | ||
+ | |||
+ | < | ||
+ | HudSetPoint(320.0, | ||
+ | HudDrawText(1, | ||
+ | </ | ||
+ | |||
+ | ==== Simple 3D drawing ==== | ||
+ | |||
+ | < | ||
+ | HudSetCameraActor(0); | ||
+ | HudSetPoint3D(0.0, | ||
+ | HudDrawText(2, | ||
+ | </ | ||
===== Virtual screen size ===== | ===== Virtual screen size ===== | ||
Line 210: | Line 227: | ||
'' | '' | ||
- | If set to true, the message will be shown to everyone, and not just to the activator. This settings | + | If set to true, the message will be shown to everyone, and not just to the activator. This setting |
==== HudSetLayer ==== | ==== HudSetLayer ==== |