diff libmlk-rpg/mlk/rpg/battle-message.c @ 485:3ff1fe64d0cd

core: window -> mlk_window
author David Demelier <markand@malikania.fr>
date Tue, 28 Feb 2023 08:40:35 +0100
parents 773a082f0b91
children f2d3c5a97884
line wrap: on
line diff
--- a/libmlk-rpg/mlk/rpg/battle-message.c	Mon Feb 27 19:47:09 2023 +0100
+++ b/libmlk-rpg/mlk/rpg/battle-message.c	Tue Feb 28 08:40:35 2023 +0100
@@ -48,12 +48,12 @@
 	unsigned int lw = 0, lh = 0;
 
 	/* Prepare message frame. */
-	f.w = window.w / 3;
-	f.h = window.h / 15;
+	f.w = mlk_window.w / 3;
+	f.h = mlk_window.h / 15;
 	f.theme = msg->theme;
 
 	/* Center on top. */
-	align(ALIGN_TOP, &f.x, &f.y, f.w, f.h, 0, 20, window.w, window.h);
+	align(ALIGN_TOP, &f.x, &f.y, f.w, f.h, 0, 20, mlk_window.w, mlk_window.h);
 
 	/* Prepare message label box. */
 	l.text = msg->text;