@@ -8,27 +8,27 @@ Note: There are no longer any fully paletted renderers in GZDoom as of version
8
8
```
9
9
struct Screen
10
10
{
11
- static vararg void DrawChar(Font font, int cr, double x, double y, int character, ...);
12
- static vararg void DrawShape(textureid tex, bool animate, Shape2D s, ...);
13
- static vararg void DrawText(Font font, int cr, double x, double y, string text, ...);
14
- static vararg void DrawTexture(textureid tex, bool animate, double x, double y, ...);
15
-
16
- static void Clear(int left, int top, int right, int bottom, color cr, int palcolor = -1);
17
- static void Dim(color cr, double amount, int x, int y, int w, int h);
18
- static void DrawFrame(int x, int y, int w, int h);
19
- static void DrawLine(int x0, int y0, int x1, int y1, color cr, int alpha = 255);
20
- static void DrawThickLine(int x0, int y0, int x1, int y1, double thickness, color cr, int alpha = 255);
21
-
22
- static double GetAspectRatio();
23
- static int GetHeight();
24
- static int GetWidth();
25
- static color PaletteColor(int index);
26
- static vector2, vector2 VirtualToRealCoords(vector2 pos, vector2 size, vector2 vsize, bool vbottom = false, bool handleaspect = true);
27
-
28
- static void ClearClipRect();
29
- static int, int, int, int GetClipRect();
30
- static int, int, int, int GetViewWindow();
31
- static void SetClipRect(int x, int y, int w, int h);
11
+ static vararg void DrawChar(Font font, int cr, double x, double y, int character, ...);
12
+ static vararg void DrawShape(textureid tex, bool animate, Shape2D s, ...);
13
+ static vararg void DrawText(Font font, int cr, double x, double y, string text, ...);
14
+ static vararg void DrawTexture(textureid tex, bool animate, double x, double y, ...);
15
+
16
+ static void Clear(int left, int top, int right, int bottom, color cr, int palcolor = -1);
17
+ static void Dim(color cr, double amount, int x, int y, int w, int h);
18
+ static void DrawFrame(int x, int y, int w, int h);
19
+ static void DrawLine(int x0, int y0, int x1, int y1, color cr, int alpha = 255);
20
+ static void DrawThickLine(int x0, int y0, int x1, int y1, double thickness, color cr, int alpha = 255);
21
+
22
+ static double GetAspectRatio();
23
+ static int GetHeight();
24
+ static int GetWidth();
25
+ static color PaletteColor(int index);
26
+ static vector2, vector2 VirtualToRealCoords(vector2 pos, vector2 size, vector2 vsize, bool vbottom = false, bool handleaspect = true);
27
+
28
+ static void ClearClipRect();
29
+ static int, int, int, int GetClipRect();
30
+ static int, int, int, int GetViewWindow();
31
+ static void SetClipRect(int x, int y, int w, int h);
32
32
}
33
33
```
34
34
0 commit comments