-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#145): Factor out comp_relay's ctrl_type/ctrl_value keyvalue behaviour
- Loading branch information
1 parent
8868c14
commit 295d3fe
Showing
4 changed files
with
32 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@BaseClass = ControlEnables: "A pair of keyvalues for specifying if a comp_ entity is enabled." | ||
[ | ||
ctrl_type[engine](boolean) : "Invert Value?" : 0 | ||
ctrl_type(choices) : "Control Type" : 0 : "Controls how the Control Value is interpreted" = | ||
[ | ||
0 : "Is Enabled?" | ||
1 : "Is Disabled?" | ||
] | ||
ctrl_value(boolean) : "Control Value" : 1 : "Decides whether this entity is enabled. If disabled, the entity has no effect." | ||
] |
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