From bf164af23b4bb5dd14c6041a35d91ecc42c5fad7 Mon Sep 17 00:00:00 2001 From: Jonathan Trottier Date: Mon, 2 Oct 2023 16:27:41 -0400 Subject: [PATCH] changement de la grosseur du texte les touches K et L pour faire afficher du texte --- SQCSim2021/define.h | 4 ++-- SQCSim2021/engine.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SQCSim2021/define.h b/SQCSim2021/define.h index e946a35..9c4a040 100644 --- a/SQCSim2021/define.h +++ b/SQCSim2021/define.h @@ -20,8 +20,8 @@ #define SRV_ADDR "127.0.0.1" #define COUNTDOWN 300 -#define BASE_WIDTH 640 -#define BASE_HEIGHT 480 +#define BASE_WIDTH 1920 +#define BASE_HEIGHT 1080 #define TEXTURE_PATH "./media/textures/" #define SHADER_PATH "./media/shaders/" diff --git a/SQCSim2021/engine.cpp b/SQCSim2021/engine.cpp index 7836e14..f44eb96 100644 --- a/SQCSim2021/engine.cpp +++ b/SQCSim2021/engine.cpp @@ -163,7 +163,7 @@ void Engine::DisplayNotification(std::string message) { // Add a method to process the notification queue void Engine::ProcessNotificationQueue() { m_textureFont.Bind(); - float scale = GetScale() / 2.0f; + float scale = GetScale(); unsigned int xOffset = Width() - Width() * 0.26; unsigned int yOffset = Height() - (Height() / 2.2);