support passing the home path to q3map2 as -fs_home (home dir only, ends with /. to request a dotdir name) and -fs_homepath (full path, including /.gamename)

This commit is contained in:
Rudolf Polzer
2011-05-01 18:49:33 +02:00
parent 410909df7d
commit f2ba0cbb0a
3 changed files with 14 additions and 4 deletions

View File

@@ -171,6 +171,7 @@ void bsp_init()
build_set_variable("RadiantPath", AppPath_get());
build_set_variable("ExecutableType", RADIANT_EXECUTABLE);
build_set_variable("EnginePath", EnginePath_get());
build_set_variable("UserEnginePath", g_qeglobals.m_userEnginePath.c_str());
build_set_variable("MonitorAddress", (g_WatchBSP_Enabled) ? "127.0.0.1:39000" : "");
build_set_variable("GameName", gamename_get());