From: <ja...@us...> - 2007-07-22 23:48:15
|
Revision: 11128 http://svn.sourceforge.net/vegastrike/?rev=11128&view=rev Author: jacks Date: 2007-07-22 16:48:18 -0700 (Sun, 22 Jul 2007) Log Message: ----------- remove XXX* tags as intended. Modified Paths: -------------- branches/vegastrike_4_4/vegastrike/src/cmd/base_interface.cpp Modified: branches/vegastrike_4_4/vegastrike/src/cmd/base_interface.cpp =================================================================== --- branches/vegastrike_4_4/vegastrike/src/cmd/base_interface.cpp 2007-07-22 23:36:03 UTC (rev 11127) +++ branches/vegastrike_4_4/vegastrike/src/cmd/base_interface.cpp 2007-07-22 23:48:18 UTC (rev 11128) @@ -273,7 +273,9 @@ } text_marker.col = GFXColor(text_color_r, text_color_g, text_color_b, links[i]->alpha); text_marker.SetPos(text_pos_x, text_pos_y); - text_marker.Draw(); + if(text_marker.GetText().find("XXX")!=0){ + text_marker.Draw(); + } GFXEnable(TEXTURE0); } // if draw_text } @@ -1265,8 +1267,9 @@ } othtext.SetPos(-.99,1); // GFXColor4f(0,.5,1,1); - if (othtext.GetText().length()!=0) - othtext.Draw(); + if (othtext.GetText().length()!=0&&othtext.GetText().find("XXX")!=0){ + othtext.Draw(); + } SetupViewport(); EndGUIFrame (drawlinkcursor); glViewport (0, 0, g_game.x_resolution,g_game.y_resolution); |