16 #ifndef ADDON_VALIDATION_HPP_INCLUDED
17 #define ADDON_VALIDATION_HPP_INCLUDED
ADDON_TYPE get_addon_type(const std::string &str)
ADDON_TYPE
Values used for add-on classification; UI-only at the moment, in the future it could be used for dire...
an add-on that fits in no other category
bool addon_name_legal(const std::string &name)
Checks whether an add-on id/name is legal or not.
GLuint GLuint GLsizei GLenum type
bool needs_escaping(char c)
const unsigned short default_campaignd_port
Default port number for the addon server.
std::string encode_binary(const std::string &str)
bool check_names_legal(const config &dir)
Probes an add-on archive for illegal names.
std::string get_addon_type_string(ADDON_TYPE type)
Modification of the game for MP.
Miscellaneous content/media (unit packs, terrain packs, music packs, etc.).
Multiplayer plain (no WML) map pack.
GLuint const GLchar * name
std::string unencode_binary(const std::string &str)
A config object defines a single node in a WML file, with access to child nodes.
bool addon_filename_legal(const std::string &name)
Checks whether an add-on file name is legal or not.
GLsizei const GLcharARB ** string