public static void SetChar(char c, int x, int y, Utils.TextFlag flags = 0) { if (x < 0 || y < 0 || x >= Eight.WindowWidth || y >= Eight.WindowHeight) { return; } var point = Utils.ToULong(c, ForegroundColor, BackgroundColor); Display.TextGrid[x + y * Eight.WindowWidth] = point; Display.TextFlags[x + y * Eight.WindowWidth] = (byte)((byte)flags & ~(1 << 8)); DrawChar(c, x, y, ForegroundColor, BackgroundColor); }
public static void SetFlags(Utils.TextFlag flags, int x, int y) { Display.TextFlags[x + y * Eight.WindowWidth] = (byte)flags; }