added a "other" add-on type for those that fit no where else
This commit is contained in:
parent
a1f5eab12d
commit
a8848e1fc2
3 changed files with 6 additions and 1 deletions
|
@ -77,6 +77,8 @@ ADDON_TYPE get_addon_type(const std::string& str)
|
|||
// return ADDON_MOD;
|
||||
// else if (str == "gui")
|
||||
// return ADDON_GUI;
|
||||
else if (str == "other")
|
||||
return ADDON_OTHER;
|
||||
else
|
||||
return ADDON_UNKNOWN;
|
||||
}
|
||||
|
|
|
@ -47,7 +47,8 @@ enum ADDON_TYPE {
|
|||
// NOTE: following two still require proper engine support
|
||||
//ADDON_MOD, // Modification of the game for SP and/or MP.
|
||||
//ADDON_GUI, // GUI add-ons/themes.
|
||||
ADDON_MEDIA /**< Miscellaneous content/media (unit packs, terrain packs, music packs, etc.). */
|
||||
ADDON_MEDIA, /**< Miscellaneous content/media (unit packs, terrain packs, music packs, etc.). */
|
||||
ADDON_OTHER /**< an add-on that fits in no other category */
|
||||
};
|
||||
|
||||
ADDON_TYPE get_addon_type(const std::string& str);
|
||||
|
|
|
@ -416,6 +416,8 @@ namespace {
|
|||
return _("addon_type^MP campaign");
|
||||
case ADDON_MEDIA:
|
||||
return _("addon_type^Resources");
|
||||
case ADDON_OTHER:
|
||||
return _("addon_type^Other");
|
||||
default:
|
||||
return _("addon_type^(unknown)");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue