cfg: reworked map-specific configs, so they are now located in yapb/conf/maps/*map*.cfg

cmd: fixed handling "yb" & "yapb" command prefixes.
This commit is contained in:
dmitry 2020-06-15 11:28:42 +03:00 committed by jeefo
commit c74d8e91e4
14 changed files with 797 additions and 755 deletions

View file

@ -119,6 +119,9 @@ public:
// load bots difficulty config
void loadDifficultyConfig ();
// loads bots map-specific config
void loadMapSpecificConfig ();
// sets memfile to use engine functions
void setupMemoryFiles ();

View file

@ -171,7 +171,7 @@ public:
bool isDedicated ();
// get stripped down mod name
const char *getModName ();
const char *getRunningModName ();
// get the valid mapname
const char *getMapName ();

View file

@ -1141,6 +1141,8 @@ extern ConVar cv_show_latency;
extern ConVar cv_enable_query_hook;
extern ConVar cv_whose_your_daddy;
extern ConVar cv_chatter_path;
extern ConVar cv_quota;
extern ConVar cv_difficulty;
// execute client command helper
template <typename ...Args> void Bot::issueCommand (const char *fmt, Args &&...args) {