diff --git a/source/glest_game/graphics/renderer.cpp b/source/glest_game/graphics/renderer.cpp index 122e9edf2..803a4949d 100644 --- a/source/glest_game/graphics/renderer.cpp +++ b/source/glest_game/graphics/renderer.cpp @@ -861,7 +861,8 @@ void Renderer::RenderConsoleLine(int lineIndex, int xPosition, const ConsoleLine } //printf("playerName [%s], line [%s]\n",playerName.c_str(),line.c_str()); - string headerLine = "*" + playerName + ":"; + //string headerLine = "*" + playerName + ":"; + string headerLine = playerName + ":"; renderTextShadow( headerLine, @@ -870,7 +871,7 @@ void Renderer::RenderConsoleLine(int lineIndex, int xPosition, const ConsoleLine xPosition, lineIndex * 20 + 20); fontColor = defaultFontColor; - xPosition += (7 * (playerName.length() + 2)); + xPosition += (8 * (playerName.length() + 2)); } } else { diff --git a/source/glest_game/graphics/renderer.h b/source/glest_game/graphics/renderer.h index 46045b939..9345600dd 100644 --- a/source/glest_game/graphics/renderer.h +++ b/source/glest_game/graphics/renderer.h @@ -232,7 +232,7 @@ private: float waterAnim; bool allowRenderUnitTitles; - std::vector > renderUnitTitleList; + //std::vector > renderUnitTitleList; std::vector visibleFrameUnitList; bool no2DMouseRendering; diff --git a/source/glest_game/menu/menu_state_connected_game.cpp b/source/glest_game/menu/menu_state_connected_game.cpp index c137ce2a0..84ad6ce27 100644 --- a/source/glest_game/menu/menu_state_connected_game.cpp +++ b/source/glest_game/menu/menu_state_connected_game.cpp @@ -550,8 +550,8 @@ void MenuStateConnectedGame::render() { renderer.renderLabel(&labelPlayers[i],&playerColor); // Blend the color with white so make it more readable - Vec4f newColor(1.f, 1.f, 1.f, 0.57f); - renderer.renderLabel(&labelPlayers[i],&newColor); + //Vec4f newColor(1.f, 1.f, 1.f, 0.57f); + //renderer.renderLabel(&labelPlayers[i],&newColor); //int quadWidth = labelPlayerNames[i].getX() - labelPlayers[i].getX() - 5; //renderer.renderTextureQuad(labelPlayers[i].getX(), labelPlayers[i].getY(), quadWidth, labelPlayers[i].getH(), crcPlayerTextureCache[i],1.0f,&playerColor); diff --git a/source/glest_game/menu/menu_state_custom_game.cpp b/source/glest_game/menu/menu_state_custom_game.cpp index 3e05fab82..874208065 100644 --- a/source/glest_game/menu/menu_state_custom_game.cpp +++ b/source/glest_game/menu/menu_state_custom_game.cpp @@ -1147,8 +1147,8 @@ void MenuStateCustomGame::render() { renderer.renderLabel(&labelPlayers[i],&playerColor); // Blend the color with white so make it more readable - Vec4f newColor(1.f, 1.f, 1.f, 0.57f); - renderer.renderLabel(&labelPlayers[i],&newColor); + //Vec4f newColor(1.f, 1.f, 1.f, 0.57f); + //renderer.renderLabel(&labelPlayers[i],&newColor); //int quadWidth = labelPlayerNames[i].getX() - labelPlayers[i].getX() - 5; //renderer.renderTextureQuad(labelPlayers[i].getX(), labelPlayers[i].getY(), quadWidth, labelPlayers[i].getH(), crcPlayerTextureCache[i],1.0f,&playerColor);