X-Git-Url: https://plomlompom.com/repos//%22https:/validator.w3.org/check?a=blobdiff_plain;f=windows.c;h=2aa8499c229346e157b6df1a1ea091d67b165aec;hb=424609f82d15a3aee5987155af094fcae4bc2516;hp=f6bc54e3a1c22a6c6119e9fd9994d5d6a477e9a1;hpb=eb87a0032df063d6a73220f2b5e6f4ff98b7644d;p=plomrogue diff --git a/windows.c b/windows.c index f6bc54e..2aa8499 100644 --- a/windows.c +++ b/windows.c @@ -4,15 +4,15 @@ #include #include "windows.h" -struct yx { +struct yx_uint16 { uint16_t y; uint16_t x; }; struct Corners { - struct yx tl; - struct yx tr; - struct yx bl; - struct yx br; }; + struct yx_uint16 tl; + struct yx_uint16 tr; + struct yx_uint16 bl; + struct yx_uint16 br; }; static void refit_pad (struct WinMeta *); static void place_window (struct WinMeta *, struct Win *);