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:23] – [HudSetShowToEveryone] korshun | functions:hudlib [2016/10/16 13:25] – 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 34: | Line 51: | ||
Controls whether the statusbar area should be included into the virtual screen. This corresponds to the third parameter of '' | Controls whether the statusbar area should be included into the virtual screen. This corresponds to the third parameter of '' | ||
+ | |||
+ | ===== Widescreen support ===== | ||
+ | |||
===== 2D positioning ===== | ===== 2D positioning ===== |