]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add mutators to guide
authorTimePath <andrew.hardaker1995@gmail.com>
Mon, 31 Aug 2015 06:57:25 +0000 (16:57 +1000)
committerTimePath <andrew.hardaker1995@gmail.com>
Mon, 31 Aug 2015 06:57:25 +0000 (16:57 +1000)
qcsrc/menu/xonotic/dialog_media_guide.qc

index 6e7ce584f6174bcf47b70403a6b8e585edcca5c8..28432c7af5435e27d7681ae1acf4f5d5bbca74e5 100644 (file)
@@ -10,6 +10,8 @@
     X(NEW(NadeSource),      _("Nades"),     "gametype_ft") \
     X(NEW(MonsterSource),   _("Monsters"),  "gametype_lms") \
     X(NEW(VehicleSource),   _("Vehicles"),  "gametype_rc") \
+    X(NEW(VehicleSource),   _("Turrets"),   "gametype_as") \
+    X(NEW(MutatorSource),   _("Mutators"),  "gametype_nb") \
     X(NEW(MapSource),       _("Maps"),      "gametype_ctf") \
     if (cvar("developer")) X(NEW(DebugSource), _("Debug"), "gametype_ons") \
     /**/
@@ -105,6 +107,9 @@ REGISTRY_SOURCE(MonsterSource, monster_info, MON_COUNT)
 #include "../../common/vehicles/all.qh"
 REGISTRY_SOURCE(VehicleSource, vehicle_info, VEH_COUNT)
 
+#include "../../common/mutators/base.qh"
+REGISTRY_SOURCE(MutatorSource, MUTATORS, MUTATORS_COUNT)
+
 CLASS(MapSource, DataSource)
     METHOD(MapSource, getEntry, entity(int i, void(string, string) returns)) {
         if (!MapInfo_Get_ByID(i)) return DataSource_false;