* "Entity Names = Targetnames" option:

also affects Entity List
		moved from View->Show menu to prefs->display->entities
		prompt about restart on change
This commit is contained in:
Garux
2017-08-20 16:42:18 +03:00
parent 56997e1c66
commit caf093f827
5 changed files with 27 additions and 17 deletions

View File

@@ -415,6 +415,10 @@ void Entity_Construct( EGameType gameType ){
GlobalPreferenceSystem().registerPreference( "SI_ShowAngles", BoolImportStringCaller( g_showAngles ), BoolExportStringCaller( g_showAngles ) );
GlobalPreferenceSystem().registerPreference( "LightRadiuses", BoolImportStringCaller( g_lightRadii ), BoolExportStringCaller( g_lightRadii ) );
if( !g_showTargetNames ){
Static<KeyIsName>::instance().m_nameKey = "classname";
}
Entity_InitFilters();
LightType lightType = LIGHTTYPE_DEFAULT;
if ( g_gameType == eGameTypeRTCW ) {