]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Slightly refactor mutators code
authorotta8634 <k9wolf@pm.me>
Wed, 8 Jan 2025 10:13:39 +0000 (18:13 +0800)
committerotta8634 <k9wolf@pm.me>
Wed, 8 Jan 2025 10:13:39 +0000 (18:13 +0800)
commitfe3d08fb798d461f718b1cce083de57064f09534
tree2eb367f62b5e76a641933d5f3606d6779ff09d97
parentb37df80c592164d6aca973b6e4b15dbc6d1df5a4
Slightly refactor mutators code

These changes allow mutators to be properly shown in the guide.
Renamed .m_name to .mutatorname, and added (new) .m_name which would be displayed in the guide.
Allowed use of classes other than Mutator in the Mutators registry, so that m_name, m_icon, and m_color can be stored in such class and then displayed in the guide.
Also removed itemstime and waypointsprites mutators from the guide.
qcsrc/common/mutators/base.qh
qcsrc/common/mutators/mutator/itemstime/itemstime.qc
qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc