From: TimePath Date: Sun, 27 Sep 2015 07:08:51 +0000 (+1000) Subject: Guide: Load turrets X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=04259d2db6a2b86a89ac4086f74f6f80dbb23540;p=xonotic%2Fxonotic-data.pk3dir.git Guide: Load turrets --- diff --git a/qcsrc/menu/progs.inc b/qcsrc/menu/progs.inc index 45c52c8c02..6739feaf95 100644 --- a/qcsrc/menu/progs.inc +++ b/qcsrc/menu/progs.inc @@ -23,6 +23,7 @@ #include "../common/items/all.qc" #include "../common/monsters/all.qc" #include "../common/mutators/all.qc" +#include "../common/turrets/all.qc" #include "../common/vehicles/all.qc" #include "../common/weapons/all.qc" diff --git a/qcsrc/menu/xonotic/dialog_media_guide.qc b/qcsrc/menu/xonotic/dialog_media_guide.qc index 28432c7af5..e36fc99579 100644 --- a/qcsrc/menu/xonotic/dialog_media_guide.qc +++ b/qcsrc/menu/xonotic/dialog_media_guide.qc @@ -10,7 +10,7 @@ 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(TurretSource), _("Turrets"), "gametype_as") \ X(NEW(MutatorSource), _("Mutators"), "gametype_nb") \ X(NEW(MapSource), _("Maps"), "gametype_ctf") \ if (cvar("developer")) X(NEW(DebugSource), _("Debug"), "gametype_ons") \ @@ -107,6 +107,9 @@ REGISTRY_SOURCE(MonsterSource, monster_info, MON_COUNT) #include "../../common/vehicles/all.qh" REGISTRY_SOURCE(VehicleSource, vehicle_info, VEH_COUNT) +#include "../../common/turrets/all.qh" +REGISTRY_SOURCE(TurretSource, turret_info, TUR_COUNT) + #include "../../common/mutators/base.qh" REGISTRY_SOURCE(MutatorSource, MUTATORS, MUTATORS_COUNT)