]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
rename to toggleFormat
authorRudolf Polzer <divverent@alientrap.org>
Sun, 10 Oct 2010 11:54:01 +0000 (13:54 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 10 Oct 2010 11:54:01 +0000 (13:54 +0200)
radiant/brushmodule.cpp
radiant/brushmodule.h
radiant/map.cpp

index da508c038abbc1e8d2a52f5ac4b84b789e7e77e2..21cec0ee8b8ff385cc766cf8f47e452bc301c128 100644 (file)
@@ -92,10 +92,10 @@ void Brush_registerPreferencesPage()
 
 void Brush_unlatchPreferences()
 {
-       Brush_toggleProjection(0);
+       Brush_toggleFormat(0);
 }
 
-void Brush_toggleProjection(int i)
+void Brush_toggleFormat(int i)
 {
        if(g_showAlternativeTextureProjectionOption)
        {
@@ -105,7 +105,7 @@ void Brush_toggleProjection(int i)
        }
 }
 
-int Brush_toggleProjectionCount()
+int Brush_toggleFormatCount()
 {
        if(g_showAlternativeTextureProjectionOption)
                return 2;
index 4a0e40e7e425ed2feb9a36709911114484480302..ac89a8907adbcacc137b59a3d4710c0e82746789 100644 (file)
@@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 void Brush_clipperColourChanged();
 void Brush_unlatchPreferences();
-int Brush_toggleProjectionCount();
-void Brush_toggleProjection(int i);
+int Brush_toggleFormatCount();
+void Brush_toggleFormat(int i);
 
 #endif
index 86b1123a30c9f63332188d79dc98ce913c302e0a..ece542bb1a25ca6cc6c1b0cff841e36370dbfbd8 100644 (file)
@@ -1046,10 +1046,10 @@ void Map_LoadFile (const char *filename)
     if(format->wrongFormat)
     {
       // try toggling BrushPrimitives
-      for(i = 1; i < Brush_toggleProjectionCount(); ++i)
+      for(i = 1; i < Brush_toggleFormatCount(); ++i)
       {
        Map_Free();
-       Brush_toggleProjection(i);
+       Brush_toggleFormat(i);
        g_map.m_name = filename;
        Map_UpdateTitle(g_map);
        g_map.m_resource = GlobalReferenceCache().capture(g_map.m_name.c_str());