Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#6095: don't create menu items for unsupported game features
The menu.xml allows a new "gamefeature" attribute to be applied to a <menuItem> node. If present, this feature will be looked up in the current game using the hasFeature() method, and the menu item will not be created if the feature is not present. This is used to hide the "Make Structural" and "Make Detail" menu items for games which are not Quake 3.
- Loading branch information
Matthew Mott
committed
Sep 20, 2022
1 parent
bb8c3bd
commit 7862067
Showing
5 changed files
with
84 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters