summaryrefslogtreecommitdiffstats
path: root/src/Render.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-23 17:23:22 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-23 17:23:22 +0200
commitbdf73a67ffd964c37db5a9694424380bfd685c95 (patch)
tree3d313b318623eb7e7c46aed80c10e7fe896a5587 /src/Render.cpp
parent2017-08-20 (diff)
downloadAltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.tar
AltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.tar.gz
AltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.tar.bz2
AltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.tar.lz
AltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.tar.xz
AltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.tar.zst
AltCraft-bdf73a67ffd964c37db5a9694424380bfd685c95.zip
Diffstat (limited to 'src/Render.cpp')
-rw-r--r--src/Render.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Render.cpp b/src/Render.cpp
index 56541e9..7e88068 100644
--- a/src/Render.cpp
+++ b/src/Render.cpp
@@ -49,7 +49,6 @@ void Render::InitGlew() {
glFrontFace(GL_CCW);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
- glLineWidth(3.0);
glCheckError();
}
@@ -185,12 +184,12 @@ void Render::ExecuteRenderLoop() {
listener.RegisterHandler(EventType::ConnectionSuccessfull, [this](EventData eventData) {
auto data = std::get<ConnectionSuccessfullData>(eventData);
- window->setTitle("Connected");
+ window->setTitle("Logging in...");
});
listener.RegisterHandler(EventType::PlayerConnected, [this](EventData eventData) {
auto data = std::get<PlayerConnectedData>(eventData);
- window->setTitle("Joined the game");
+ window->setTitle("Loading terrain...");
world = std::make_unique<RendererWorld>(data.ptr);
});
@@ -212,7 +211,7 @@ void Render::ExecuteRenderLoop() {
});
listener.RegisterHandler(EventType::Connecting, [this](EventData eventData) {
- window->setTitle("Connecting");
+ window->setTitle("Connecting to the server...");
});
while (isRunning) {