]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/items/spawning.qh
Add g_powerups_dropondeath setting (off by default, whitelisted)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / items / spawning.qh
index b52449e7158dffab62269d6b17d32a6a7cdcc439..f4bd32e7b87adda20e0c679c29430b719c87fa20 100644 (file)
@@ -12,6 +12,12 @@ bool startitem_failed;
 /// found.
 entity Item_FindDefinition(string class_name);
 
+/// \brief Returns the item definition corresponding to the given internal name.
+/// \param[in] item_name Internal netname to search for.
+/// \return Item definition corresponding to the given internal name or NULL is not
+/// found.
+entity Item_DefinitionFromInternalName(string item_name);
+
 /// \brief Checks whether the items with the specified class name are allowed to
 /// spawn.
 /// \param[in] class_name Item class name to check.