// editor builtin VFS
StringOutputStream editorGamePath( 256 );
- editorGamePath << GlobalRadiant().getAppPath() << DEFAULT_EDITORVFS_DIRNAME;
+ editorGamePath << GlobalRadiant().getDataPath() << DEFAULT_EDITORVFS_DIRNAME;
GlobalFileSystem().initDirectory( editorGamePath.c_str() );
// if we have a mod dir
void bsp_init(){
build_set_variable( "RadiantPath", AppPath_get() );
+
+ #if GDEF_OS_WINDOWS
build_set_variable( "ExecutableType", RADIANT_EXECUTABLE );
+ #endif // GDEF_OS_WINDOWS
+
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" : "" );