changement de la grosseur du texte
les touches K et L pour faire afficher du texte
This commit is contained in:
parent
432b8545a7
commit
bf164af23b
@ -20,8 +20,8 @@
|
|||||||
#define SRV_ADDR "127.0.0.1"
|
#define SRV_ADDR "127.0.0.1"
|
||||||
#define COUNTDOWN 300
|
#define COUNTDOWN 300
|
||||||
|
|
||||||
#define BASE_WIDTH 640
|
#define BASE_WIDTH 1920
|
||||||
#define BASE_HEIGHT 480
|
#define BASE_HEIGHT 1080
|
||||||
|
|
||||||
#define TEXTURE_PATH "./media/textures/"
|
#define TEXTURE_PATH "./media/textures/"
|
||||||
#define SHADER_PATH "./media/shaders/"
|
#define SHADER_PATH "./media/shaders/"
|
||||||
|
@ -163,7 +163,7 @@ void Engine::DisplayNotification(std::string message) {
|
|||||||
// Add a method to process the notification queue
|
// Add a method to process the notification queue
|
||||||
void Engine::ProcessNotificationQueue() {
|
void Engine::ProcessNotificationQueue() {
|
||||||
m_textureFont.Bind();
|
m_textureFont.Bind();
|
||||||
float scale = GetScale() / 2.0f;
|
float scale = GetScale();
|
||||||
unsigned int xOffset = Width() - Width() * 0.26;
|
unsigned int xOffset = Width() - Width() * 0.26;
|
||||||
unsigned int yOffset = Height() - (Height() / 2.2);
|
unsigned int yOffset = Height() - (Height() / 2.2);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user