From 742bf54d61662248f0c16cc88bf72ae3d5396f4f Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Thu, 21 Sep 2023 18:53:06 +0200 Subject: [PATCH] - Continue amb el menu del actor --- source/main.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/source/main.cpp b/source/main.cpp index 2afd7c8..6949d0f 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -197,6 +197,23 @@ bool game::loop() btn_small(369, 70, act->bmp_rect.y, 0, 512); btn_small(386, 70, act->bmp_rect.w, 0, 512); btn_small(403, 70, act->bmp_rect.h, 0, 512); + + draw::print("OFFSET:", 330, 88, 15, 0); + btn_small(386, 85, act->bmp_offset.x, 0, 512); + btn_small(403, 85, act->bmp_offset.y, 0, 512); + + draw::print("POS:", 330, 108, 15, 0); + btn_small(369, 105, act->pos.x, 0, 512); + btn_small(386, 105, act->pos.y, 0, 512); + btn_small(403, 105, act->pos.z, 0, 512); + + draw::print("SIZE:", 330, 123, 15, 0); + btn_small(369, 120, act->size.x, 0, 512); + btn_small(386, 120, act->size.y, 0, 512); + btn_small(403, 120, act->size.z, 0, 512); + + //btn_txt("ORIENT:", 330, 135, "NONE"); + break; } case 2: