From: TimePath Date: Mon, 31 Aug 2015 06:57:25 +0000 (+1000) Subject: Add mutators to guide X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=35bf2f4d729932e9be0df873646d4147eeac395b;p=xonotic%2Fxonotic-data.pk3dir.git Add mutators to guide --- diff --git a/qcsrc/menu/xonotic/dialog_media_guide.qc b/qcsrc/menu/xonotic/dialog_media_guide.qc index 6e7ce584f6..28432c7af5 100644 --- a/qcsrc/menu/xonotic/dialog_media_guide.qc +++ b/qcsrc/menu/xonotic/dialog_media_guide.qc @@ -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;