Manipulating the Goldsrc game menu items: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 2: Line 2:
=Constructing the menu items=
=Constructing the menu items=
The sizing and position of the menu items are directly influenced by the {{code|ProportionalBaseWidthHD}} or {{code|ProportionalBaseHeightHD}} parameters from {{path|resource/trackerscheme.res}}, even if {{code|hd_background}} is set to 0 in {{path|[[liblist.gam]]}}.
The sizing and position of the menu items are directly influenced by the {{code|ProportionalBaseWidthHD}} or {{code|ProportionalBaseHeightHD}} parameters from {{path|resource/trackerscheme.res}}, even if {{code|hd_background}} is set to 0 in {{path|[[liblist.gam]]}}.
The spacing between items equals to resolution.Y * MenuItemHeight / ProportionalBaseHeightHD.

Revision as of 07:16, 31 August 2025

Stub

This article or section is a stub. You can help by expanding it.

Constructing the menu items

The sizing and position of the menu items are directly influenced by the ProportionalBaseWidthHD or ProportionalBaseHeightHD parameters from 🖿resource/trackerscheme.res, even if hd_background is set to 0 in 🖿liblist.gam. The spacing between items equals to resolution.Y * MenuItemHeight / ProportionalBaseHeightHD.